ios - ld : framework not found -framework ERROR

标签 ios xcode entity-framework linker clang

每次我尝试构建我的项目时,我总是遇到这个错误:

ld: framework not found -framework
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我都不知道什么框架叫-framework

这个随机开始于两天前,就在 View Controller 上提交之后,与 pod 中的任何更改无关。

我已经尝试了所有的解决方案。我做了谷歌并花了大约时间。 12 小时后找到此链接:link1 , link2 , link3 .

还找到了很多其他链接,但没有一个是我要找的。

我尝试了以下技术来解决问题:

  1. 删除派生数据 - 重新启动 Xcode - 清理和构建项目。
  2. 删除/调整框架搜索路径
  3. -framework 添加到目标项目的build设置中的其他链接器标志。

如果有任何关于消除此 -framework 错误的进一步想法,任何人都可以帮助我。我将在一个月内发布,无法从头开始重新构建项目!!!

顺便说一下,我正在使用 cocoa pods 来处理所有一直运行良好的私有(private)框架。

提前致谢。

这是错误的屏幕截图。 enter image description here

以下是框架搜索路径的屏幕截图。 enter image description here enter image description here

最佳答案

您的Other Linker flags 似乎添加了无法编译的-framework

Always make sure to check framework/library and linker path flags if the project shows framework/library not found error.

关于ios - ld : framework not found -framework ERROR,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36904636/

相关文章:

ios - 从另一个 View Controller 停止dispatch_async内部的无限while循环

c# - LINQ IQueryable 具有分组依据和计数

wpf - Entity Framework 在克隆后附加异常

iphone - 如何检测 View 中任意位置的点击?

c# - Entity Framework 从Azure sql获取数据大约需要10分钟

ios - 将来自 API 的数组的数组信息显示为表格

ios - Obj-C - 如何保护此排序数组免受空值影响

ios - 将日期时间发送到 Rails 以与 where ("updated_at > ?"进行比较

ios - 让我的应用程序支持 iPhone 5

ios - 检索 id 并递增它 swift3