question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

build commands failed CompileAssetCatalog....Assets.xcassets

See original GitHub issue

Hi, i already try to find the solution in stackoverflow, i already try tns doctors : got no issues

I am trying to build a HelloWorld tutorial with the last Xcode 8.3 and the 2.5.2 tns

The android builds and run fine on windows, but on MacOsx Sierra the build faileds with :

2017-03-28 09:14:28.860 xcodebuild[1015:18817]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/BuildSystem/Runtime/PBXTargetBuildContext.mm:757
Details:  unexpected successful exit code from cancelled command <C0013:'CpResource app':P12>
Object:   <PBXTargetBuildContext: 0x7fca5d40d650>
Method:   -createCommandInvocationRecordFromInvocation:
Thread:   <NSThread: 0x7fca62232b00>{number = 6, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.

** BUILD FAILED **


The following build commands failed:
	CompileAssetCatalog build/emulator/HelloWorld.app HelloWorld/Resources/Assets.xcassets
(1 failure)
Command xcodebuild failed with exit code 65

Then i try the Groceries Sample i got this Build Errors :

** BUILD FAILED **

The following build commands failed:
	CompileStoryboard g/Resources/LaunchScreen.storyboard
	CompileAssetCatalog build/emulator/g.app g/Resources/Assets.xcassets
(2 failures)
Command xcodebuild failed with exit code 65

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
nickmeehancommented, Oct 30, 2018

Even though this thread is really old, I had this same problem and found the necessary solution here.

I had @ characters in the filenames. I removed them and was able to produce a build no problem.

1reaction
nassimus26commented, Mar 28, 2017

It related to the fact that i build on a Shared Virtual Machine Folder (its not considered as real folder), so it cause many issues, its not related to NativeScript , Sorry and Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command CompileAssetCatalog failed with a nonzero exit code
Reinstall xCode** via the App Store; Create a new project, make a compilation directly, then redo one add data in the Assets. BUT...
Read more >
Command CompileAssetCatalog failed with a nonzero exit code
I managed to resolve this by doing a "build clean", removing "DerivedData" folder and re-starting my Mac.
Read more >
Single Size Icons: Solving "Core Data API misuse" and ...
Single Size Icons: Solving "Core Data API misuse" and "Command CompileAssetCatalog failed with a nonzero exit code". ⚡. TLDR: make sure ...
Read more >
Command CompileAssetCatalog failed with a nonzero exit code
Xcode – Command CompileAssetCatalog failed with a nonzero exit code. buildcompiler-errorsxcode. Running Xcode 10 and can not ... Assets.xcassets Command
Read more >
Command CompileAssetCatalog failed with a nonzero exit code
Build and Run. FWIW I also had to fix permissions elsewhere: Error: Failed to create temporary directory: /Library/Developer/Xcode/UserData/IB ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found