ios - Apple mach -o- 链接器错误

标签 ios swift

我是 IOS 开发的新手,我尝试解决错误但没有任何效果。提供一些建议。

ld: library not found for -lPods-XXXXXXX-AppInvites
clang: error: linker command failed with exit code 1 (use -v to see invocation)

enter image description here

最佳答案

使用工作区(由 CocoaPods 生成)而不是 xcodeproj 打开项目。我认为这将解决您的问题。否则 CocoaPods 中可能会缺少一些库。

enter image description here

关于ios - Apple mach -o- 链接器错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32316518/

相关文章:

ios - 无法映射单个对象

ios - 在 Swift 中创建带有边界的 Setter

ios - 核心数据实体新属性 - 是否需要新模型版本

swift - 如何使用 Facebook Graph API 获取用户的城市/州/国家

c# - 我在 Entitlement plist 中为我的移动应用程序添加了钥匙串(keychain)支持但无法在 xamarin 中准备发布版本

ios - 在 UITableViewController 上推送 UIViewController 时更改后退按钮标题

ios - 如何使用 swift 在 SpriteKit 中创建起始屏幕

ios - 有没有办法从 iOS 中的 CLLocation 获取街道名称?

ios - Swift 2 无法下标类型错误的值

ios - 如何选择何时返回 Collection View 单元格