5

I created an archive for any project in Xcode 9. Then I try to create an ipa file (either development or ad-hoc). I first try to export the archive. Then I select either Development or AdHoc Distribution. The Xcode 9 crashes. I even added 'compile bitcode' option in the app's info.plist. I am able to create an ipa with the same project in Xcode 8.

Bug report :

Process:               Xcode [6854]
Path:                  /Applications/Xcode9.0.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               9.0 (13247)
Build Info:            IDEFrameworks-13247000000000000~26
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [6854]
User ID:               501

Date/Time:             2017-11-07 16:13:32.644 +0530
OS Version:            Mac OS X 10.12.6 (16G29)
Report Version:        12
Anonymous UUID:        E7160691-62F7-DE54-A767-EF456EC37FEC


Time Awake Since Boot: 10000 seconds

System Integrity Protection: enabled

Crashed Thread:        15  Dispatch queue: ConcurrentQueue: -[IDEDistributionPackagingStepViewController viewDidInstall]_block_invoke

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000020
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

VM Regions Near 0x20:
--> 
    __TEXT                 000000010b094000-000000010b096000 [    8K] r-x/rwx SM=COW  /Applications/Xcode9.0.app/Contents/MacOS/Xcode

Application Specific Information:
ProductBuildVersion: 9A235

....
1

4 Answers 4

8

In my case this was due to a pending Apple license agreement that was causing Xcode's automatic provisioning to crash.

Log onto developer.apple.com and make sure you do not have a license update pending agreement.

3
  • 1
    Omfg Apple... Each time I think they won't be able to top it, but they do... Thank you for the tip.
    – glemiere
    Jun 18, 2018 at 17:55
  • 1
    We should make a conference at Apple in CA to sensibilise their dev to the use of try catch and error messages lol
    – glemiere
    Jun 18, 2018 at 17:57
  • Great catch. Thanks Nov 16, 2018 at 12:04
0

Expired provision profile was the cause of this same issue. After renewal, everything is now working.

0

The "Apple Developer Program License Agreement" has been updated.

So I have to accept pending License Agreement.

When I select Manual manage signing and try to download profile then I got following error

enter image description here

-1

Try export with Manually first after that you can comeback with Automatically. I think this one fault when apple server return data for exporting process. It can be reset the process with manually option.

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.