找不到-lGTMSessionFetcher的库

时间:2017-08-24 09:53:31

标签: ios firebase unity3d firebase-authentication cocoapods

Unity 5.6.2,Firebase Unity SDK 4.0.3,Cocoapod 1.3.1我将Firebase Auth软件包添加到Unity Project,Android工作正常。但是当我在iOs上运行相同的项目时,Unity中的构建运行正常,但在编译期间在XCode中失败

ld: library not found for -lGTMSessionFetcher clang: error: linker command failed with exit code 1 

任何想法如何解决?

我尝试添加Firebase Auth表单Unity SDK 4.1.0,但Unity因以下原因而开始失败:

iOS framework addition failed due to a Cocoapods installation failure.
Specs satisfying the 'Firebase/DynamicLinks (=4.0.4)' dependency were found, but they required a higher minimum deployment target

pod spec cat动态链接输出

"platforms": {
   "ios": "7.0"
}

我的Unity项目中有9.0

1 个答案:

答案 0 :(得分:1)

当您打开.xcodeproj而不是.xcworkspace时,会发生此错误。

here