[英]Linker Error while running the iOS project
When i run my project in xcode 8 it shows error as shown in screenshot. 当我在xcode 8中运行我的项目时,它显示错误,如屏幕截图所示。
I have tried to replace libCorePlot-CocoaTouch.a file with latest file of libCorePlot-CocoaTouch.a and all suggested solution on stack. 我试图将libCorePlot-CocoaTouch.a文件替换为libCorePlot-CocoaTouch.a的最新文件以及所有建议的堆栈解决方案。 So please anyone can tell me that How can i solve this error ?
因此,请任何人可以告诉我如何解决此错误?
I have seen this error question on Xcode 8 -lCorePlot-CocoaTouch issue 我已经在Xcode 8 -lCorePlot-CocoaTouch问题上看到此错误问题
But there is no reply from anyone. 但是没有任何人的答复。 Therefore i have to ask this question again.
因此,我不得不再次问这个问题。
This error is because of some missing libraries in your project. 该错误是由于项目中缺少某些库而引起的。
Check in your Build Phases -> Link Binary With Libraries . 检查构建阶段 -> Link Binary with Libraries 。 Any of your framework may had been removed from there.
您的任何框架都可能已从此处删除。
Add it and Clean and Build your project. 添加它并清理并构建您的项目。 It should work fine.
它应该工作正常。
I would recommend you checking the Library Search Paths. 我建议您检查“库搜索路径”。 There are instances when you copy or duplicate a target, Xcode decides that it needs to escape any double quotes " with a '\\'. Make sure you remove all the \\'s - it should look like this -
在某些情况下,当您复制或复制目标时,Xcode决定它需要使用“ \\”对任何双引号“进行转义。请确保删除所有\\,它应该看起来像这样-
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.