Closed ayushgoel closed 8 years ago
@mx4492 @yatinsns please review?
Your change will not work when running under older Xcoden, so we need to keep both the new and the old checks in place.
Also, I came across BOOL inTests = (NSClassFromString(@"XCTest") != nil);
, but I'm not sure if that works across Xcodes. You can use that as an alternative to the test that you're adding, or as an extra third check.
Updated.
Manually merged changes to master.
The previous check (
XCInjectBundle
) is no more valid. Tested on Xcode 7.3.1Environment when running app in simulator:
Environment when running tests in simulator: