Firebase Xcode linker command error using Firebase Unity SDK

前端 未结 8 1625
悲&欢浪女
悲&欢浪女 2020-12-10 13:33

Firebase Unity SDK 1.1.1. Unity 5.5.0p4 XCode 8.2.1

When using Authentication and Database from Firebase I get the following error when building the project in XCode

8条回答
  •  天涯浪人
    2020-12-10 13:44

    I had the same problem, just fixed it.

    Find the Podfile file and open it in a text editor. remove

    , :integrate_targets => false

    in the second line so it says: install! 'cocoapods'

    Then add a new line after platform: ios...

    use_frameworks!

    Then open a terminal screen and go to the directory of this project. Type 'pod install' and enter. If everything goes well a workspace file is created and a message appears that you should open the workspace in Xcode in stead of the project. So close the project in xcode and open the projectname.xcworkspace file. Now Xcode will open the workspace and you will be able to run the project. You may have to adjust your Deployment Target to 8.0. Hope this works for you

提交回复
热议问题