找不到-lGTMSessionFetcher库

7

Unity 5.6.2、Firebase Unity SDK 4.0.3和Cocoapod 1.3.1。我将Firebase Auth包添加到Unity项目中,并且在Android上运行良好。但是当我在iOS上运行同一项目时,Unity的构建顺利完成,但在XCode编译过程中失败。

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

有什么想法可以解决这个问题吗?

我尝试从Unity SDK 4.1.0添加Firebase身份验证,但由于以下原因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 DynamicLinks 输出

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

我在Unity项目中有9.0分

1个回答

3

当你打开.xcodeproj而非.xcworkspace时,将会发生此错误。

此处所述。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接