MAHMOUD OMARA
MAHMOUD OMARA

Reputation: 95

Assets folder error "Distill failed for unknown reasons" Xcode 11

I have updated my Xcode to latest version xcode'11 and get the error "Distill failed for unknown reasons" in my assets folder. what should I do to solve this problem

Upvotes: 1

Views: 1871

Answers (6)

Deepti Raghav
Deepti Raghav

Reputation: 902

I have faced same issue. I solved it by go to the Target/Build Phases / Copy bundle resources Remove Assets.xcassets clean project and again add Assets.xcassets in copy bundle resources then build project.

Upvotes: 1

missionMan
missionMan

Reputation: 903

I had the same problem after upgrade xcode11. MacOS beta upgrade solved my problem.

My currrent versions: XCode 11.2.1 (11B500) and Catalina 10.15.1 (19B88)

You can see here how to install OS beta

Hope to help other users who encounter this problem ...

Upvotes: 0

MAHMOUD OMARA
MAHMOUD OMARA

Reputation: 95

I have solved the problem by installing a clean copy of Catalina.

Upvotes: 0

Dave Levy
Dave Levy

Reputation: 1192

For me it was not enough to update Xcode, I also had to update my Mac OS to Catalina. Everything else did not work.

Upvotes: 0

Munzareen Atique
Munzareen Atique

Reputation: 480

Some of your images are not copied properly Go to Project -> target -> Build Phases -> Copy Bundle Resources and check which file is missing copy the file here and that will work.

Upvotes: 0

Mostafa Sh
Mostafa Sh

Reputation: 102

You might have migrated from a normal project to use an image.catalog. So you can definitely try to copy the bundle resource like launch images. It is so because migrating to an asset catalog for icons and launch images apparently doesn't always add itself to the target automatically.

You can find more on this here & here.

I hope that helps.

reference

Upvotes: 0

Related Questions