Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode 7: Unable to Convert OCUnit to XCTest

I upgraded the XCode to 7.0 and ran into compilation issues. XCode asked me to convert my test target to use XCTest and I followed the wizard screen. I'm unable to find any test targets and cannot finish converting.

Does any one know how to fix this ?

Thanks.

enter image description here

enter image description here

enter image description here

like image 674
NSNerd Avatar asked Feb 03 '26 19:02

NSNerd


1 Answers

Make sure you have selected the scheme of your test target (in the top-left scheme selector), then select Edit -> Convert -> To XCTest... This will make Xcode recognize the appropriate target.

like image 200
Toine Heuvelmans Avatar answered Feb 06 '26 10:02

Toine Heuvelmans