XCTest/XCTest.h not found on old projects built in Xcode 6

后端 未结 10 2042
渐次进展
渐次进展 2020-12-04 06:52

I have a few projects I\'m trying to build with Xcode 6 Beta 2. The projects all have some type of library that uses XCTest (Kiwi/XCTest and Specta) that don\'t build in Xco

10条回答
  •  情歌与酒
    2020-12-04 07:38

    As of the time of writing, the latest version of Cocoapods (0.33.1) doesn't have a fix for the problem.

    But the cutting edge version does.

    Follow this guide to set the latest version of Cocoapods up from source. I call mine pod-dev (covered in the guide) to distinguish it from the gem-installed version of pods.

    The benefit of this approach is that you don't need extra scripting in your Podfile. You just have to remember to do a pod-dev install instead of the usual pod install.

提交回复
热议问题