ios - 如何修复在 Delphi 中完成的示例应用程序 iOS 在启动后崩溃
问题描述
修复示例应用程序 iOS Delphi 在启动 Delphi 10.4.2 Mac High Sierra 10.13.3 后崩溃
尝试在模拟器 iPhone 6 Plus SDK 9.2 中进行测试
应用程序在 Simulador 中启动,显示启动画面然后崩溃(关闭)
我的日志:
Jun 7 23:26:12 Juans-Mac SpringBoard[469]: could not find icon for representation - com.apple.mobilephone
Jun 7 23:26:12 Juans-Mac SpringBoard[469]: could not find icon for representation - com.apple.mobilemail
Jun 7 23:26:12 Juans-Mac SpringBoard[469]: could not find icon for representation - com.apple.Music
Jun 7 23:26:12 Juans-Mac SpringBoard[469]: Reply Error: Connection interrupted
Jun 7 23:26:13 Juans-Mac CoreSimulatorBridge[475]: Registered for possible future reinstall: (Header, file:///Users/jcgr/PAServer/scratch-dir/jcgr-10/Header.app/, {
CFBundleIdentifier = Header;
PackageType = Developer;
SimulatorRootPath = "/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.2.simruntime/Contents/Resources/RuntimeRoot";
SimulatorUserPath = "/Users/jcgr/Library/Developer/CoreSimulator/Devices/C9BD6E6D-259E-4768-950F-3F670E7F0690/data";
})
Jun 7 23:26:13 Juans-Mac itunesstored[519]: libMobileGestalt MGBasebandSupport.c:60: _CTServerConnectionCopyMobileEquipmentInfo: CommCenter error: 1:45 (Operation not supported)
Jun 7 23:26:13 Juans-Mac itunesstored[519]: Normal message received by listener connection. Ignoring.
Jun 7 23:26:13 Juans-Mac itunesstored[519]: libMobileGestalt MGBasebandSupport.c:189: No CT mobile equipment info dictionary while fetching kCTMobileEquipmentInfoIMEI
Jun 7 23:26:13 Juans-Mac CoreSimulatorBridge[475]: Pasteboard change listener callback port NSMachPort: 0x7fc00bd0fd70 registered
Jun 7 23:26:13 Juans-Mac CoreSimulatorBridge[475]: Requesting launch of Header with options: {
environment = {
};
}
Jun 7 23:26:13 Juans-Mac CoreSimulatorBridge[475]: Beginning launch sequence for bundle 'Header'
retryTimeout: 120.000000 (default write com.apple.CoreSimulatorBridge LaunchRetryTimeout value)
bootTimeout: 300.000000 (default write com.apple.CoreSimulatorBridge BootRetryTimeout value)
bootLeeway: 120.000000 (default write com.apple.CoreSimulatorBridge BootLeeway value)
Note: Use 'xcrun simctl spawn booted defaults write domain key value' to modify defaults in the booted Simulator device.
Simulator booted at: 2021-06-08 02:25:30 +0000
Current time: 2021-06-08 03:26:13 +0000
Within boot leeway: NO
Jun 7 23:26:13 Juans-Mac CoreSimulatorBridge[475]: Launch attempt #0 for bundle 'Header', have been trying to launch for 0 seconds. Modern launch services = NO
Jun 7 23:26:13 Juans-Mac CoreSimulatorBridge[475]: Got LSBundleProxy for 'Header', sequenceNumber 63, cacheGUID __NSConcreteUUID 0x7fc00e806fd0 BF5B2EDB-A9ED-48B7-BCA4-D99CA861CC07
Jun 7 23:26:13 Juans-Mac assertiond[473]: assertion failed: 17D2047 13C75: assertiond + 12188 [8CF1968D-3466-38B7-B225-3F6F5B64C552]: 0x1
Jun 7 23:26:13 Juans-Mac CoreSimulatorBridge[475]: Launch successful for 'Header'
Jun 7 23:26:13 Juans-Mac com.apple.CoreSimulator.SimDevice.C9BD6E6D-259E-4768-950F-3F670E7F0690[450] (UIKitApplication:Header[0x754a][823]): Service exited due to signal: Trace/BPT trap: 5
Jun 7 23:26:13 Juans-Mac SpringBoard[469]: Application 'UIKitApplication:Header[0x754a]' crashed.
Jun 7 23:26:13 Juans-Mac assertiond[473]: assertion failed: 17D2047 13C75: assertiond + 12188 [8CF1968D-3466-38B7-B225-3F6F5B64C552]: 0x1
Jun 7 23:26:14 Juans-Mac SpringBoard[469]: Reply Error: Connection interrupted
提前致谢。
解决方案
推荐阅读
- autodesk-forge - Forge Properties - 如何识别返回的集合
- mybatis - 如何从 Mybatis 获取 db 列值进行分片?
- ios - WCSession 检查配套应用程序是否可以接收消息
- c# - 如何使用字符串生成器以表格格式应用
- java - ElasticSearh RestHighLevelClient ,如何添加重试?
- python-3.x - 是否还创建了内置模块的 pyc 文件?
- google-tag-manager - 可以在gtm脚本上方定义dataLayer,然后将数据推送到gtm脚本下方的dataLayer吗?
- r - 按基于条件创建的组汇总列值
- angular - 是否可以从角度的应用程序代码中强制进行硬应用程序更新(Ctrl + F5 浏览器模拟)?
- python - Python:表达式返回不同的响应 a=a+1 vs a+=1