You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Sonoma14.5下Xcode15.4验证/分发至App Store Connect时崩溃求助

Xcode 15.4 在 Sonoma 14.5 中验证/分发归档时持续崩溃

在 macOS Sonoma 14.5 系统搭配 Xcode 15.4 的环境下,我尝试对归档包进行验证或分发操作时,Xcode 会直接崩溃,且每次操作都会触发该问题。

崩溃触发的具体路径:

  1. 进入 Organizer -> 选择目标 Target -> 点击 Distribute -> 选择 App Store/TestFlight -> 点击 Distribute 或 Cancel -> Xcode 崩溃
  2. 进入 Organizer -> 选择目标 Target -> 点击 Validate -> 选择 Target -> 点击 Validate -> Xcode 崩溃

以下是崩溃日志片段:

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

Termination Reason:    Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process:   Xcode [3146]

Application Specific Information:
abort() called


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib              0x7ff80fe0b14a __pthread_kill + 10
1   libsystem_pthread.dylib             0x7ff80fe43ebd pthread_kill + 262
2   libsystem_c.dylib                   0x7ff80fd69a79 abort + 126
3   libswiftCore.dylib                  0x7ff8207eba6c swift::fatalErrorv(unsigned int, char const*, __va_list_tag*) + 124
4   libswiftCore.dylib                  0x7ff8207ebaeb swift::fatalError(unsigned int, char const*, ...) + 123
5   libswiftCore.dylib                  0x7ff8207ebd28 swift::swift_abortRetainUnowned(void const*) + 40
6   libswiftCore.dylib                  0x7ff8207edfee swift_unownedRetainStrong + 110
7   SwiftUI                             0x7ff91dd36978 0x7ff91c918000 + 21096824
8   SwiftUI                             0x7ff91dd36945 0x7ff91c918000 + 21096773
9   AppKit                              0x7ff813a9e679 -[_NSQuickActionAutovalidationScheduler windowDidUpdate:] + 159
10  CoreFoundation                      0x7ff80ff16710 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 137
11  CoreFoundation                      0x7ff80ffa7136 ___CFXRegistrationPost_block_invoke + 88
12  CoreFoundation                      0x7ff80ffa7080 _CFXRegistrationPost + 532
13  CoreFoundation                      0x7ff80fee602b _CFXNotificationPost + 682
14  Foundation                          0x7ff810e7cd0e -[NSNotificationCenter postNotificationName:object:userInfo:] + 82
15  CoreFoundation                      0x7ff80ff4bc40 -[NSArray makeObjectsPerformSelector:] + 245
16  AppKit                              0x7ff813595192 -[NSApplication(NSWindowCache) _updateWindowsUsingCache] + 118
17  AppKit                              0x7ff8135950eb -[NSApplication updateWindows] + 83
18  AppKit                              0x7ff813a5fb51 __38-[NSApplication setWindowsNeedUpdate:]_block_invoke_2 + 51
19  AppKit                              0x7ff813a64f17 ___NSRunLoopObserverCreateWithHandler_block_invoke + 41
20  CoreFoundation                      0x7ff80ff20586 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
21  CoreFoundation                      0x7ff80ff204aa __CFRunLoopDoObservers + 493
22  CoreFoundation                      0x7ff80ff1fa2c __CFRunLoopRun + 850
23  CoreFoundation                      0x7ff80ff1f112 CFRunLoopRunSpecific + 557
24  HIToolbox                           0x7ff81a938a09 RunCurrentEventLoopInMode + 292
25  HIToolbox                           0x7ff81a938646 ReceiveNextEventCommon + 201
26  HIToolbox                           0x7ff81a938561 _BlockUntilNextEventMatchingListInModeWithFilter + 66
27  AppKit                              0x7ff81358fc61 _DPSNextEvent + 880
28  AppKit                              0x7ff813ea3dc0 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1273
29  DVTKit                                 0x10b7f4914 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 366
30  AppKit                              0x7ff813581075 -[NSApplication run] + 603
31  DVTKit                                 0x10b7f3a0f -[DVTApplication run] + 54
32  AppKit                              0x7ff813554ff3 NSApplicationMain + 816
33  dyld                                0x7ff80fab8366 start + 1942

我已经尝试过以下方案,但均未解决问题:

  • 创建全新Swift项目测试,问题依旧存在
  • 修改Target部署版本,从iOS 12逐步调整至iOS 16及当前系统对应版本
  • 确认Apple Developer账户没有待签署的协议
  • 刷新本地证书与描述文件

这个问题导致我无法向TestFlight部署新版本,也无法导出IPA通过Transporter发布。我尝试降级到Xcode 14,修改CFBundleVersion从21815改为22265后可以启动,但存在登录问题。

有没有其他开发者遇到过相同问题?恳请提供技术解决方案。

内容的提问来源于stack exchange,提问作者Stan Sison

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.23 09:00:08