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

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

    On a project without Cocoapods (so not directly answering the OP's question but perhaps helpful for me or others in the future), we had the same issue. It was solved by replacing our previous OCTest items with XCTest. For example, a file MyApp.xcodeproj/project.pbxproj has this diff (shortened) ; - path = MyAppUnitTests.octest; sourceTree = BUILT_PRODUCTS_DIR; }; + path = MyAppUnitTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };

提交回复
热议问题