2013-12-09 30 views
0

我正在使用sencha touch 2.3.1和sencha cmd 4.0.1.45。试图用此配置脚本部署我的煎茶的应用程序为iOS原生应用:尝试在iOS上部署Sencha应用时出现Bundle-Seed-Error错误

{ 
    "applicationName": "TestApp", 
    "applicationId": "alfaAuthApp", 
    "inputPath": "/path/to/my/app/", 
    "outputPath": "/tmp/IOS_OUTPUT", 
    "versionString": "0.0.1", 
    "configuration": "Debug", 
    "platform": "iOS", 
    "deviceType": "iPhone", 
    "certificatePath": "/path/to/my/Dev-Zertifikat.p12", 
    "certificatePassword": "mypass", 
    "orientations": [ 
    "portrait", 
    "landscapeLeft", 
    "landscapeRight", 
    "portraitUpsideDown" 
    ] 
} 

创建了证书的appid,并得到了事情的iPhone模拟器的工作(不与本config.json当然)。创建一个配置文件并将其链接到应用程序ID和运行时,我的iPhone仍然得到一个错误:

sencha -d app package run config_iphone.json 

的错误是:

Bundle Seed ID is missing from config file 
Failed to package application 

[ERR] stbuild exited with non-zero code : 6 
at com.sencha.command.app.AppPackageCommands$BasePackageCommand.execute(AppPackageCommands.java:46) 
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.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175) 
at com.sencha.cli.Command.dispatch(Command.java:42) 
at com.sencha.cli.Commands.dispatch(Commands.java:64) 
at com.sencha.cli.Commands.dispatch(Commands.java:64) 
at com.sencha.cli.Commands.dispatch(Commands.java:64) 
at com.sencha.command.Sencha.dispatch(Sencha.java:80) 
at com.sencha.command.Sencha.main(Sencha.java:148) 

回答

0

呀太明显了。我必须包括我的bundleId,它是appId的前十个数字,但是现在我得到另一个异常:

The application was successfully packaged 
Failed to execute system command while signing application with error 256 
Failed to package application 

[ERR] stbuild exited with non-zero code : 6 
at com.sencha.command.app.AppPackageCommands$BasePackageCommand.execute(AppPackageCommands.java:46) 
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.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175) 
at com.sencha.cli.Command.dispatch(Command.java:42) 
at com.sencha.cli.Commands.dispatch(Commands.java:64) 
at com.sencha.cli.Commands.dispatch(Commands.java:64) 
at com.sencha.cli.Commands.dispatch(Commands.java:64) 
at com.sencha.command.Sencha.dispatch(Sencha.java:80) 
at com.sencha.command.Sencha.main(Sencha.java:148) 
相关问题