【发布时间】:2016-01-22 04:15:40
【问题描述】:
我正在尝试使用 Xcode 6.4 导出 iPhone 应用,但收到错误消息:
您的会话已过期。请登录。
当 Xcode 检查开发团队的开发者门户时。
我在Xcode > Preferences > Accounts 中仔细检查了我的凭据,我可以为团队选择“View Details”并按预期查看签名身份和配置文件。我确实尝试选择左下角的小刷新按钮并收到相同的错误:
您的会话已过期。请登录。
我仔细检查了登录到开发者门户,没有问题。
我尝试重新启动 Xcode 并能够选择我的开发团队,但就在构建开始导出时,Xcode 崩溃了。
我确实注意到 Xcode 7.1 已经发布。也许不再支持 Xcode 6.4?
编辑 这是崩溃的堆栈跟踪:
Application Specific Information:
ProductBuildVersion: 6E35b
ASSERTION FAILURE in /SourceCache/DVTFrameworks/DVTFrameworks-7714/DVTFoundation/Portal/DVTDeveloperPortalDatabase.m:3277
Details: (token.team) should not be nil.
Object: <DVTListDevicesOperation>
Method: +operationWithSingleTeamToken:andPlatform:
Thread: <NSThread: 0x7fc67ef94900>{number = 43, name = (null)}
Hints: None
Backtrace:
0 0x0000000105c86fda -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
1 0x00000001049d765f _DVTAssertionHandler (in DVTFoundation)
2 0x00000001049d794e _DVTAssertionFailureHandler (in DVTFoundation)
3 0x00000001048f63ba +[DVTTeamOperationBase operationWithSingleTeamToken:andPlatform:] (in DVTFoundation)
4 0x0000000105f1a301 __75-[IDEDistributionSigningAssetsStepViewController _refreshDevicesFromPortal]_block_invoke (in IDEKit)
5 0x00000001048fedc9 __DVTOperationForBootstrappingTokenWithSingleTeamAndRunDependentOperationCreationBlock_block_invoke (in DVTFoundation)
6 0x000000010484adef -[DVTOperation main] (in DVTFoundation)
7 0x00000001048f339a -[DVTPortalOperation main] (in DVTFoundation)
8 0x000000010487533c -[DVTOperationGroup start] (in DVTFoundation)
9 0x00000001048f32e3 -[DVTPortalOperation start] (in DVTFoundation)
10 0x00007fff90509613 __NSOQSchedule_f (in Foundation)
11 0x00007fff92cabc13 _dispatch_client_callout (in libdispatch.dylib)
12 0x00007fff92caf365 _dispatch_queue_drain (in libdispatch.dylib)
13 0x00007fff92cb0ecc _dispatch_queue_invoke (in libdispatch.dylib)
14 0x00007fff92cae6b7 _dispatch_root_queue_drain (in libdispatch.dylib)
15 0x00007fff92cbcfe4 _dispatch_worker_thread3 (in libdispatch.dylib)
16 0x00007fff99b73a9d _pthread_wqthread (in libsystem_pthread.dylib)
17 0x00007fff99b713dd start_wqthread (in libsystem_pthread.dylib)
abort() called
Application Specific Signatures:
((token.team)) != nil
【问题讨论】:
-
有趣的是 5 分钟前也发生在我身上。顺便说一句,我正在使用 Xcode 7.0.1。
-
这里有同样的问题。昨天工作正常