Xcode 9 在将应用程序上传到 App Store 期间崩溃 [英] Xcode 9 crash during uploading app to App Store
问题描述
在我的项目中,Xcode 9 在上传到 App Store 期间崩溃(或导出到磁盘,没关系).我发现它可能是由 cocoapods 或某种外部框架错误引起的,因为在我其他不使用 cocoapods 的项目中,这个错误不会发生.但是,为什么我在 stackoverflow 上创建了有关它的帖子,问题是是否有人有临时解决方案来解决此问题?
In my project the Xcode 9 crashes during uploading to App Store (or exporting to disk, it does not matter). I have found that it may be caused by cocoapods or some kind of external frameworks bug, because on my other projects which do not use cocoapods this bug does not happen. However why I created post about it here on stackoverflow is the question if anybody has a temporary solution to solve this issue?
不幸的是,不知道 Apple 或 cocapods 何时会修复它...所以...我们将欢迎所有帮助.我已经通过下面的(缩短的)日志向 Apple 报告了这个错误.
Unfortunately it is not known when it will be fixed by Apple or cocapods...so...every help would be welcomed. I have already reported this bug to Apple with the (shortened) log below.
Process: Xcode [7494]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 9.0 (13247)
Build Info: IDEFrameworks-13247000000000000~26
App Item ID: 497799835
App External ID: 823595305
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [7494]
User ID: 501
Date/Time: 2017-09-20 20:04:30.103 +0200
OS Version: Mac OS X 10.12.6 (16G29)
Report Version: 12
Anonymous UUID: 9D0C9FF5-77EB-F94F-67E5-634E39EAE67B
Sleep/Wake UUID: 30F3DB44-C016-4799-AD07-A080AA633DE8
Time Awake Since Boot: 14000 seconds
Time Since Wake: 1500 seconds
System Integrity Protection: enabled
Crashed Thread: 14 Dispatch queue: ConcurrentQueue: -[IDEDistributionPackagingStepViewController viewDidInstall]_block_invoke
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000007fcb5ab5718
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
这篇文章也发布在 Apple 开发者论坛上.
This post was also posted on Apple Developer Forums.
推荐答案
在 Xcode 9
挣扎了很多天之后,尝试了很多东西,包括一些提到的
- 下载并安装
Xcode 8.3.3
(始终保留旧版本,终身学习) - 使用
Xcode 9
将应用存档 - 打开
Xcode 8.3.3
,打开Organizer并提交应用
- Download and install
Xcode 8.3.3
( Always keep the older version, lesson for life ) - Archive the app with
Xcode 9
- Open
Xcode 8.3.3
, open Organizer and submit the app
这有效.祝你好运.
更新: Xcode 9.0.1
和 Xcode 9.1 beta
没有解决问题.
Update: Xcode 9.0.1
and Xcode 9.1 beta
doesn't fix the issue.
这篇关于Xcode 9 在将应用程序上传到 App Store 期间崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!