尝试在iOS上部署Sencha应用程序时出现Bundle-Seed错误

时间:2013-12-09 15:24:51

标签: ios deployment sencha-touch provisioning-profile

我正在使用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-Simulator工作(当然不是这个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)

1 个答案:

答案 0 :(得分:0)

是的太明显了。我必须包括我的bundleId,这是appId的前10个数字,但现在我得到另一个例外:

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)
相关问题