How To Solve CodeSigning and Entitlements Error iOs Developer using xCode 3.2.6
After few hours feel so stuck with this shit, finally it solved by googling..
Ive got this msg error when i want to distribute my own application to iTunesConnect using xCode 3.2.6 :
- Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)
and- Unable to extract entitlements from application: /Users/…/ApplicationName (-19045)
Honestly, it is my 2nd application. My 1st Application wasnt distribute to applestore by myself, but now i must be distribute this app to appstore by myself, so i learn how to distribute it by myself.
Its a dummies thing i thought, when i want to distribute this app i set “Code Signing” to iPhone Developer, but It Should be “iPhone Distribution” !
So, i changed it to iPhone Distribution by clicking Project -> Edit Project Settings under Build tab you should found Code Signing options, and choose iPhone Distribution.
You must be check Code Signing options in Active Target too by clicking Project -> Edit Active Target “Application Name” under Build tab. Change it to iPhone Distribution too!
