从归档导出ipa时,Xcode 9崩溃 [英] Xcode 9 crashes while exporting ipa from archive

查看:407
本文介绍了从归档导出ipa时,Xcode 9崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为Xcode 9中的任何项目创建了一个存档。然后我尝试创建一个ipa文件(开发或临时)。我首先尝试导出存档。然后我选择开发或AdHoc分发。 Xcode 9崩溃了。我甚至在app的info.plist中添加了'compile bitcode'选项。我可以在Xcode 8中使用相同的项目创建一个ipa。

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.

错误报告:

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

....


推荐答案

在我的情况下,这是由于Apple许可协议未决导致Xcode的自动配置崩溃。

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

登录 developer.apple.com 并确保您没有许可证更新待定协议。

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

这篇关于从归档导出ipa时,Xcode 9崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆