iOS12 Xcode10正式版问题汇总以及新特性(持续更新中....)

一、手机IOS12GM版本,收不到正式版推送,能够下载固件:https://ipsw.me/
iTunes 连接iPhone  按下【option+检查版本更新!

二、iPhone尺寸,新增了xr、xs、xrmax

5.8英寸:1125 x2436@3x.pnghtml

iPhone XR6.1:828px x 1792@2x.png
6.5英寸:1242x2688@3x.png

http://www.javashuo.com/article/p-qlbgcdcv-cd.html
https://help.apple.com/app-store-connect/#/dev4e413fcb8
https://mp.weixin.qq.com/s/8hwfg64SA5BdxV8VkQOs7A

三、xcode10中 libstdc++.6.0.9.tbd 找不到

https://www.jianshu.com/p/cd27028b38abios

https://www.jianshu.com/p/b8b51d71064cc++

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 ):xcode

<1>、打开真机路径   /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/app

模拟器路径: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/post

<2>、将libstdc++.6.0.9.tbd  libstdc++.6.tbd  libstdc++.tbd文件件复制到上面相应的路径的路径 ui

真机文件下载地址:http://pbdfw90tv.bkt.clouddn.com/%E7%9C%9F%E6%9C%BA%E6%96%87%E4%BB%B6.zipspa

模拟器文件下载地址:http://pbdfw90tv.bkt.clouddn.com/%E6%A8%A1%E6%8B%9F%E5%99%A8%E6%96%87%E4%BB%B6.zipcode

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


四、Xcode12.0 真机包orm

http://pbdfw90tv.bkt.clouddn.com/12.0%20%2816A366%29.zip

五、报错:Multiple commands produce '/Users/shaoguangbo/Library/Developer/Xcode/DerivedData/   

Xcode10 默认使用New Build System编译,会严格解析各个文件的依赖关系,

编译不过,能够退回Legacy Build System

  Xcode -> File -> Workspace Settings

六、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打包吧!

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

[[UITabBar appearance] setTranslucent:NO];

八、

相关文章
相关标签/搜索