Distill failed for unknown reasons (xcode 11 beta 5

Xcode 11.0 beta 5 get this error


My project in xcode 10.3 is work fine.

Accepted Reply

I resolve it by upgrading my os version(10.15 beta2 ->10.15 beta8).

Replies

I am also facing the same issue on Xcode 11 beta 5

Same error here

Same error here 😟

I have the same error and tried all possible solutions. I've doubled-check with ImageOptim and there is no image formatting corrupts in my case, hence when I deleted all files on Assets.xcassets, the project build succeeded for no reason. Do anyone have solutions to this or should we wait for the next update?

The same here, I have multiple xcodes, at beta 5 is not working but works on beta 2.
For testing in xcode beta 5 I did erase the Assets.xcassets and he compiled but without images has no interest.

Same here 😢

I had the same problem on Xcode 11 beta 5 / Catalina beta 5, but stumbled into a fix.


I removed the assets folders from Assets.xcassets, tried to build and run again (got an error because my app icon was gone), then put the folders back into Assets.xcassets. Seems to be working for me now.

Any update? I'm facing the same probem

Where do you get the problem ? On xcassets ?


If so, try to recreate the asset that causes the error.

I see that you have looked here:

https://stackoverflow.com/questions/20580968/xcode-error-distill-failed-for-unknown-reasons

and

https://stackoverflow.com/questions/31505570/error-asset-catalog-compiler-error


And some solution here

https://forums.developer.apple.com/thread/49265

quote : "I've solved the issue: I had a space in the path to my XCode beta, and removing the space solved it. It's apparently a known issue. Leaving the rest of the post up in case anyone else runs into the same issue."

Same issue in Xcode 11 beta 5. I removed my image assets and it compiled. I added a new App Icon asset and it compiled. I added the 1024 app icon and it compiled. I was also able to add all of the iPad icons, but whenever I added an icon for iPhone, I get this error again. If I try to run without iPhone app icons, I get an error that says "This app could not be installed at this time." I want to cry. I will cry.

Does it work with beta 4 with the same iPhone icon ?


If so, just have to file a bug report and wait for beta 6.

zachstegall's problem still exists in Xcode beta 6

Indeed, this distill failed remains in existence in Xcode 11 Beta 6. Gosh!

Surprised apple still hasn't fixed this since so many developers have experienced the issue.

Did you file a bug report ? That's the only channel to notify Apple of the problem.