Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Asset Catalog Compile Error - TDDIstiller instance can only be distilled only one time

Tags:

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) I have no idea what that means, and neither does Google, Bing, or Yahoo, apparently.

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.

Here is the error log for the build:

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/[email protected] /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-iphonesimulator/Videographer.app/[email protected] /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/[email protected] /Users/user/Library/Developer/Xcode/DerivedData/Videographer-eubeafyfmzewucdlcmfhmdsusjng/Build/Products/Debug-iphonesimulator/Videographer.app/[email protected] /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

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

like image 530
Merkidemis Avatar asked Jan 08 '15 01:01

Merkidemis


2 Answers

Quitting Xcode, quitting Simulator, re-opening Xcode and re-running the build afresh has worked for me. No idea though what this error is all about!

like image 23
Adil Hussain Avatar answered Sep 20 '22 17:09

Adil Hussain


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

like image 193
Merkidemis Avatar answered Sep 21 '22 17:09

Merkidemis