2

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

Sergey Z
  • 103
  • 11
  • Update. Trying to build using Command Line, got Error: The following build commands failed: CompileAssetCatalog /Users/Someuser/Library/Developer/Xcode/DerivedData/Mutualink_Edge-daukytrejhlkmycaxotehvlctqiu/Build/Products/Debug-iphoneos/atCommand\ Enterprise.app Force-NG/Media/@CommandImages.xcassets (1 failure) – Sergey Z Sep 19 '17 at 19:00
  • Update: I have deleted all icons from @Command AppIcon and was able to compile and run application. All those icons are in .png format. As soon as I have put them back, it fails. – Sergey Z Sep 19 '17 at 22:35

3 Answers3

3

Remove derived data and just clean and run your project.

2

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.

Sergey Z
  • 103
  • 11
0

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.

brockhampton
  • 294
  • 2
  • 8