Firebase Xcode linker command error using Firebase Unity SDK

前端 未结 8 1613
悲&欢浪女
悲&欢浪女 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 14:05

    I had the same problem, after spend couple of hours i got the main problem.

    It was the podfile library's defined specific version.

    target 'Unity-iPhone' do
        pod 'Firebase/Auth', '4.10.0'
        pod 'Firebase/Core', '4.10.0'
    end
    

    When unity build iOS project's podfile they define their latest library version. But when from xcode/terminal try to update pod library from GIT and the specific version is not available then its failed to update and showing this error.

    Solution is simple just don't need to define the specific version. pod will update the GIT's latest version.

    target 'Unity-iPhone' do
        pod 'Firebase/Auth'
        pod 'Firebase/Core'
    end
    

提交回复
热议问题