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

廣告

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

您的留言將使用 WordPress.com 帳號。 登出 / 變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 / 變更 )

Facebook照片

您的留言將使用 Facebook 帳號。 登出 / 變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 / 變更 )

連結到 %s