PDA

View Full Version : Cannot get iOS simulation or packaging to work



bengoshow
15 Oct 2012, 5:18 AM
I'm having trouble getting the Sencha native packaging to work for me. I can run my app in the iOS Simulator successfully, but when I change the deployment Platform setting to "iOS" I am getting the following errors:


sencha -d package build simulator.json
Sencha Cmd v3.0.0.190
[DEBUG] using path /Users/[XXXXX]/bin/Sencha/Cmd/3.0.0.190/stbuild:/Users/[XXXXX]/bin/Sencha/Cmd/3.0.0.190/stbuild/bin:/Users/[XXXXX]/bin/Sencha/Cmd/3.0.0.190:/Applications/SenchaSDKTools:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
[DEBUG] executable located at /Users/[XXXXX]/bin/Sencha/Cmd/3.0.0.190/stbuild/stbuild
[DEBUG] using workding directory .
/Users/[XXXXX]/Dev/fishhook.us/build//Fishhook.app: object file format unrecognized, invalid, or unsuitable
Debug: Application name is: Fishhook
Debug: Application bundle name is: Fishhook.app
Debug: Application ID: com.fishhook.fhmobile
Debug: Platform: iOS
Debug: Device type: Universal
Debug: Output path: /Users/[XXXXX]/Dev/fishhook.us/build/
Debug: Webapp path: .//
Debug: Version: 1.0
Debug: Icon name: icon.png
Debug: Raw config:
Debug: Certificate password:
Debug: Provision profile:
Debug: Building for configuration: Debug
Debug: Cleaning up previously built products
Debug: Copying application template to output directory
Debug: Setting executable flag on application binary
Debug: Copy web application into native shell
Debug: Checking if provision profile specified in json configuration
Debug: Copy application entitlements template
Debug: Composing application entitlements
Debug: Copy application info.plist template
Debug: Composing info.plist
Debug: icon array size: 0
Debug: No icons found in json configuration
Debug: Writing info.plist into native shell
Debug: Move splash screens to the top level
The application was successfully packaged
Failed to execute system command while signing application with error 256
Failed to package application
[DEBUG] exit code was : 6
[DEBUG] exit code was : 6
[ERROR]
/Users/[XXXXX]/Dev/fishhook.us/build//Fishhook.app: object file format unrecognized, invalid, or unsuitable
Debug: Application name is: Fishhook
Debug: Application bundle name is: Fishhook.app
Debug: Application ID: com.fishhook.fhmobile
Debug: Platform: iOS
Debug: Device type: Universal
Debug: Output path: /Users/[XXXXX]/Dev/fishhook.us/build/
Debug: Webapp path: .//
Debug: Version: 1.0
Debug: Icon name: icon.png
Debug: Raw config:
Debug: Certificate password:
Debug: Provision profile:
Debug: Building for configuration: Debug
Debug: Cleaning up previously built products
Debug: Copying application template to output directory
Debug: Setting executable flag on application binary
Debug: Copy web application into native shell
Debug: Checking if provision profile specified in json configuration
Debug: Copy application entitlements template
Debug: Composing application entitlements
Debug: Copy application info.plist template
Debug: Composing info.plist
Debug: icon array size: 0
Debug: No icons found in json configuration
Debug: Writing info.plist into native shell
Debug: Move splash screens to the top level
The application was successfully packaged
Failed to execute system command while signing application with error 256
Failed to package application


[ERROR] stbuild exited with non-zero code : 6


com.sencha.exceptions.ExProcess: stbuild exited with non-zero code : 6
at com.sencha.command.pkg.PackageCommands$BasePackageCommand.execute(PackageCommands.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sencha.cli.Command.dispatch(Command.java:78)
at com.sencha.cli.Commands.dispatch(Commands.java:49)
at com.sencha.cli.Commands.dispatch(Commands.java:49)
at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:184)
at com.sencha.command.Sencha.main(Sencha.java:58)

toto00785
7 Nov 2013, 3:26 AM
I have the same problem. Were you able to solve?
Thank You
Giuseppe