Xcode Unit Testing with Cocoapods

前端 未结 14 1129
有刺的猬
有刺的猬 2020-12-07 11:52

I\'ve been banging my head against a wall with this for the last few days but despite multiple Google/SO/Github searches I can\'t find a resolution to the issues I\'m having

14条回答
  •  無奈伤痛
    2020-12-07 12:05

    1. Select your Unit Test Target setting.
    2. Go to Build Settings.
    3. Look for Header Search Paths.
    4. Add this value $(SRCROOT)/Pods with recursive, then Xcode will resolve the path for you.

    Example

提交回复
热议问题