首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >资产目录编译错误- TDDIstiller实例只能提取一次

资产目录编译错误- TDDIstiller实例只能提取一次
EN

Stack Overflow用户
提问于 2015-01-08 09:56:11
回答 12查看 6.8K关注 0票数 24

因此,我有一个正在用Xcode构建的应用程序,并且已经进行了一段时间了。然而,突然我得到了一个错误:

代码语言:javascript
复制
Images.xcassets: error: ERROR: Each TDDistiller instance can be distilled only one time!

So,两个问题:

1)我不知道这是什么意思,显然,谷歌、必应或雅虎也不知道。

2)我不知道如何修复它。我已经几个月没有更改我的资产目录了,所以我不知道是什么导致了这个错误。

以下是构建的错误日志:

代码语言:javascript
复制
2015-01-07 19:41:57.348 IBCocoaTouchImageCatalogTool[1226:17469] 
BOMStorage BOMStorageNewWithOptionsAndSys(const char *, 
CFDictionaryRef, BomSys *) can't open: 
'/Users/user/Library/Developer/Xcode/DerivedData/Videographer-
eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-
iphonesimulator/Videographer.app/Assets.car' Permission denied  2015-
01-07 19:41:57.349 IBCocoaTouchImageCatalogTool[1226:17469] Error: 
unable to create storage file 
/Users/user/Library/Developer/Xcode/DerivedData/Videographer-
eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-
iphonesimulator/Videographer.app/Assets.car error 'No such file or 
directory' /* com.apple.actool.errors */ 
/Users/user/Documents/Videographer/Videographer/Images.xcassets: 
error: ERROR: Each TDDistiller instance can be distilled only one 
time! /* com.apple.actool.document.notices */ 

/Users/user/Documents/Videographer/Videographer/Images.xcassets:./AppIcon.appiconset/[iphone][57x57][1x]: notice: 57x57 app icons only apply to iPhone apps targeting releases of iOS prior to 7.0 /Users/user/Documents/Videographer/Videographer/Images.xcassets:./AppIcon.appiconset/[iphone][57x57][2x]: notice: 57x57@2x app icons only apply to iPhone apps targeting releases of iOS prior to 7.0 /Users/user/Documents/Videographer/Videographer/Images.xcassets:./AppIcon.appiconset/[ipad][50x50][1x]: notice: 50x50 iPad spotlight icons only apply to iPad apps targeting releases of iOS prior to 7.0 /Users/user/Documents/Videographer/Videographer/Images.xcassets:./AppIcon.appiconset/[ipad][50x50][2x]: notice: 50x50 iPad spotlight icons only apply to iPad apps targeting releases of iOS prior to 7.0 /Users/user/Documents/Videographer/Videographer/Images.xcassets:./AppIcon.appiconset/[ipad][72x72][1x]: notice: 72x72 app icons only apply to iPad apps targeting releases of iOS prior to 7.0 /Users/user/Documents/Videographer/Videographer/Images.xcassets:./AppIcon.appiconset/[ipad][72x72][2x]: notice: 72x72@2x app icons only apply to iPad apps targeting releases of iOS prior to 7.0 /* com.apple.actool.compilation-results */ /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-iphonesimulator/Videographer.app/AppIcon29x29.png /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-iphonesimulator/Videographer.app/AppIcon29x29@2x.png /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-iphonesimulator/Videographer.app/AppIcon40x40@2x.png /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-iphonesimulator/Videographer.app/AppIcon57x57.png /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-iphonesimulator/Videographer.app/AppIcon57x57@2x.png /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-iphonesimulator/Videographer.app/AppIcon60x60@2x.png /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-iphonesimulator/Videographer.app/AppIcon40x40~ipad.png /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-iphonesimulator/Videographer.app/AppIcon50x50~ipad.png /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-iphonesimulator/Videographer.app/AppIcon50x50@2x~ipad.png /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-iphonesimulator/Videographer.app/AppIcon72x72~ipad.png /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-iphonesimulator/Videographer.app/AppIcon72x72@2x~ipad.png /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-iphonesimulator/Videographer.app/AppIcon76x76~ipad.png /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-iphonesimulator/Videographer.app/AppIcon76x76@2x~ipad.png /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-iphonesimulator/Videographer.app/Assets.car /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Intermediates/Videographer.build/Debug-iphonesimulator/Videographer.build/assetcatalog_generated_info.plist

有什么想法吗?我使用的是Xcode6.1.1,正在做一个针对iOS 8.1的项目。

EN

回答 12

Stack Overflow用户

回答已采纳

发布于 2015-01-09 08:39:00

清除项目的DerivedData文件夹消除了我的错误。

票数 31
EN

Stack Overflow用户

发布于 2017-09-28 23:40:09

退出Xcode、退出Simulator、重新打开Xcode并重新运行构建对我来说很有效。我不知道这个错误到底是怎么回事!

票数 8
EN

Stack Overflow用户

发布于 2017-10-28 19:47:13

在我的例子中,可能与CocoaPod有关的一些事情导致用小写的build.创建了我的Build目录然后,蒸馏器在大写的Build目录中查找Asset.car文件,您可以从这部分日志中看到

代码语言:javascript
复制
/Users/user/Library/Developer/Xcode/DerivedData/Videographer-
eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-
iphonesimulator/Videographer.app/Assets.car error 'No such file or 
directory' 

却找不到。通过手动将build目录重命名为Build,我能够解决此错误。但是,我假设这只是一个临时修复,因为无论将目录设置为build,都可能仍然存在。

票数 6
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27831785

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档