Everything is OK on Xcode4.6. When I try to use Xcode5 dp6 to run app on devices. I got an error of "No matching provisioning profiles found issue". How can I resolve this issue?

Answer:
What really confused me was that there are two different sets of build settings: 1) for the Project 2) for the Target
In the sidebar (top left) there is a blue icon that represents your project. Click that: 
Then in the main panel to the right, in the top bar, just to the left of the word, "General," there is a small icon of your Project. Click that, and now select the Target in the pop-up menu that appears:

Once you've selected the Target, now the build settings for the target can be changed. They are different than the ones for the Project itself... weird! I'm not sure why there are build settings for the Project as a whole, that are different from the Target, since the Target's settings are what gets used during building. So why even have settings for the Project? Not sure.
But that's how you change them. This solved the issue for me: go into the Target (not the Project!) underCode Signing > Provisioning Profile > and change the settings to the proper profile. For a long time I was just changing them in the Project only, since I didn't know I was supposed to select the Target, and I kept having this issue. This fixes it!

本文介绍了解决Xcode5 dp6在设备上运行应用时出现“未找到匹配的预置配置文件”错误的方法。关键在于区分项目设置与目标设置,并确保在目标设置下的代码签名中选择正确的预置配置文件。

941

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



