Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The following build commands failed: CompileC

I'm using IONIC framework. But while creating IOS Build, I'm getting 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 has happened. I'm using these commands:

cordova platform add ios
cordova build ios

Android build is perfectly fine...

like image 947
Muhammad Mehdi Raza Avatar asked Feb 16 '16 10:02

Muhammad Mehdi Raza


1 Answers

just remove platform via terminal with command and try to add again then create build it will work

like image 77
Anil solanki Avatar answered Oct 15 '22 14:10

Anil solanki