Asset Catalog Compiler Error Xcode 9

1.7k views Asked by At

I'm trying to compile my application using Xcode Version 9.0 (9A235) and got error: "Exception Raised during asset import (2)". Reveal in log gives me only this (see picture) no details at all. If I compile the same project in Xcode ersion 8.3.3 (8E3004b) it's just fine. Any clues? Error

3

There are 3 answers

0
Sergey Z On

I have solved issue. My @Command AppIcon set had @ in that name, I suppose from Xcode 9 it has been restricted to use special characters in AppIcon set. I removed it, namet it just Command AppIcon and was abble to compile and run. Anyway, I did not find any notice about it in Apple documentation, so be aware.

2
Deepa Suryawanshi On

Remove derived data and just clean and run your project.

0
brockhampton On

Issue with some of the images in my project. Deleted all images and renamed them to generic names (i.e all characters, no special characters/numbers) and that fixed the issue.