本文介绍了资产目录编译错误 - TDDIstiller实例只能被提取一次的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我有一个我在Xcode中构建的应用程序,事情已经进行了一段时间。但是,我突然收到错误:

So, I have an app that I am building in Xcode, and things have been going pretty well for a while. However, suddenly I am getting the error:

Images.xcassets: error: ERROR: Each TDDistiller instance can be distilled only one time!

所以,有两个问题:

So, two problems:

1)我不知道这意味着什么,谷歌,必应或雅虎也不明白。

1) I have no idea what that means, and neither does Google, Bing, or Yahoo, apparently.

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

2) I have no idea how to fix it. I haven't changed my asset catalog in months, so I don't know what could have introduced this fault.

这是构建的错误日志:

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]:注意:57x57应用程序图标仅适用于针对7.0之前版本的iOS /用户/用户的iPhone应用程序/Documents/Videographer/Videographer/Images.xcassets:./AppIcon.appiconset/[iphone][57x57][2x]:注意:57x57 @ 2x应用程序图标仅适用于针对7.0之前版本的iOS /用户/用户的iPhone应用程序/Documents/Videographer/Videographer/Images.xcassets:./AppIcon.appiconset/[ipad][50x50][1x]:注意:50x50 iPad聚光灯图标仅适用于针对7.0之前的iOS版本的iPad应用/用户/用户/ Documents / Videographer / Videographer / Images.xcassets:./ AppIcon.appiconset / [ipad] [50x50] [2x]:注意:50x50 iPad聚光灯图标仅适用于针对7.0之前版本的iOS /用户/用户/文档的iPad应用/Videographer/Videographer/Images.xcassets:./AppIcon.appiconset/[ipad][72x72][1x]:注意:72x72 app图标仅适用于针对7.0之前的iOS版本的iPad应用程序/Users/user/Documents/Videographer/Videographer/Images.xcassets:./AppIcon.appiconset/[ipad][72x72][2x]:注意:72x72 @ 2x app图标仅适用于针对iOS 7.0之前版本的iOS应用程序* * 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 /用户/用户/库/开发商/ Xcode中/ DerivedData / Videographer-eubeafyfmzewucdlcmfhmdsusjng / Build / Products / Debug-iphonesimulator / Videographer.app / AppIcon57x57.png / Users / user / Library / Developer / X code/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 /用户/用户/库/开发商/ Xcode中/ DerivedData /摄像师-eubeafyfmzewucdlcmfhmdsusjng /编译/产品/调试-iphonesimulator / Videographer.app / AppIcon50x50〜ipad.png /用户/用户/库/开发商/ Xcode中/ DerivedData /摄像师-eubeafyfmzewucdlcmfhmdsusjng /编译/产品/调试 - iphonesimulator/Videographer.app/AppIcon50x50@2x~ipad.png /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-iphonesimulator/Videographer.app/AppIcon72x72~ipad.png /用户/用户/库/开发商/ 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 /用户/用户/图书馆/开发商/ Xcode中/ DerivedData /摄像师-eubeafyfmzewucdlcmfhmdsusjng /编译/产品/调试-iphonesimulator / Videographer.app / Assets.car /用户/用户/库/开发商/ Xcode中/ DerivedData /摄像师-eubeafyfmzewucdlcmfhmdsusjng /编译/中间体/摄像师。 build / Debug-iphonesimulator / Videographer.build / assetcatalog_generated_info.plist

有什么想法吗?我在Xcode 6.1.1中开展针对iOS 8.1的项目。

Any ideas? I am in Xcode 6.1.1 working on a project targeting iOS 8.1.

推荐答案

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

Clearing the DerivedData folder for the project eliminated the error for me.

这篇关于资产目录编译错误 - TDDIstiller实例只能被提取一次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 23:54