• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XCode 3 XIBs not compiling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode 3 XIBs not compiling


  • Subject: Re: XCode 3 XIBs not compiling
  • From: Chris Espinosa <email@hidden>
  • Date: Sat, 21 Jun 2008 09:56:33 -0700


On Jun 21, 2008, at 9:41 AM, Cesar Alaniz wrote:
Perhaps I missed it but I have added a MainWindow.xib to my project.  I thought that XCode was supposed to automatically compile these XIB's when they were added.  My project, however, is not doing that.  I do notice that when I create a project from the template and it includes MainWindow.xib, the XIB is compiled.  Is there a way to add the compiling to the build phase?

You may have added the .xib file to your project but not to any target (or at least not the one you expect).  Projects don't build.  They're just containers for targets, and targets are what own the build files, rules, and settings for a build. Make sure a) that the target has a Copy Bundle Resources build phase and b) the .xib is a member of the proper target (with Get Info on the .xib and examining its checkboxes in the General pane).

Chris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >XCode 3 XIBs not compiling (From: Cesar Alaniz <email@hidden>)

  • Prev by Date: XCode 3 XIBs not compiling
  • Next by Date: Re: XCode 3 - SDK discrepencies ?
  • Previous by thread: XCode 3 XIBs not compiling
  • Next by thread: XCode 3.1 & Shark
  • Index(es):
    • Date
    • Thread