我使用的是sencha touch 2.3.1和sencha cmd 4.0.1.45。尝试使用此配置脚本将我的sencha应用程序部署为iOS原生应用程序:
{
"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)
发布于 2013-12-09 15:55:49
是啊太明显了。我必须包括我的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)
https://stackoverflow.com/questions/20474213
复制相似问题