[英]building for iOS simulator, but linking in object file built for OSX, for architecture x86_64 in Xcode 7
When i compile my app with Xcode 7 i am getting this error 当我使用Xcode 7编译我的应用程序时,出现此错误
ld: in /SourceCode 2/NewRelicAgent.framework/NewRelicAgent(CustomAnalyticEvent.cxx.o), building for iOS simulator, but linking in object file built for OSX, for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ld:在/ SourceCode 2 / NewRelicAgent.framework / NewRelicAgent(CustomAnalyticEvent.cxx.o)中,针对iOS模拟器而构建,但在针对OSX所构建的对象文件中进行链接(对于架构x86_64)clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)
i have tried following links: 我尝试了以下链接:
1) https://forums.developer.apple.com/thread/12960 1) https://forums.developer.apple.com/thread/12960
2) https://forums.developer.apple.com/message/45886#45886 2) https://forums.developer.apple.com/message/45886#45886
3) https://forums.developer.apple.com/thread/13795 3) https://forums.developer.apple.com/thread/13795
but this solutions didn't help me 但是这个解决方案对我没有帮助
let me know if you find any solution on this. 让我知道您是否对此有任何解决方案。
Thanks in advance. 提前致谢。
Please take a look into the forum of the framework: 请看一下框架论坛:
https://discuss.newrelic.com/t/build-failure-in-ios-9/25963/8 https://discuss.newrelic.com/t/build-failure-in-ios-9/25963/8
They state that if you use version higher than iOS Agent v5.3.0 you should be able to skip the issue. 他们声明,如果您使用高于iOS Agent v5.3.0的版本,则应该可以跳过此问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.