Xcode 8 crashes when validating archive
Originator: | scheisssamsung1 | ||
Number: | rdar://27512626 | Date Originated: | 23-Jul-2016 |
Status: | Duplicate/27493810 | Resolved: | - |
Product: | Xcode | Product Version: | 8.0 Beta 3 |
Classification: | Reproducible: | Always |
Summary: When I try to validate one of my archives in the organizer, Xcode crashes at "Preparing archive". Validating older archives works. The archive I try to validate was built with Xcode 8 beta. Steps to Reproduce: 1. Archive an iOS app with Xcode 8 beta 2. Go to organizer, select the archive and click "Validate" 3. Follow the validation process 4. Xcode crashes at the step "Preparing archive" Expected Results: Xcode should not crash and finish the validation process. Actual Results: Xcode crashes at the step "Preparing archive". BTW: my MacBook gets really hot when trying this multiple times Version: Xcode 8.0 beta 3 (8S174q) macOS Sierra 10.12 Beta (16A239j) Notes: Configuration: Validating app archive built with Xcode Xcode 8.0 beta 3 (8S174q) on MacBook Pro (Retina, 13-inch, Mid 2014)
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
It seems that Xcode Organizer Crashes instead of reporting an Error.
The solution I found was this...
ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'XXXXXXXX.app/XxxxxxXxxxInfo.o' is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure."
This meant that inadvertently a swift file had been added to my Copy Bundle Resources in Build Phases. By removing the swift file it fix the uploading and Xcode8 from crashing.
Hopefully Apple will fix this crash to be an error message (I think they need more unhappy test case flows on store uploading!)
I raised bug 28789433 for this issue