【问题标题】:Xcode 6.4 crashes on exporting an archive for Enterprise Deployment. "teamID should be a non-empty string, but it is nil"Xcode 6.4 在为企业部署导出存档时崩溃。 “teamID 应该是一个非空字符串,但它是 nil”
【发布时间】:2016-05-06 03:17:50
【问题描述】:

我想导出我的 Enterprise ipa 进行测试。存档没问题。但是当我选择“使用本地签名资产”并单击“选择”时,Xcode 崩溃了。 当我使用jenkins导出企业版ipa时,可以成功导出ipa,但是在ios上启动时应用程序总是崩溃。 我使用另一台安装相同XCode(相同版本)的mac,我可以导出ipa,一切正常。 我删除了 XCode 6.4,然后再次重新安装 Xcode 6.4,但仍然崩溃。 我的 mac 怎么了?

exporting an archive for Enterprise Deployment

Process:               Xcode [71424]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               6.4 (7720)
Build Info:            IDEFrameworks-7720000000000000~8
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [71424]
User ID:               501

Date/Time:             2015-10-18 10:44:49.695 +0800
OS Version:            Mac OS X 10.10.5 (14F27)
Report Version:        11
Anonymous UUID:        62929F33-AB7D-0C0E-F891-012B8C26B488

Sleep/Wake UUID:       B87FC6FF-87B4-4596-99C5-3CFB366D732A

Time Awake Since Boot: 65000 seconds
Time Since Wake:       2500 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
ProductBuildVersion: 6E35b
ASSERTION FAILURE in /SourceCache/IDEFrameworks/IDEFrameworks-7720/IDEFoundation/Distribution/IDEDistributionProvisioning.m:37
Details:  teamID should be a non-empty string, but it is nil
Object:   <IDEDistributionProvisioning: 0x7fb110a2eaf0>
Method:   -initWithRootDistributionItems:distributionMethod:teamID:codesignableDevicesOrNil:logging:
Thread:   <NSThread: 0x7fb10a641260>{number = 1, name = main}
Hints:   None
Backtrace:
  0  0x000000010f727fda -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
  1  0x000000010e47265f _DVTAssertionHandler (in DVTFoundation)
  2  0x000000010e47294e _DVTAssertionFailureHandler (in DVTFoundation)
  3  0x000000010ef1946c -[IDEDistributionProvisioning initWithRootDistributionItems:distributionMethod:teamID:codesignableDevicesOrNil:logging:] (in IDEFoundation)
  4  0x000000010f9bbe76 __75-[IDEDistributionSigningAssetsStepViewController _locateSigningAssetsAsync]_block_invoke (in IDEKit)
  5  0x00007fff9d3e8323 _dispatch_call_block_and_release (in libdispatch.dylib)
  6  0x00007fff9d3e3c13 _dispatch_client_callout (in libdispatch.dylib)
  7  0x00007fff9d3efcbf _dispatch_main_queue_callback_4CF (in libdispatch.dylib)
  8  0x00007fff9616b3f9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ (in CoreFoundation)
  9  0x00007fff9612668f __CFRunLoopRun (in CoreFoundation)
 10  0x00007fff96125bd8 CFRunLoopRunSpecific (in CoreFoundation)
 11  0x00007fff95b4d56f RunCurrentEventLoopInMode (in HIToolbox)
 12  0x00007fff95b4d2ea ReceiveNextEventCommon (in HIToolbox)
 13  0x00007fff95b4d12b _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
 14  0x00007fff924f68ab _DPSNextEvent (in AppKit)
 15  0x00007fff924f5e58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
 16  0x000000010e9f6aaa -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
 17  0x00007fff924ebaf3 -[NSApplication run] (in AppKit)
 18  0x00007fff92468244 NSApplicationMain (in AppKit)
 19  0x00007fff91e7e5c9 start (in libdyld.dylib)
 20  0x0000000000000001

abort() called

Application Specific Signatures:
(teamID) != nil

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff9b8f5286 __pthread_kill + 10
1   libsystem_c.dylib               0x00007fff95a909b3 abort + 129
2   com.apple.dt.IDEKit             0x000000010f727bc3 +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 1507
3   com.apple.dt.IDEKit             0x000000010f728190 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] + 1169
4   com.apple.dt.DVTFoundation      0x000000010e47265f _DVTAssertionHandler + 367
5   com.apple.dt.DVTFoundation      0x000000010e47294e _DVTAssertionFailureHandler + 407
6   com.apple.dt.IDEFoundation      0x000000010ef1946c -[IDEDistributionProvisioning initWithRootDistributionItems:distributionMethod:teamID:codesignableDevicesOrNil:logging:] + 908
7   com.apple.dt.IDEKit             0x000000010f9bbe76 __75-[IDEDistributionSigningAssetsStepViewController _locateSigningAssetsAsync]_block_invoke + 1717
8   libdispatch.dylib               0x00007fff9d3e8323 _dispatch_call_block_and_release + 12
9   libdispatch.dylib               0x00007fff9d3e3c13 _dispatch_client_callout + 8
10  libdispatch.dylib               0x00007fff9d3efcbf _dispatch_main_queue_callback_4CF + 861
11  com.apple.CoreFoundation        0x00007fff9616b3f9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9

【问题讨论】:

    标签: ios xcode


    【解决方案1】:

    这个问题困扰了我一段时间,我从来没有注意到“teamID 应该是一个非空字符串,但它是 nil”。

    部分解决我的问题的是确保我在目标配置中选择了一个团队。

    我的想法是,我在分发之前不使用签名,我认为我不需要它,但是很好......

    在新构建之后,您不再使 Xcode 崩溃。

    当我尝试下载 dSYMs 符号时,我的崩溃了,所以它与你正在做的有点不同,但它可能会有所帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-02-14
      • 2013-05-14
      • 2020-06-15
      相关资源
      最近更新 更多