gpt4 book ai didi

ios - Xcode 返回链接器错误 "library not found for -lFirebaseAuth"

转载 作者:IT王子 更新时间:2023-10-29 08:17:12 27 4
gpt4 key购买 nike

我想在 Unity 上测试 firebase 初始应用程序。我在 macOS 和 Xcode 项目文件夹中从 Unity 构建了一个版本,我已经成功运行了 pod 命令。

pods 安装

在此之后,我打开了 Xcode 项目并单击了构建按钮。在此之前,我收到框架未找到错误。我修复了它,现在我得到了

ld: warning: directory not found for option '-L/Users/ali/Library/Developer/Xcode/DerivedData/Unity-iPhone-giljorflztrrychfchrkhcfbqtbh/Build/Products/ReleaseForRunning-iphoneos/FirebaseAuth'
ld: warning: directory not found for option '-L/Users/ali/Library/Developer/Xcode/DerivedData/Unity-iPhone-giljorflztrrychfchrkhcfbqtbh/Build/Products/ReleaseForRunning-iphoneos/FirebaseCore'
ld: warning: directory not found for option '-L/Users/aliavci/Library/Developer/Xcode/DerivedData/Unity-iPhone-giljorflztrrychfchrkhcfbqtbh/Build/Products/ReleaseForRunning-iphoneos/GTMSessionFetcher'
ld: warning: directory not found for option '-L/Users/ali/Library/Developer/Xcode/DerivedData/Unity-iPhone-giljorflztrrychfchrkhcfbqtbh/Build/Products/ReleaseForRunning-iphoneos/GoogleToolboxForMac'
ld: warning: directory not found for option '-L/Users/ali/Library/Developer/Xcode/DerivedData/Unity-iPhone-giljorflztrrychfchrkhcfbqtbh/Build/Products/ReleaseForRunning-iphoneos/nanopb'
ld: library not found for -lFirebaseAuth
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我已经将库路径添加到库搜索路径中。我添加了一些截图作为附件。

xcode properties

podfile

最佳答案

我通过打开“.xcworkspace”文件而不是“.xcodeproj”文件解决了错误。

关于ios - Xcode 返回链接器错误 "library not found for -lFirebaseAuth",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51020924/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com