我成功添加並使用Cordova插件構建Sencha Touch應用程序。但是,當我決定稍後添加插件並再次構建時,構建失敗。 是否僅在運行sencha app build native
之前添加插件還是存在其他問題。我得到在控制檯下面使用sencha原生版本後添加Cordova插件
[INF] [shellscript] ** BUILD FAILED **
[INF] [shellscript]
[INF] [shellscript]
[INF] [shellscript] The following build commands failed:
[INF] [shellscript] CompileC build/swigmunk.build/Debug-iphonesimulator/swigmunk.build/Objects-normal/i386/CDVCamera.o swigmunk/Plugins/org.apache.cordova.camera/CDVCamera.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
[INF] [shellscript] CompileC build/swigmunk.build/Debug-iphonesimulator/swigmunk.build/Objects-normal/i386/CDVJpegHeaderWriter.o swigmunk/Plugins/org.apache.cordova.camera/CDVJpegHeaderWriter.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
[INF] [shellscript] (2 failures)
[INF] [shellscript] ]
[ERR] The following error occurred while executing this line:
/Users/georgy/Developer/swigmunk/public/swigmunk/.sencha/app/build-impl.xml:422: The following error occurred while executing this line:
/Users/georgy/Developer/swigmunk/public/swigmunk/.sencha/app/cordova-impl.xml:118: The following error occurred while executing this line:
jar:file:/Users/georgy/bin/Sencha/Cmd/4.0.1.45/sencha.jar!/com/sencha/ant/antlib.xml:608: shellscript returned: 1
你可能會得到更多的信息,如果你從終端只執行失敗的命令,即'CompileC建立/ swigmunk.build /調試-iphonesimulator/swigmunk.build /對象-normal/i386/CDVCamera.o swigmunk/Plugins/org.apache.cordova.camera/CDVCamera.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler' –
你能解決這個問題嗎?問題?我面臨同樣的問題,似乎沒有解決方案。 – Sourabh86
同樣在這裏,這個問題的任何解決方法? – lascort