上個月xcode10 正式版一發(fā)布骗污,在項目中遇到的一些問題溃睹,讓大家少走一些彎路
- -lstdc++6.0.9不再被支持, 必須從build phases的 link binary with libraries移除.再添加
-
- 打包過程遇到的一些問題
- 2.1 編譯報錯conflicting provisioning settings
解決辦法:按照下面圖片把一些數(shù)值清空
-
2.2 如果是不是自動打包遇到過選擇證書出現(xiàn)問題
其實就是你的描述文件選項里面有不能有 "iPhone Developer"
解決辦法如下
正確圖片
- 2.3 選擇自動打包的一些配置
error: XXXX has conflicting provisioning settings. XXXX is automatically signed for development, but a conflicting code signing identity iPhone Distribution has been
manually specified. Set the code signing identity value to "iPhone Developer" in the build settings editor, or switch to manual signing in the project editor. (in target 'XXXX')
意思是:自動打包選項里面的選項必須都是"iPhone Developer"
正解如下
- 2.4 Xcodebuild自動打包 在Xcode10之后, 打包所需的ExportOptions.plist更新 需要添加字段
否則會打包過程中萨脑,導出不成功
Error Domain=IDEProfileLocatorErrorDomain Code=1 "No profiles for 'com.dsyc.eatBrandManager' were found" UserInfo={NSLocalizedDescription=No profiles for 'com.dsyc.eatBrandManager' were found, NSLocalizedRecoverySuggestion=Xcode couldn't find any iOS In House provisioning profiles matching 'com.dsyc.eatBrandManager'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.}