Importing a project from someone else (say downloaded from the internet) and their old certificate info is cached as part of the xcode project. For me, it wasn’t accessible through xcode, steps I used to fix it:
1) Quit Xcode. 2) Right click on your xcodeproj file, select view Package contents. 3) Edit project.pbxproj
Search for CODE_SIGN_IDENTITY and change the certificate info to your own. Do the sameoperation with PROVISIONING_PROFILE lines
Sources: http://www.mmisoftware.co.uk/weblog/2009/08/30/iphone-code-signing-problems-when-debugging/
http://stackoverflow.com/questions/1074546/the-executable-was-signed-with-invalid-entitlements
1) Quit Xcode. 2) Right click on your xcodeproj file, select view Package contents. 3) Edit project.pbxproj
Search for CODE_SIGN_IDENTITY and change the certificate info to your own. Do the sameoperation with PROVISIONING_PROFILE lines
Sources: http://www.mmisoftware.co.uk/weblog/2009/08/30/iphone-code-signing-problems-when-debugging/
http://stackoverflow.com/questions/1074546/the-executable-was-signed-with-invalid-entitlements
No comments:
Post a Comment