Xib does not exits. Xcode 5. Wha??

Discussion in 'iOS Programming' started by IDMah, May 16, 2014.

  1. IDMah macrumors 6502

    IDMah

    Joined:
    May 13, 2011
    #1
    Getting this error in archive. But for simulator it's fine.

    Code:
    MainWindow.xib : Interface Builder could not open the document "MainWindow.xib" because it does not exist.
    and I can see and edit the MainWindow.xib ..

    Help.. very close to releasing on appStore.
    thanks
    Ian

    ----------

    Ok copied it, removed XIB from project with delete and then put it back..
    No errors.. now.. ;)

    Annoying..
     
  2. xStep macrumors 68000

    Joined:
    Jan 28, 2003
    Location:
    Less lost in L.A.
    #2
    My guess is that the file is missing from the build phase. Tap on your target, tap the Build Phases tab on top of that pane, expand the "Copy Bundle Resources" section. If your .xib isn't there, try adding it via the + symbol.
     

Share This Page