Can't archive app: "Command failed due to signal: Abort trap: 6"

I am developing a new update to my app, AnyTrail, using Xcode 7 with Base SDK of iOS 9. But when I try to archive the app, there are warnings like "Ignoring debug info with an invalid version (3)", and error which says ""Command failed due to signal: Abort trap: 6" which prevents me from successfully archiving the app. Why is there this error? Is it because I can't submit updates that have a Base SDK of "iOS 9" when that operating system is still in beta? Or is it an Xcode bug? Thanks!

Answered by Flash_Sheridan in 11115022

Thanks for reporting these two issues; "Ignoring debug info with an invalid version (3)" is bug 21271717, but please file a bug about “Abort trap: 6,” and post the bug number here. If it's an assertion failure, please also post the text of the assertion.

Archive for which reason?

Just curious, are you using Swift 2 with SceneKit by any chance?


If so, please see these discussions:

"Abort trap: 6" error in Swift 2 with Xcode 7 beta-1

Abort trap: 6

I am archiving so that I can upload it to the Organizer to then upload it to iTunes Connect.

I am not using Scene Kit.

Accepted Answer

Thanks for reporting these two issues; "Ignoring debug info with an invalid version (3)" is bug 21271717, but please file a bug about “Abort trap: 6,” and post the bug number here. If it's an assertion failure, please also post the text of the assertion.

If possible, please file a bug for this issue and attach the project which is causing the crash.


If you are unable to attach the full project, please look at the build log and try to determine exactly what command is crashing with the Abort 6 message. If it is the compiler, you should be able to open the source file which is crashing, then use "Product > Perform Action > Preprocess ..." to generate a preprocessed source file which can be attached to the bug and used by us to isolate the crash.

Thanks. It would be best if Apple fixes this bug quickly, because there some really serious bug with AnyTrail app, and I'd like to push the fix to the users as quickly as possible. Thanks! 🙂

>I am archiving so that I can upload it to the Organizer to then upload it to iTunes Connect.

If by that you mean submit to the store, devs are obligated to use only release tools for that process, so Xcode 7 beta is a no-go. Latest release version of Xcode and highest version for building and submitting to the store is v6.3.2

◅▻

Oh thanks, I didn't know this before! 😀

I'm running into these problems as well (Xcode 7.0 beta 5 (7A176x)). I've posted bug 22361025. In our case, while we are using SceneKit, the problems do not seem to be related to SceneKit (I've commented out a large portion of this code, especially the SCNVector3 calls – no effect, still getting "Command failed due to signal: Abort trap: 6" and the compile aborts).

Can't archive app: "Command failed due to signal: Abort trap: 6"
 
 
Q