wilzdezign
25 Apr 2012, 9:21 AM
So moving to ST1 >> ST2, I decided to start from scratch and run through the tutorials again following along and creating a simple MVC site. However, I did not use the command line to start "sencha app create MyApp /path/to/www/myapp" -- so it does not have the packager/loader anything.. starts straight at Ext.application({});
Now I have my app ready to move towards getting it up on the Apple App store. I have my provision profile, the p12 cert created, Xcode 4.3.2 installed, Sencha SDK Tools installed, etc. Walking through the tutorial for iOS Packaging (http://docs.sencha.com/touch/2-0/guide/native_packaging), I run the command line "sencha package generate myconfig.json" in the root of the app next to the index.html -- After clearing the comments out and inserting my data:
{
"applicationName":"Mobile App",
"applicationId":"##############.*",
"versionString":"1.0",
"iconName":"icon.png",
"inputPath":"~/Documents/touch/app/",
"outputPath":"build/",
"configuration":"Debug",
"platform":"iOSSimulator",
"deviceType":"Universal",
"certificatePath": "/Developer/iOSCertificateDeveloper.p12",
"certificatePassword":"############",
"certificateAlias":"iPhone Developer: Me (###########)",
"orientations": [
"portrait",
"landscapeLeft",
"landscapeRight",
"portraitUpsideDown"
]
}
I then open Terminal and change directory to the location of the app files (index.html). I hit "sudo sencha package run myconfig.json" and it creates a "build" folder with an application named "Mobile App.app" at 15.5 MB (since this is still all debug). Is the terminal supposed to create any feedback message about building? It did not for me.. it just returned to the prompt and it built the file
At this point, I drag app to the docked iTunes and it opens iTunes but then nothing. Or at this point should it open the app in the iOSSimulator? Is this a different process between the newer Xcode 4.3.2 and Xcode 4.2 since 4.2 was under the Developer folder and now 4.3.2 is under Applications?
Now I have my app ready to move towards getting it up on the Apple App store. I have my provision profile, the p12 cert created, Xcode 4.3.2 installed, Sencha SDK Tools installed, etc. Walking through the tutorial for iOS Packaging (http://docs.sencha.com/touch/2-0/guide/native_packaging), I run the command line "sencha package generate myconfig.json" in the root of the app next to the index.html -- After clearing the comments out and inserting my data:
{
"applicationName":"Mobile App",
"applicationId":"##############.*",
"versionString":"1.0",
"iconName":"icon.png",
"inputPath":"~/Documents/touch/app/",
"outputPath":"build/",
"configuration":"Debug",
"platform":"iOSSimulator",
"deviceType":"Universal",
"certificatePath": "/Developer/iOSCertificateDeveloper.p12",
"certificatePassword":"############",
"certificateAlias":"iPhone Developer: Me (###########)",
"orientations": [
"portrait",
"landscapeLeft",
"landscapeRight",
"portraitUpsideDown"
]
}
I then open Terminal and change directory to the location of the app files (index.html). I hit "sudo sencha package run myconfig.json" and it creates a "build" folder with an application named "Mobile App.app" at 15.5 MB (since this is still all debug). Is the terminal supposed to create any feedback message about building? It did not for me.. it just returned to the prompt and it built the file
At this point, I drag app to the docked iTunes and it opens iTunes but then nothing. Or at this point should it open the app in the iOSSimulator? Is this a different process between the newer Xcode 4.3.2 and Xcode 4.2 since 4.2 was under the Developer folder and now 4.3.2 is under Applications?