Success! Looks like we've fixed this one. According to our records the fix was applied for
a recent build.
Native Packaging Issue
Great work on the new Touch libs, they look great. I decided to attempt transitioning starting with the packager. My first of the Native Packager didn't go so smooth…
I stepped through the provided guide ( http://docs.sencha.com/touch/2-0/#!/...tive_packaging ), with an existing Sencha Touch 1.0 project.
1. Complete iOS provisioning on Apple iOS provisioning portal for
I already have a provision profile set-up for this app, I'll just fill in the App Name and ID. Actually, I have two separate profiles:
- Ad Hoc Distribution Profile for my company ("Wiley Coyote, Inc.")
- App Name: "Acme App". App ID: "com.acme.appDev"
- App Store Distribution Profile for my client company ("ACME Enterprises LLC")
- App Name: "Acme App". App ID: "com.acme.app"
2. Install the Packager
3. Create a packaging configuration file to be use with the native packager.
4. Run the packager to create the packaged application
$ sencha packagae config.json
iPhone Distribution: ambiguous (matches “iPhone Distribution: Wiley Coyote/, Inc.” and “iPhone Distribution: ACME Enterprises LLC //” in /User/wiley/Library/Keychains/login.keychain)
I'm assuming, I can use "certificateAlias" to solve some of this, but I'm not sure how.
Will have someone take a look at it, thank you.
I've posted a new stbuild that is contained in the SDK Tools Downloads. You should be able to install it by following the link below.
certificateAlias must be in format:
"certificateAlias":"iPhone Developer: Abraham Elias" or for distribution should be something like this:
"certificateAlias":"iPhone Distribution: Sencha Inc."
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"):
Files (like: tablet_startup.png) are contained in folder "app".
"certificateAlias": "iPhone Developer: ...",
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).
I'm using an iPhone 4.
Thanks and regards!
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?
@kyr0 have you tried placing a Default.png in the root directory?
With the iPad you have more selection:
||768w x 1004h
||768w x 1004h
||1024w x 748h
||1024w x 748h
||1024w x 748h
@rob Try to copy the .app folder into a folder called Payload. Compress the Payload dir and change the extension from XXX.zip to XXX.ipa.
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.
Originally Posted by kyr0
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.
We'll be putting out another release shortly that addresses these issues. Thanks again for the feedback!
I'm still getting an error when running:
Every time its run I get the following error:
sencha package run ios.json
Anyone having a similar issue?
sh: stbuild: command not found