简体   繁体   中英

Asset Catalog Compiler Error Xcode 9

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? 错误

删除派生数据,然后清理并运行您的项目。

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM