Reputation: 2652
I recently setup a unit test suite using the XCTest framework with XCode bots and a dedicated OS X server. I'm noticing that when I run the tests targeting 64-bit architecture (in this case, the iPhone simulator on x86_64), the tests run twice. Why is this? I've attached a screenshot showing the 57 test being run on i386, and 114 tests being run on x86_64 (for a total of 171 tests):
Upvotes: 3
Views: 1153
Reputation: 3668
What is "Build Active Architecture Only" (ONLY_ACTIVE_ARCHS
) set to in your project?
Setting this to Yes in Debug configuration (the configuration my tests run in) fixed this problem for me.
Upvotes: 0