iOS开发 - iOS17问题汇总

  1. 安装完Xcode15之后,ios17模拟器一直下载失败解决办法(感谢大佬的分享)
    Xcode15离线安装各平台模拟器
    模拟器官网下载地址
    下载iOS 17 Simulator Runtime就可以
  2. 手机运行报错: The developer disk image could not be mounted on this device.
    解决方法
    我的比较离谱, 关闭VPN重新运行就行了
  3. Xcode15.3 HandyJSON运行报错
    这个是HandJSON与Swift底层不兼容导致, 目前看还没又合适的解决方案,只有先退到15.2, 等HandyJSON更新, 或者直接切换至Swift自带的Codable实现
    3.11更新
    可以尝试这个老哥的分支
    pod 'HandyJSON', :git => 'https://github.com/Miles-Matheson/HandyJSON.git'
  4. iOS17.4 Attacking弹窗不显示
    这个好像是iOS17.4的bug, 我在审核的时候因为这个问题被拒. 遇到被拒问题的同学, 可以参考下这个回复(把在其他设备上正常弹窗的录屏添加到附件里面)

Hello, it seems to be a bug on iOS 17.4. After calling AppTrackingTransparency as usual, the permission popup does not appear. I've also seen similar issues raised on forums. You can find the link here: https://forums.developer.apple.com/forums/thread/746432

Attached are screenshots and a screencast of my testing on a device running 16.1.2, where the permission popup appears as expected. You can also test it on other devices to see if it behaves normally.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容