Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode has no rule to process .xib files in one of my projects




On Feb 23, 2008, at 2:34 PM, Jean-Daniel Dupas wrote:

Check in your target settings. This file was probably added into the "Compile Sources" Build Phase. You should remove it from this group, and verify that it is in the "Copy Bundle Resources" Build Phase.


Sure it was. If I move it to the "Copy Bundle Resources" Build Phase is just gets copied into the resources. But it is not processed by the "Interface Builder Compiler". So I get a .xib file in my product which does not work at runtime.


any other ideas ?

arne


Le 23 févr. 08 à 13:57, Arne Scheffler a écrit :

Hi,
I have one project where I added a .xib file and Xcode sees it as "sourcecode.xib" filetype. When I build this project I get the following output from the compiler:


warning: no rule to process file '$(PROJECT_DIR)/../../frame/ resource/menubar.xib' of type sourcecode.xib for architecture i386

This project has a long history and was first created with Xcode 2.0. When I add the .xib file to another project I get this output:

CompileXIB /Volumes/bla/frametst/mac/../../frame/resource/menubar.xib
cd /Volumes/bla/frametst/mac
/Developer/usr/bin/ibtool --errors --warnings --notices --output- format human-readable-text --compile /Volumes/bla/frametst/mac/ build/Debug/frametst.app/Contents/Resources/menubar.nib /Volumes/ bla/frametst/mac/../../frame/resource/menubar.xib
/* com.apple.ibtool.document.notices */
/* com.apple.ibtool.document.warnings */
/* com.apple.ibtool.document.errors */


The rules section of the targets in both projects are identical.
Any hints on how to fix this ?

arne

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Xcode has no rule to process .xib files in one of my projects (From: Arne Scheffler <email@hidden>)
 >Re: Xcode has no rule to process .xib files in one of my projects (From: Jean-Daniel Dupas <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.