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

真机生效,模拟器未生效,
找到路径/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/
将真机文件复制到此目录。


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

https://stackoverflow.com/questions/52364231/our-app-crashed-in-ios9-which-upload-by-xcode-10-gm-seed

暂时用xcode9打包吧!

7、TabBarItem错误偏移(iOS12.1)临时解决方法:

[[UITabBar appearance] setTranslucent:NO];

8、

 

转载于:https://www.cnblogs.com/superbobo/p/9667711.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值