我正在使用IONIC框架。但是在创建IOS Build时,我收到了这个错误:
** BUILD FAILED **
The following build commands failed:
CompileC build/abodea.build/Debug-iphonesimulator/abodea.build/Objects-normal/i386/PowerManagement.o abodea/Plugins/at.gofg.sportscomputer.powermanagement/PowerManagement.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/Mehdi/Desktop/Development/project_abode_s 04-02-2016/project_abode_s/platforms/ios/cordova/build-debug.xcconfig,-project,abodea.xcodeproj,ARCHS=i386,-target,abodea,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/Mehdi/Desktop/Development/project_abode_s 04-02-2016/project_abode_s/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/Mehdi/Desktop/Development/project_abode_s 04-02-2016/project_abode_s/platforms/ios/build/sharedpch
我不确定发生了什么。 我使用这些命令:
cordova platform add ios
cordova build ios
Android版本非常好......
答案 0 :(得分:0)
@Beat感谢您的帮助...
答案 1 :(得分:0)
只需通过终端通过命令删除平台并尝试再次添加然后创建构建它将起作用
答案 2 :(得分:0)
有同样的问题,通过创建一个新的项目文件夹并在那里移动我的源文件来修复它...删除平台是不够的。