PDA

View Full Version : Native IOS packaging in Windows of Sencha touch 2 app



Rui Marinho
28 Feb 2012, 9:10 AM
Hello i m trying to package my app in windows enviroment with the latest sdk:

my config file looks like this:


{
"versionString":"1.0",
"iconName":"icon.png",
"applicationName":"App",
"applicationId":"*",
"inputPath":"C:/work/Mobile/projects/App",
"outputPath":"C://apps/App/ios/",
"configuration":"Release",
"platform":"ios",
"deviceType":"Universal",
"certificatePath": "C:/certs/CertificadoDev.p12",
"orientations": ["portrait","landscapeLeft","landscapeRight","portraitUpsideDown"]
}

ithen ran the command sencha package c:\work\apps \iosapp.json

but i m getting error: unable to load PKCS12 identity from "wierd characters"

What's going wrong..

About the certificate i exported from my mac using a key, and import and installed it on windows,they i put a copy in that folder.

abe.elias
28 Feb 2012, 1:33 PM
I think there might be an issue if you placed a password on your P12. Try removing the password.

There's also support for
"certificatePassword" which might help depending how you created and configured your keys, etc.

You can also remove passwords from a p12 using openssl. A quick google search can help you on that.

Rui Marinho
29 Feb 2012, 2:52 AM
i need to set a password to export the Iphone Developer Certificate from my Mac OS Machine.

I the copy the certificate to my windows machine, and install it using the password.

DO i still have to put the password, should i try something else?

abe.elias
1 Mar 2012, 12:54 AM
i need to set a password to export the Iphone Developer Certificate from my Mac OS Machine.

Try just clicking ok without putting a password.

neil_logan
9 Apr 2012, 11:53 PM
Any progress on this. My p12 certificate doesn't have a password and I get this.

Everything appears to work fine when I set the platform to be iOSSimulator.

I'm on Windows 7 (64-bit) and have generated my p12 file following the Sencha guide using openssl.

JeanPlouin
10 Apr 2012, 3:45 AM
Same configuration, same problem here ! Help :-) !