Sorry but I'm totally lost here. (sencha 2.1.1, cmd 3.0.2.288)
I followed the doc, have the same error on application loader.
Code:
Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate.
Could someone tells me what I'm doing wrong ?
1. Have a certificates.p12
On developer.apple.com have
2. An app ID : MY10D1G1tS.com.myapp.ma
3. In provisionning, a Distribution Provisioning Profile : MyApplication based on app ID : MY10D1G1tS.com.myapp.ma
On itunesconnect.apple.com have MyApplication (same name, same upper lower case) with
4. SKU : myapplication2013
5. BundleID : com.myapp.ma
6. Apple ID is 9 digits : 123456789
7. type : iOS app
My packager_ios json file is as follow :
Code:
{
"applicationName":"MyApplication",
"applicationId":"com.myapp.ma",
"bundleSeedId": "MY10D1G1tS",
"versionString":"1.0",
"icon": {
"57":"resources/icons/Icon.png",
"72":"resources/icons/Icon~ipad.png",
"114":"resources/icons/Icon@2x.png",
"144":"resources/icons/Icon~ipad@2x.png"
},
"inputPath":"D:/myapp/package/",
"outputPath":"D:/ios-packed/myapp/",
"configuration":"Release",
"platform":"iOS",
"deviceType":"Universal",
"certificatePath": "D:/IOS/Certificates.p12",
"certificatePassword":"V3r1stR0nGP455W0RD",
"provisionProfile":"D:/IOS/MyApplication.mobileprovision",
"certificateAlias":"Docteur N0",
"orientations": [
"portrait",
"landscapeLeft",
"landscapeRight",
"portraitUpsideDown"
]
}
Edit :
I do package application in sencha, then build native iOS based on my packed app. In my .app folder, have a Info.plist file, but no line like you described. Have this strange line though:
Code:
<key>CFBundleSignature</key>
<string>????</string>

Originally Posted by
ksotik
(...)Entitlements.plist need bundle id with app id prefix, for example: 10-signs-code.com.domain.appname.
If I do this directly in my Info.plist, I get an another error in application loader that :
Code:
Bundle ID MY10D1G1tS.com.myapp.ma from (my project) does not match bundle ID in itunes connect : com.myapp.ma
Edit 2 : solved
My mistake (I did crawl a lot on the tech note from apple), I did have a developper p12 certificate, not a dsitribution one, could someone add this to the doc ?