序言
众所周知,在前段时间苹果发布了新的MacOS系统,也意味着Xcode迎来Ta的16.0时代。
根据以往经验,每一次Xcode的升级都伴随着各种奇奇怪怪不可描述的bug。
为了确保不被背刺,尝试用VM模拟机安装了一个Xcode16。如果不出意外的话还是出意外了。项目出现各种莫名其妙的崩溃,而且不会触发捕获
。
在Xcode15运行好好的项目到Xcode16,启动嘎了,解决了,到首页了,又嘎了... 最后无奈暂时放弃
伊始
本来昨天正常提审的产品,新增一个小功能迭代一直都是正常。直到下班的时候突然收到被拒绝的邮件。内容如下:
Guideline 2.1 - Performance - App Completeness
We were unable to review the app because it crashed on launch. We have attached detailed crash logs to help troubleshoot this issue.
Review device details:
- Device type: iPad Air (5th generation)
- OS version: iPadOS 18.1
Next Steps
To address the crash in the app, follow these steps:
1. Fully symbolicate the crash report. See Adding Identifiable Symbol Names to a Crash Report for an explanation of the symbolication process.
2. Match the crash report to a common pattern. Based on the pattern, take specific actions to further investigate the crash. See Identifying the Cause of Common Crashes.
3. Test the app on a device to ensure that it now runs as expected.
4. Once the crash is addressed, create and submit a new build for review.
??? 竟然用iOS18.1
的系统审核测试???
通过友盟对比设备操作系统发现,确实上一个版本的审核还是在iOS17时代
。
而在Xcode16上bug,还是未能解决。贸然升级显然也是十分不明智的。So,那就科普一下如何在不升级Xcode的同时去安装iOS18的模拟器
!
安装iOS18的模拟器
1.通过浏览器下载
下载链接:developer.apple.com/download/al…
注:打开此网址需要登录开发者账号,否则无法看到下载模拟器的页面。
2.搜索iOS 18.1系统,并且点击 View Details
3.安装模拟器
sudo xcode-select -s /Applications/Xcode.app
xcodebuild -runFirstLaunch
xcrun simctl runtime add xxxx_Simulator_Runtime.dmg
正常安装完毕,显示模拟器状态为(Ready)
4.Xcode模拟器选择
5.运行结果示例图
遵守规则,方得长治久安
,最后祝大家大吉大利,今晚过审!