Red letters mean Xcode cannot find the corresponding file in the filesystem.
Why is XCTest.framework
displayed in red?
The framework does not reside in the same location in Xcode 6.0.1 as it used to in Xcode 5.1.1
It has moved from:
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/XCTest.framework
to:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCTest.framework
Why is the MyAppTests.xctest
product displayed in red?
I created a separate Test Configuration in Xcode in order to avoid sandboxing problems as described here: http://marcschwieterman.com/blog/testing-in-the-sandbox/ . As a result, tests get built in their own location and no longer in the debug location as before. But the location of the MYAppTests.xctest
product is not automatically updated by Xcode, nor could i find a way to update it manually to the new location.