OCMock setup for OSX with CocoaPods

て烟熏妆下的殇ゞ 提交于 2019-12-25 03:57:19

问题


Trying to setup OCMock for a OSX project. Problem is I am not getting any framework to add to my test target, only the static library. I doubt it should be like that.

In my Podfile I have the following: pod 'OCMock', '~> 2.2'


回答1:


This was solved by selecting the project in XCode and select "Yes" under "Always Search User Paths".



来源:https://stackoverflow.com/questions/23284442/ocmock-setup-for-osx-with-cocoapods

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