【问题标题】:xcode 13.1 crash while project loading项目加载时xcode 13.1崩溃
【发布时间】:2021-11-05 14:49:35
【问题描述】:

我正在尝试使用 Xcode 13.1 打开在 Xcode 12 中创建的项目,但我遇到了崩溃。在 Xcode 12 中,它打开时没有问题 Log 如下所示。你能帮助我吗 ?谢谢。

附:我发现问题出在 Info.plist 但无法本地化它

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Xcode [7074]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               13.1 (19466)
Build Info:            IDEFrameworks-19466000000000000~20 (13A1030d)
App Item ID:           497799835
App External ID:       844664792
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2021-11-05 16:39:48.5109 +0200
OS Version:            macOS 12.0.1 (21A559)
Report Version:        12
Anonymous UUID:        D316D717-0D90-660E-6F7F-7597A80EED19


Time Awake Since Boot: 25000 seconds

System Integrity Protection: enabled

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

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

Application Specific Information:
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[__NSArrayM allKeys]: unrecognized selector sent to instance 0x7fef2821dc60

【问题讨论】:

  • 我的问题是 Xcode 13.1 -> 存档 -> 分发应用程序 -> 加载“准备摘要” -> 崩溃它看起来像同一类型的问题。

标签: ios xcode crash


【解决方案1】:

问题确实解决了。在阅读 Info.plist Xcode 13 时,“App Transport Security Settings”键解析确实崩溃了。我将其从 .plist 中删除并手动重新创建了“应用程序传输安全设置”密钥层次结构。奇怪的情况……

【讨论】:

  • 谢谢!从 plist 文件中删除这一行对我有帮助。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2020-01-25
相关资源
最近更新 更多