2009年7月15日星期三

iPhone 開發之路 (四) - Invalid entitlements

Sometimes when we are installing applications to our device through XCode, we might get a error message saying “The executable was signed with invalid entitlements“. This is most likely because the device is not included in the provision file. In tried with a device which i was sure to be included in the provision file and found that it works as expected. This error mostly occurs when we try to install applications on device which are not included in the provision file and is running iPhone OS 3.0. My iPod Touch whose UDID was not in the provision file was throwing this error where as my iPhone whose UDID is included in the provision file worked fine.

Make sure to check your ‘target’ configuration settings and set the “Code Signing Entitlements” to the plist that you created for entitlements.

0 留言: