Libraries not found when using CocoaPods with iOS logic tests

前端 未结 14 1387
没有蜡笔的小新
没有蜡笔的小新 2020-11-29 15:41

I am trying to write some iOS logic tests against classes in my project that use functionality from some of the libraries in my podspec. I am using the standard unit test bu

14条回答
  •  被撕碎了的回忆
    2020-11-29 16:34

    There is a solution I found here Unit Tests With CocoaPods:

    Open the project file in Xcode, then choose the Project (not the target), in the right panel, there is a section called Configurations. Choose Pods in the "Based on Configuration file" column for your test target.

    enter image description here

提交回复
热议问题