我成功添加并使用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