Error after updating to Xcode 7

前端 未结 5 2122
野趣味
野趣味 2020-12-03 06:20

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

5条回答
  •  死守一世寂寞
    2020-12-03 06:36

    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:

    • Version 3.24
    • Version 4.x

    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.

提交回复
热议问题