开发者

Why would XCode keep trying to install an ad hoc profile when I set iPhone developer Code signing identity in the build options?

I want to run my iPhone app in debug mode on my device. I have a valid certificate and provisioning profiles for developer and debug. I also have my code signing identity set to "iPhone Developer" in my project preferences. However when I try to install my app, it asks me if I want to install the ad hoc distribution profile. This is strange because I explicitly tell it to use the iPhone Developer code signing identity. Using the ad hoc distribution profile won't work because it doesn't have debug rights.

开发者_JAVA百科

Anyone know how to fix this?


Maybe it can help you: Go to Project -> Edit Project Settings -> Build

In "Configuration" dropdown list select Debug configuration (not "Active") and then check you build settings. Entilements.plist should not be added to debug configuration.

Try to do so. Sometimes Xcode ignores the settings for the active configuration and uses the previous configuration.


Check info.plist file, that you use for debug build (it can be setted in build configuration with "Info.plist file" key). I think, "Bundle Identifier" in this file is equal to App Identifier in your AdHoc profile.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜