2011年4月4日月曜日

The executable was signed with invalid entitlements.その2

解決しました。

実はiPhone3GSが故障し、iPhone4Gに機種変更して
そのままXcodeを使用していたため、Provisioningファイルを
iPhone4GのデバイスIDを使用し、再作成されていなかったのが原因。

機種変更したら、変更した機種のデバイスIDでProvisioningファイルを
作成しよう。

The executable was signed with invalid entitlements.

The executable was signed with invalid entitlements.

The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile.

(0xE8008016).

iOSも4.3.1にバージョンアップし、Xcodeのバージョンも4.0
に上げて、わからない中でビルドして転送するが
上記のエラーが発生。
よくわからないがクリーンビルドしないといけないらしい。

参考:http://eyesrobe.blogspot.com/2010/09/blog-post.html

クリーンビルドしても解決しない。
別の原因らしい。