开发者

Not Jailbroken - getting Provisioning is not applicable for product type 'Application' in SDK Device

开发者 https://www.devze.com 2022-12-18 21:02 出处:网络
Codesign warning: provisioning is not applicable for product type \'Application\'in SDK Device - iPhone OS3.1\'; ignoring..

Codesign warning: provisioning is not applicable for product type 'Application' in SDK Device - iPhone OS3.1'; ignoring..

Redownloaded my developer certificate, made a new provisioning profile, still getting this error. Searched the Xcode project and removed all lines referencing a Provisioning Profile, but that didn't seem to remove it from the project settings (went t开发者_开发知识库o show package contents, then opened the project file).

Was originally on a different machine then transferred over, if that makes a difference?

Thanks


Check the file

/Developer/Platforms/iPhoneOS.platform/Info.plist

and make sure the following keys are set to YES

<key>PROVISIONING_PROFILE_ALLOWED</key>
<string>YES</string>
<key>PROVISIONING_PROFILE_REQUIRED</key>
<string>YES</string>

When developing for a jailbroken devices, these should normally be set to NO, so you can self sign and copy the file over, etc, but it's not necessary to skip this when you actually have a proper certificate and provisioning for your device.

0

精彩评论

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

关注公众号