Great! For me that works now too.
Also fixes the: "iPhone Distribution: no identity found" bug.
Just wanted to inform you that the "phoneStartupScreen" isn't working at all for me.
I'm using the source code of Sencha Touch 2 example "carousel" (I only replaced "Ext.setup" by "Ext.application" and "onReady" by "launch"):
The app startup is initially black (5 seconds, source loading time I guess), then afterwards 2 seconds additionally in white background (rendering time I guess).
Hmm, I'm using the sencha-touch-all-debug-w-comments.js currently.
Overall performance (also for animations) is likely poor, but OK for a Developer Preview I guess..
(and would be much better with a custom build I guess, but custom building will only affect the initial app load time of 5 seconds).
Thanks Abe! I was able to compile just fine. I'll be testing run-time and such today. Sorry, for the rider question, but is there a way to build .IPA files? They're used for ad-hoc distribution, and most importantly TestFlight (a tool for distributing preview builds to key people).
@kyr0: When you experienced poor performance, were you comparing "Native Packager" vs. "XCode + PhoneGap", or with another framework?
@rob: Compared to Sencha Touch 1.0; Compared to PhoneGap and using jQuery Mobile, Sencha Touch 2.0 currently is a snake compared to a ferrari in terms of performance (PhoneGap+jQuery is immediately started. No feel of non-native in any way.) But in terms of features and framework architecture jQuery Mobile is crap compared to Sencha Touch 2.0. We need to choose one type of death And I hope the native performance of Touch 2.0 will increase the next releases as the performance enhancements of the Ext JS 4 dev branch will be merged with Touch 2.0...
@abe I've put the Default.png and Default-Portrait.png in the app folder so that it's packed in the "webapp" folder inside the .app in the end but that has no effect after a fresh new native build. There's still a blank black screen for 5 seconds and 3 seconds of white blank screen. Afterwards the blue carousel sample appears.
Btw: Maybe it would be a good idea to open up the git repo of Ext JS 4 (readonly) to a group of experts of the community to let the community help you sort out e.g. performance problems together with your dev team. I know a lot of commercial dev's with some "override.js" files that fix performance, API etc. problems. The community could then come up with up-to-date bugfix code's. Even the licensing problems could be sorted out by a CCLA. (Code Contribution License Agreement) I guess the Ext / Sencha users would be very pleased to hear community experts can participate on-track. Anyway..
I've put the Default.png and Default-Portrait.png in the app folder so that it's packed in the "webapp" folder inside the .app in the end but that has no effect after a fresh new native build. There's still a blank black screen for 5 seconds and 3 seconds of white blank screen. Afterwards the blue carousel sample appears.
I'm trying to use the Sencha iOS Native Packager also and too am getting these same results on iPhone3GS with the blank startup screens.
I did figured out the icon issue: In your config file, the icon name is actually the path to the icon within the .app. Your www files get packaged up under webapp folder, so the iconName needs to be a path something like:
This packager is on it's way to being very cool! We just need clearer instructions and more options for things like the splash screens, ability to hide the status bar, and other properties that should get set in the app's Info.plist.