iOS日常bug

Xcode升级为Xcode10的注意点

2018-10-30  本文已影响385人  JaromeHuang

上个月xcode10 正式版一发布,在项目中遇到的一些问题,让大家少走一些弯路

解决办法:按照下面图片把一些数值清空


Snip20181029_1的副本.png

其实就是你的描述文件选项里面有不能有 "iPhone Developer"

解决办法如下


Snip20181030_2.png

正确图片


Snip20181030_3.png
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')
Snip20181030_4.png

意思是:自动打包选项里面的选项必须都是"iPhone Developer"
正解如下


Snip20181030_5.png [图片上传中...(Snip20181030_7.png-7621bc-1540878163554-0)] Snip20181030_8.png

否则会打包过程中,导出不成功

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.}
上一篇下一篇

猜你喜欢

热点阅读