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

后端 未结 10 2041
渐次进展
渐次进展 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:33

    I was moving files in a project around. All you have to do is select your test files xxxTests.m etc. and in file inspector select target as test and not as a regular target.

提交回复
热议问题