Ionic无法为IOS构建 - 命令的错误代码65

时间:2016-04-26 16:56:47

标签: ios cordova ionic-framework cordova-plugins

我有一个Ionic App正在尝试为IOS构建(第一次)。我一直收到这个错误:

The following build commands failed:
    CompileC build/IHS_App.build/Debug-iphonesimulator/IHS_App.build/Objects-normal/i386/IonicKeyboard.o IHS_App/Plugins/com.ionic.keyboard/IonicKeyboard.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/dismac/Desktop/IHS/Software/trunk/app/platforms/ios/cordova/build-debug.xcconfig,-project,IHS_App.xcodeproj,ARCHS=i386,-target,IHS_App,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/dismac/Desktop/IHS/Software/trunk/app/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/dismac/Desktop/IHS/Software/trunk/app/platforms/ios/build/sharedpch

我不知道从哪里开始?任何人吗?

1 个答案:

答案 0 :(得分:0)

通过删除键盘插件修复它:

cordova plugin rm com.ionic.keyboard
cordova plugin add ionic-plugin-keyboard

不知道为什么会有效