gpt4 book ai didi

ios - pod firebase 到 Xcode 时出错

转载 作者:行者123 更新时间:2023-11-30 11:37:56 27 4
gpt4 key购买 nike

我在将 Firebase 添加到我的项目之前添加了 Alamofire,在我 pod Firebase/Core 并安装它并使用 .xcworkspace 运行我的项目之后,它工作得很好但是当我运行模拟器时,我收到一条很长的错误消息,以此结束。

ld: entry point (_main) undefined. for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

我该如何修复它我使用的是 Xcode 的最新更新。

最佳答案

我不太清楚,但请检查以下内容:
- 你有入口点吗?
- 您在 XCode 和 pod 中使用相同的 iOS 版本吗?例如,如果您的 XCode 想要为 iOS 11 设备构建它,但在您的 pod 文件中,您已经设置了 iOS 10,这将是一个问题。

关于ios - pod firebase 到 Xcode 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49541483/

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