问:
Code Sign Error: Provisioning Profile (long string) can't be found. What am I missing? I looked through related questions and didn't see this scenario already. Thanks
答:
Sometimes your xcode project file gets messed up, especially if you have an old project and first created it with an older version of xcode/iphone sdk. What you need to do is open up the project file in a text editor, search for the 'long string' from your error and manually erase that line. In fact, you should just go ahead and erase any line that points to any provisioning profiles. Then reopen the project in xcode, go to the settings and reselect your new profile. This clears up issues like that most of the time. The lines that point to the provisioning profiles will look like this:
PROVISIONING_PROFILE = "487F3EAC-05FB-4A2A-9EA0-31F1F35760EB";
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "487F3EAC-05FB-4A2A-9EA0-31F1F35760EB";
本文介绍了一种解决Xcode中出现的代码签名错误的方法,特别是当遇到已过期的配置文件导致无法重新构建应用程序的问题时。通过编辑项目文件并手动删除错误的配置文件引用,然后重新选择新的有效配置文件来解决问题。
2396

被折叠的 条评论
为什么被折叠?



