月份:五月 2009

iPhone CodeSign error: a valid provisioning profile is required for product type ‘Application’ in SDK ‘Device – iPhone OS 2.0’

Posted on Updated on

http://www.frogameleon.com/blog/iphone-sdk-codesign-error-a-valid-provisioning-profile-is-required-for-product-type-application-in-sdk-device-iphone-os-22

error occurs in building phase:
codesign error: avalid provisioning file is required for product t ype ‘Application’

  1. # cd ~/Library/Mobiledevice
  2. # grep <iPhone’s identifier&gh;
  3. copy the UUID (main file name) of the provision file
  4. goto your project, edit project.pbxproj file
  5. get the search the keyword “PROVISIONING_PROFILE[sdk=iphoneos*]
  6. replace the identifyer after PROVISIONING_PROFILE to which you want to apply