1、不升級電腦系統(tǒng)與 Xcode,調試iOS 16
1、下載iOS16 Support文件
更多的support另見http://www.itdecent.cn/p/de60111cbfaf
2、放置到Xcode DeviceSupport目錄重啟Xcode即可/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
2、iOS16手機開啟開發(fā)者模式
iOS16手機未打開開發(fā)者模式時:
1、Xcode 無法選中 iOS16的設備,報錯:developer mode disable
2、無法打開升級前編譯的App
解決辦法:打開調試手機-設置-隱私與安全-開發(fā)者模式-開啟開發(fā)者模式(需要重啟手機)
3、Pod工程中的Bundle target簽名報錯
方法一:手動選擇Pod工程中的Bundle target 簽名中的Team,與主工程一致
方法二:在Podfile腳本中設置你的開發(fā)者的Team ID
post_installdo|installer|installer.generated_projects.eachdo|project|project.targets.eachdo|target|target.build_configurations.eachdo|config|config.build_settings["DEVELOPMENT_TEAM"]="Your Team ID"endendendend
方法三:在Podfile腳本中設置CODE_SIGN_IDENTITY為空來避免報錯,這是目前在用的,也是最簡單的方法
post_installdo|installer|installer.generated_projects.eachdo|project|project.targets.eachdo|target|target.build_configurations.eachdo|config|config.build_settings['CODE_SIGN_IDENTITY']=''endendendend
作者:傅hc
鏈接:http://www.itdecent.cn/p/cc616fa037b2
來源:簡書
著作權歸作者所有。商業(yè)轉載請聯(lián)系作者獲得授權,非商業(yè)轉載請注明出處。