iOS12 Xcode10正式版问题汇总以及新特性(持续更新中....)
1、手机IOS12GM版本,收不到正式版推送,可以下载固件:https://ipsw.me/
iTunes 链接iPhone 按下【option+检查版本更新!
2、iPhone尺寸,新增了xr、xs、xrmax
5.8英寸:1125 x2436@3x.png
iPhone XR6.1:828px x 1792@2x.png
6.5英寸:1242x2688@3x.png
https://www.cnblogs.com/superbobo/p/5201526.html
https://help.apple.com/app-store-connect/#/dev4e413fcb8
https://mp.weixin.qq.com/s/8hwfg64SA5BdxV8VkQOs7A
3、xcode10中 libstdc++.6.0.9.tbd 找不到
https://www.jianshu.com/p/cd27028b38ab
https://www.jianshu.com/p/b8b51d71064c
POD文件加入: post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| # Fix libstdc++.6在Xcode10编译报错问题 if target.name == "CDC" xcconfig_path = config.base_configuration_reference.real_path xcconfig = File.read(xcconfig_path) new_xcconfig = xcconfig.sub('stdc++.6', 'c++') File.open(xcconfig_path, "w") { |file| file << new_xcconfig } end end end end
目前亲测有效的方法(感谢海森同学 https://www.jianshu.com/p/8edf6f415877 ):
<1>、打开真机路径 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/
模拟器路径: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/
<2>、将libstdc++.6.0.9.tbd libstdc++.6.tbd libstdc++.tbd文件件复制到上面相应的路径的路径
真机文件下载地址:http://pbdfw90tv.bkt.clouddn.com/%E7%9C%9F%E6%9C%BA%E6%96%87%E4%BB%B6.zip
模拟器文件下载地址:http://pbdfw90tv.bkt.clouddn.com/%E6%A8%A1%E6%8B%9F%E5%99%A8%E6%96%87%E4%BB%B6.zip
4、Xcode12.0 真机包
http://pbdfw90tv.bkt.clouddn.com/12.0%20%2816A366%29.zip
5、报错:Multiple commands produce '/Users/shaoguangbo/Library/Developer/Xcode/DerivedData/
Xcode10 默认使用New Build System编译,会严格解析各个文件的依赖关系,
编译不过,可以退回Legacy Build System
Xcode -> File -> Workspace Settings
6、our app crashed in iOS9 which upload by Xcode 10 GM Seed
暂时用xcode9打包吧!
7、TabBarItem错误偏移(iOS12.1)临时解决方法:
[[UITabBar appearance] setTranslucent:NO];
8、