2013-12-09 25 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) 
相關問題