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

Posted on Updated on


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 帳號。 登出 / 變更 )

Google+ photo

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

連結到 %s