尝试在iOS上部署Sencha应用程序时出现捆绑种子错误



我使用的是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)
是的,太明显了。我必须包括我的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)

相关内容

最新更新