The following build commands failed to execute: CompileC

I use the IONIC structure. But when creating iOS Build, I get this error:

** 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

I'm not sure what happened. I use the following commands:

cordova platform add ios
cordova build ios

Android build is great ...

+4
source share
3 answers

OMG ... It was a small problem that was going to make me angry ,, :( Today I just upgraded my version of Cordova from 5.4.1 to 6.0.0 (latest version), and that only caused problems ... I downgraded my version of cordova to 5.4.1 and it fixed for me ...

@Beat Thanks for the help ...

0
source

, ,

0

I had the same problem, fixed it with creating a new project folder and moving the source files there ... Removing the platform was not enough.

0
source

Source: https://habr.com/ru/post/1628954/


All Articles