|
发表于 2016-5-20 22:13:49
|
显示全部楼层
我也遇到同样问题了,带着插件打包,失败。
把cordova插件引用去掉,打包成功。
错误提示是:
In file included from /Volumes/X5/WeX5/model/Native/.workspace/C70732A9F41000012F729E708102DB30/build/platforms/ios/myclassmode3/Plugins/com.justep.cordova.plugin.iFlytek/CDVSpeech.m:3:
/Volumes/X5/WeX5/model/Native/.workspace/C70732A9F41000012F729E708102DB30/build/platforms/ios/myclassmode3/Plugins/com.justep.cordova.plugin.iFlytek/CDVSpeech.h:4:9: fatal error: 'iflyMSC/IFlyMSC.h' file not found
#import "iflyMSC/IFlyMSC.h"
^
1 error generated.
ERROR building one of the platforms: Error: /Volumes/X5/WeX5/model/Native/.workspace/C70732A9F41000012F729E708102DB30/build/platforms/ios/cordova/build: Command failed with exit code 2
You may not have the required environment or OS to build this project
** BUILD FAILED **
The following build commands failed:
CompileC build/myclassmode3.build/Debug-iphoneos/myclassmode3.build/Objects-normal/armv7/CDVSpeech.o myclassmode3/Plugins/com.justep.cordova.plugin.iFlytek/CDVSpeech.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/Volumes/X5/WeX5/model/Native/.workspace/C70732A9F41000012F729E708102DB30/build/platforms/ios/cordova/build-debug.xcconfig,-project,myclassmode3.xcodeproj,ARCHS=armv7 arm64,-target,myclassmode3,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C70732A9F41000012F729E708102DB30/build/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Volumes/X5/WeX5/model/Native/.workspace/C70732A9F41000012F729E708102DB30/build/platforms/ios/build/sharedpch
Error: /Volumes/X5/WeX5/model/Native/.workspace/C70732A9F41000012F729E708102DB30/build/platforms/ios/cordova/build: Command failed with exit code 2
****ERROR****: Task "exec" finished with error.
****ERROR****: Target "buildIOS" finished with error.
****ERROR****: Build finished with error.
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://wex5.com/cn/bbs/thread-82002-1-1.html |
|