CocoaPods adds incorrect Other Linker Flags

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-23 11:50:46

问题


I placed $(inherited) in Other Linker Flags in the Build Settings of my app. Now, it's causing an error, but adding a Test framework.

The error and solution are explained in detail here: Xcode 5.0.2 dyld: Library not loaded: @rpath/XCTest.framework/Versions/A/XCTest

How can I modify the Other Linker Flags added by CocoaPods to ensure the XCTests does not get added?

One solution would be if I can somehow copy all the actual values of $(inherited) and replace $(inherited) with those values, then just remove XCTests framework. However, I'm not sure how to find those.

来源:https://stackoverflow.com/questions/26953498/cocoapods-adds-incorrect-other-linker-flags

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!