Ios ** BUILD FAILED **

Hi Ionic team!
i have a bug for over a week.
impossible to build on ios after adding the splashscreen plugin

**** BUILD FAILED ****
The following build commands failed:
CompileC build/eVoisin.build/Debug-iphonesimulator/eVoisin.build/Objects-normal/i386/CDVSplashScreen.o eVoisin/Plugins/org.apache.cordova.splashscreen/CDVSplashScreen.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error: /Users/myriamfathallah/Documents/PROJETS/eVoisin/platforms/ios/cordova/build: Command failed with exit code 65
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)

Hi @SamPa,

Did you add the plugin before or after the iOS platform? It is possible one or the other didn’t add correctly and you should try again.

Also what happens when you clean your project within XCode?

Regards,

hello, and tanks for reply!
i add it before ios platform.
it’s OK if i build over xcode,
but building via “ionic build ios” command i got this error.

Regards,

i fixed it
this is the solution :

  • remove platform ios (if exist)
  • add splashscreen plugin (sudo cordova plugin add org.apache.cordova.splashscreen)
  • and then add ios platform (ionic platform add ios)
  • build (ionic build ios)
  • run (ionic run ios)

have a good day!

@SamPa, Probably you meant cordova plugin add instead of cordova plugin rm