Problem while building iOS after adding plgins

Hi All,

I created a ionic project and can build the project for android and ios platform without adding following plugins but when I try to add any of the following I am not able to build iOS app.


The following build commands failed:
CompileC build/ MyShapp/Plugins/com.unarin.cordova.beacon/CDVLocationManager.m normal i386 objective-c
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/gaurangpatel/E/projects/MyShapp/myshappapp/platforms/ios/cordova/build-debug.xcconfig,-project,MyShapp.xcodeproj,ARCHS=i386,-target,MyShapp,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386

hi @DevGaurang,

The plugin you have used does not seem to be ionic native plugin.
A few plugins are there which does not support for ionic,
mainly phonegap-facebook-plugin, phonegap-push-plugin
Recommend you to use some other plugin to o the same like-

hope it will work for you.

use following plugin to connect to facebook

$ cordova plugin add cordova-plugin-facebook4 --save --variable APP_ID=“123456789” --variable APP_NAME=“myApplication”

This worked for me I have already used this plugin in my app

Hi Sanjay and baviskarmitesh,

I tried adding this plugin but still facing same issues.

Have you added the Facebook SDK in your application before compiling it

HI Mitesh,

already added the framework.

Check you config.xml file as per documentation of plugin

Thanks Mitesh, I checked they are ok like other Plugins.

I will try with a sample app and let you know.