2016-01-23 91 views
0

,我发现了以下错误:不匹配提供的个人资料中发现的Xcode

Your build settings specify a provisioning profile with the UUID XXX-XXX-XX..., however, no such provisioning profile was found.

我allredy试图从Xcode中删除我提供个人资料和this答案重新下载他们喜欢,但它并没有帮助。当我去〜/ Library/MobileDevice/Provisioning Profiles/我实际上可以看到Xcode告诉我的配置文件不存在。我也尝试重新启动Xcode,但它也没有帮助。

回答

-1

来解决这个问题,按照苹果的技术支持如何建议最好的办法是:

1) (not advised by apple as you should have an ID). But Ensure that your DeveloperID is added to Xcode. (If it's an ID that hasn't got Agent or Admin access) then you need to make sure the you've created the correct provisioning profiles and installed them. If it is an Admin/Agent account, all's good 

2) Open the project in question and: 
    i) Click on the target which you're having problems with 
    ii) Click on the "General" tab 
    iii) Make sure that the "Signing" is set to "None" 
    iv) Click on the "Build Settings" tab 
    v) Make sure that "All" and "Combined" levels are chosen" (see the image below, All and Combined levels are just under the main tabs on the left) 

enter image description here

vi) Scroll down to "Code Signing" 
    vii) You only need to worry about the "Code signing identity". If that's filled in, click on the line and press backspace (delete) so it clears it 
    viii) The resource rules should be empty as this no longer applies (for general purpose use) 
    ix) Under Provisioning Profile, change it to "Automatic" 

此新闻后:

1) Cmd + Shift + K to do a build clean 
2) after this is done, press Cmd + B to build 

如果没有按”然后返回到“常规标签”和(2 iii iii)中提到的“签名”部分之下你会看到一个“修正问题”按钮...

希望这会有所帮助。

干杯,

一个

+0

不工作。 CodeSign error:SDK'iOS 9.3'中产品类型'Application'需要代码签名 –

相关问题