Frameworks Highlighted in Red

Discussion in 'iOS Programming' started by Jnesbitt82, Dec 28, 2013.

  1. Jnesbitt82 macrumors 6502

    Jnesbitt82

    Joined:
    Oct 21, 2013
    Location:
    Ohio
    #1
    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?
     
  2. DannyBres macrumors 65816

    DannyBres

    Joined:
    Oct 30, 2007
    Location:
    UK
  3. AndyK, Sep 23, 2014
    Last edited: Sep 23, 2014

    AndyK macrumors 65816

    AndyK

    Joined:
    Jan 10, 2008
    #3
    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 : /
     
  4. Madd the Sane macrumors 6502

    Madd the Sane

    Joined:
    Nov 8, 2010
    Location:
    Utah
    #4
    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.
     

Share This Page