找不到匹配的配置文件 Xcode
Posted
技术标签:
【中文标题】找不到匹配的配置文件 Xcode【英文标题】:No matching provision profile found Xcode 【发布时间】:2016-01-23 23:37:12 【问题描述】:我收到以下错误:
您的构建设置使用 UUID 指定配置文件 XXX-XXX-XX...,但是没有找到这样的配置文件。
我已经尝试从 Xcode 中删除我的配置文件并重新下载它们,就像在 this 答案中一样,但它没有帮助。当我转到 ~/Library/MobileDevice/Provisioning Profiles/ 时,我实际上可以看到 Xcode 告诉我的不存在的配置文件。我也试过重启Xcode,也没有用。
【问题讨论】:
【参考方案1】:根据 Apple 技术支持的建议,解决此问题的最佳方法是:
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)
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) 中提到的“Siging”部分下,您会看到“Fix Problems”按钮...
希望这会有所帮助。
干杯,
一个
【讨论】:
不起作用。 CodeSign 错误:SDK“ios 9.3”中的产品类型“应用程序”需要代码签名以上是关于找不到匹配的配置文件 Xcode的主要内容,如果未能解决你的问题,请参考以下文章
错误:没有找到匹配“匹配 AdHoc com.reddwarf.musicapp”的团队“***”的配置文件:Xcode 找不到任何匹配的配置文件