Xcode 9 GM - 导出并上传到App Store崩溃 [英] Xcode 9 GM - Export and Upload to App Store crashing

查看:556
本文介绍了Xcode 9 GM - 导出并上传到App Store崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将使用ARKit(Unity版)的应用程序上传到iTunes Connect for TestFlight发行版。从 Xcode - > 管理器导出和上传到应用程序商店进程时,我看到崩溃剥夺APPNAME的扩展属性.app。

I'm trying to upload my app that uses ARKit (Unity build) to iTunes Connect for TestFlight distribution. While both exporting and uploading to app store processes from Xcode -> Organizer I see crash on "Stripping extended attributes for APPNAME.app".

我检查了所有bitcode和符号配置的开/关,手动自动签名。我的项目的部署目标是iOS 10,因为无法设置11。
我也尝试了以下来自simillar线程的步骤( https://forums.developer.apple。 com / thread / 83219 )并将App Store 1024图标添加到Images.xcassets。

I checked all configuration of bitcode and symbols on/off, signing automatically, manually. Deployment target of my project is iOS 10, as 11 cannot be set. I also tried following steps from simillar thread (https://forums.developer.apple.com/thread/83219) and added App Store 1024 icon to Images.xcassets.

Xcode崩溃的任何想法?

Any ideas why Xcode is crashing?

崩溃前的屏幕截图:

Screenshot from just before the crash:

崩溃报告:

Process:               Xcode [10862]  
Path:                  /Applications/Xcode-9b6.app/Contents/MacOS/Xcode  
Identifier:            com.apple.dt.Xcode  
Version:               9.0 (13238.4)  
Build Info:            IDEFrameworks-13238004000000000~11  
Code Type:             X86-64 (Native)  
Parent Process:        ??? [1]  
Responsible:           Xcode [10862]  
User ID:               501  


Date/Time:             2017-09-10 14:56:10.196 +0100  
OS Version:            Mac OS X 10.12.6 (16G29)  
Report Version:        12  
Anonymous UUID:        FD8390BC-9E7B-969D-15A2-22A8DBBD050D  




Time Awake Since Boot: 16000 seconds  


System Integrity Protection: enabled  


Crashed Thread:        17  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                 0000000103625000-0000000103627000 [    8K] r-x/rwx SM=COW  /Applications/Xcode-9b6.app/Contents/MacOS/Xcode  


Application Specific Information:  
ProductBuildVersion: 9M214v  


Thread 0:: Dispatch queue: com.apple.main-thread  
0   libsystem_kernel.dylib         0x00007fffbb90634a mach_msg_trap + 10  
1   libsystem_kernel.dylib         0x00007fffbb905797 mach_msg + 55  
2   com.apple.CoreFoundation       0x00007fffa6037434 __CFRunLoopServiceMachPort + 212  
3   com.apple.CoreFoundation       0x00007fffa60368c1 __CFRunLoopRun + 1361  
4   com.apple.CoreFoundation       0x00007fffa6036114 CFRunLoopRunSpecific + 420  
5   com.apple.HIToolbox           0x00007fffa5596ebc RunCurrentEventLoopInMode + 240  
6   com.apple.HIToolbox           0x00007fffa5596cf1 ReceiveNextEventCommon + 432  
7   com.apple.HIToolbox           0x00007fffa5596b26 _BlockUntilNextEventMatchingListInModeWithFilter + 71  
8   com.apple.AppKit               0x00007fffa3b2fa54 _DPSNextEvent + 1120  
9   com.apple.AppKit               0x00007fffa42ab7ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796  
10  com.apple.dt.DVTKit           0x0000000103eb58be -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 390  
11  com.apple.AppKit               0x00007fffa3b243db -[NSApplication run] + 926  
12  com.apple.AppKit               0x00007fffa3aeee0e NSApplicationMain + 1237  
13  libdyld.dylib                 0x00007fffbb7df235 start + 1  






编辑

运行xcodebuild(通过fastlane gym)会产生以下结果:

Running xcodebuild (through fastlane gym) produces the following:

+ xcodebuild -exportArchive -exportOptionsPlist /var/folders/z1/m155xvnn42s7xl7hfw3_8w5w0000gn/T/gym_config20170912-61009-190kutb.plist -archivePath '/Users/wert/Library/Developer/Xcode/Archives/2017-09-12/towerar 2017-09-12 22.06.54.xcarchive' -exportPath /var/folders/z1/m155xvnn42s7xl7hfw3_8w5w0000gn/T/gym_output20170912-61009-42bo6w
2017-09-12 22:09:04.966 xcodebuild[62085:5372649] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/z1/m155xvnn42s7xl7hfw3_8w5w0000gn/T/Unity-iPhone_2017-09-12_22-09-04.966.xcdistributionlogs'.
2017-09-12 22:09:21.584 xcodebuild[62085:5372649] [MT] IDEDistribution: Step failed: <IDEDistributionPackagingStep: 0x7fc3c75f18b0>: <IDEDistributionPackagingStep: 0x7fc3c75f18b0>
2017-09-12 22:09:21.584 xcodebuild[62085:5372649] -[__NSCFString userInfo]: unrecognized selector sent to instance 0x7fc3c74d72f0
** INTERNAL ERROR: Uncaught exception **
Uncaught Exception: -[__NSCFString userInfo]: unrecognized selector sent to instance 0x7fc3c74d72f0
Stack:
0   __exceptionPreprocess (in CoreFoundation)
1   objc_exception_throw (in libobjc.A.dylib)
2   -[NSObject(NSObject) doesNotRecognizeSelector:] (in CoreFoundation)
3   ___forwarding___ (in CoreFoundation)
4   _CF_forwarding_prep_0 (in CoreFoundation)
5   __55-[Xcode3CommandLineBuildTool _distributeArchiveAndExit]_block_invoke (in Xcode3Core)
6   -[Xcode3CommandLineBuildTool _distributeArchiveAndExit] (in Xcode3Core)
7   -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
8  0x0000000104d752af (in xcodebuild)
9   start (in libdyld.dylib)


推荐答案

我必须取消选中所有复选框和我们手动管理签名,然后可以在向导中继续。

I've had to uncheck all checkboxes and use manual managing signing, then it was possible to proceed in the wizard.

这篇关于Xcode 9 GM - 导出并上传到App Store崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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