iOS Frameworks Highlighted in Red

Jnesbitt82

macrumors 6502
Original poster
Oct 21, 2013
322
240
Ohio
I was working on my app this evening and added the avfoundation.framework when I noticed that several of the frameworks appear red. I'm not sure how long they have been like this. The app still works in the simulator and on my iPad. The frameworks that are red include:
Foundation.framework
CoreGraphics.framework
UiKit.framework
XCTest.framework

What could have caused this? Are the frameworks missing or just not located where the project has indicated?
 

AndyK

macrumors 65816
Jan 10, 2008
1,021
375
Terra
Found this thread after a search as I have this now after upgrading to Xcode 6.0.1.

Project > Frameworks > XCTest.framework.

XCTest.framework is red for me also, no clue why : /
 
Last edited:

Madd the Sane

macrumors 6502a
Nov 8, 2010
508
40
Utah
It seems that iOS frameworks are added in reference to the Developer path, as opposed to the SDK root. Although Xcode does seem smart enough to link to the right frameworks.

If, for whatever reason, the XCTest framework isn't being linked in the test cases, you might have to re-add it.
 

Similar threads

Register on MacRumors! This sidebar will go away, and you'll see fewer ads.