IOS工程编译时出错Automatic provisioning profile selection

iOS 码拜 9年前 (2015-10-23) 1109次浏览
错误信息提示如下:

Code Sign error: Automatic provisioning profile selection unavailable: A bundle identifier is required for automatic provisioning profile selection. Either enter a bundle identifier in the Info.plist, or select a provisioning profile to use in the build settings.

CodeSign error: code signing is required for product type “”Application”” in SDK “”iOS 8.2″”

本人修改了一下Info.plist的名字(在工程刚建好的时候就修改了),应该没有影响吧!其中的内容是照着已经完成的项目设置的!另外,本人的xcode是6.2的,IOS SDK是8.2的,测试机是ipad。

解决方案:20分
有可能是系统自动给你匹配的provision file 不可用。你可以:

1. 到 /Users/(yourAccount)/Library/MobileDevice/Provisioning Profiles 下先清空全部

2. 确保你的bundle identifier 已设置正确

3. 去member center 重新下载对应的provision file .双击并导入 。


CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明IOS工程编译时出错Automatic provisioning profile selection
喜欢 (0)
[1034331897@qq.com]
分享 (0)