Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running XCTest on iphone device

Tags:

xctest

I am trying to run XCTest on iphone device but Xcode show be following message.

"Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator." 

Is there any way by which I can run the XCTest on device?

Thanks, Dev

like image 488
dev Avatar asked Feb 20 '14 23:02

dev


1 Answers

Ok. I found that using GHUnit we can run unit tests on iphone device. Internally it uses xctest. Here is how you setup GHUnit.

I was able to follow the instructions and setup unit tests using xcode 5.

like image 104
dev Avatar answered Oct 21 '22 10:10

dev