XCTest: The bundle “target Tests” couldn’t be loaded because its executable couldn’t be located

后端 未结 3 2431
走了就别回头了
走了就别回头了 2021-02-20 10:18

I\'m using XCode 6.2 and I have a project with several targets and with no tests.

I\'m trying to include now XCTest for one of the targets. To do so, I add a new \"Cocoa

3条回答
  •  囚心锁ツ
    2021-02-20 11:13

    I finally managed to solve the problem. It was related to the compiler selected by default for the XCTest target. It had selected "Unsupported Compiler" and I changed to "Default compiler (Apple LLVM 6.1)" and it started working again.enter image description here

提交回复
热议问题