ios - 当我尝试在 iPhone 11 Pro Max(iOS 13.2)上运行应用程序时,Xcode11.1 崩溃
问题描述
我将我的 iPhone 11 Pro Max 从 iOS 13.1.3 升级到 iOS 13.2,然后我尝试在我的 iPhone 上运行应用程序,但每次 Xcode(11.1) 都崩溃了。这是日志:
Process: Xcode [1358]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 11.1 (15405)
Build Info: IDEFrameworks-15405000000000000~13 (11A1027)
App Item ID: 497799835
App External ID: 832925179
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [1358]
User ID: 501
Date/Time: 2019-10-30 16:56:32.317 +0800
OS Version: Mac OS X 10.15.1 (19B88)
Report Version: 12
Bridge OS Version: 4.1 (17P1081)
Anonymous UUID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Time Awake Since Boot: 6100 seconds
System Integrity Protection: enabled
Crashed Thread: 7 Dispatch queue: Mutex to protect _hasPerformedWorkerAction
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 11A1027
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Invalid parameter not satisfying: aString != nil
UserInfo: (null)
Hints:
0: Calling block provided to DVTSyncPerformBlock() here:
0 DVTSyncPerformBlock (in DVTFoundation)
1 -[IDEExecutionRunnableTracker executionWantsHold:withError:] (in IDEFoundation)
2 -[IDERunOperationWorker _startWithRetrying:] (in IDEFoundation)
3 __44-[IDERunOperationWorker _startWithRetrying:]_block_invoke_3 (in IDEFoundation)
4 __48-[DVTDispatchLock_Recursive performLockedBlock:]_block_invoke (in DVTFoundation)
5 _dispatch_client_callout (in libdispatch.dylib)
6 _dispatch_lane_barrier_sync_invoke_and_complete (in libdispatch.dylib)
7 DVTDispatchBarrierSync (in DVTFoundation)
8 -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
9 -[DVTDispatchLock_Recursive performLockedBlock:] (in DVTFoundation)
10 __44-[IDERunOperationWorker _startWithRetrying:]_block_invoke_2 (in IDEFoundation)
11 __DVT_CALLING_CLIENT_BLOCK__ (in DVTFoundation)
12 __DVTDispatchAfter_block_invoke (in DVTFoundation)
13 _dispatch_client_callout (in libdispatch.dylib)
我在另一部 iPhone(iPhone 6s Plus,iOS 13.2)上运行了相同的项目,效果很好……我不知道为什么。我的 iPhone 11 Pro Max 有问题吗?
我该如何解决这个问题...谁能帮助我?谢谢。
解决方案
最后,我能够通过以下方式运行我的 iPhone 11 / iOS 13.3 / Xcode 11.1 ( /Applications/Xcode.app
) 调试:
安装 Xcode 11.3.1 @
/Applications/Xcode11.3.1.app/
复制/Applications/Xcode11.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.2
到/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.2
复制/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.2
到/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.3
这是对 11.3 15E5216a 的相当标准的xcode 设备支持在我的情况下
,仅使用Xcode 11.3.1 中的这个特定 作为“冒名顶替者”就足够了。13.2
13.3
推荐阅读
- apache-spark - 如何使用 SPARK 将 JPG、PDF 文件加载到 HBASE?
- amazon-web-services - AWS RDS - 每天自动创建一个“副本”数据库
- python - Python - Numpy中线和点之间的欧几里得距离
- python - 为什么 pip --version 和 pip3 --version 在同时安装 Python3.7 时默认为 Python3.6?
- python - 如何获取 lxml.etree 的父标签属性,如“KEY”、“NAME”、Python 3.6
- selenium-webdriver - 有没有更好的方法来定位以下 HTML 代码的元素?
- button - Thymeleaf 按钮调用 url 在新选项卡中带有参数
- python - 如何在递归函数中控制函数调用的次数。即递归函数调用自身的次数
- java - 抽象类和非抽象类中的构造函数
- python - 从列表中删除第三个元素,直到少于 3 个数字