Re: XCode 3 XIBs not compiling
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