I am developing mobile app with Ionic Framework and I just received very strange error that broke my whole build.
\'myapp/Plugins/com.phonegap.plugins
You should update your Facebook SDK. It did the trick for me as the latest Facebook SDK version supports bitcode. You don't have to upgrade to v4 as version 3.24 works perfectly.
There are a few other steps for iOS 9 compatibility like whitelisting FB domains and authorizing FB apps.
The following version support bitcode and can compile with the flag set to YES:
The relevant section of the FB documentation says:
Is bitcode supported?
v4.6 and v3.24 of the SDK supports bitcode. If you are using earlier versions, you must disable bitcode.
All steps required to upgrade to iOS 9 (transport security / app whitelisting) can be found here: https://developers.facebook.com/docs/ios/ios9
But I have to tell you that even though it compiles/link OK and uses an "integrated" Facebook login dialog, it still uses a browser as a modal view in your app. For me it is a regression from the previous Facebook app integration. I don't know whether there's a way to get the old "native" login dialog back.
This is a known issue with the Facebook Plugin. There is an open ticket at https://github.com/Wizcorp/phonegap-facebook-plugin/issues/111614 - I'd suggest you keep an eye on.
As a work-around, you might try
Project > Build Settings > Build Options > Enable Bitcode = No
(found @ http://forum.ionicframework.com/t/error-after-updating-to-xcode-7/32641)
From Xcode 7, BitCode in enable it by default. You will get this error until all apps and frameworks in your bundle doesn't include bitcode.
to remove this warning you can disable this in Build Settings
Build Settings>All>Build Options>Enable Bitcode = NO
Here is what it worked for me:
I am stealing it from here : https://github.com/Wizcorp/phonegap-facebook-plugin/issues/1116
I too face the same problem while updating the frameworks for giving iOS9 support.
1.To change In build settings:
Enable Bitcode = "NO"
Not only for your project targets, to set all of your targets including your pods(Project) targets.
2.Change the Build Architecure only:
Debug - YES
Relese - NO
That was fixed!