Re: How does ibtool find plugins?
Re: How does ibtool find plugins?
- Subject: Re: How does ibtool find plugins?
- From: Jonathan Hess <email@hidden>
- Date: Fri, 25 Jan 2008 14:51:00 -0800
Hey Kai -
On Jan 25, 2008, at 6:08 AM, Kai Brüning wrote:
Hi,
we have the following setup (all Xcode and IB 3):
- An Interface Builder Plugin which handles some custom views
- A framework which implements these views. The plugin is embedded
in the framework's resources folder in the standard way.
- An application which uses the custom views by directly including
the source files. That is, the application does not use or link
against the aforementioned framework. This application includes xib
files which use the custom views.
Now when Xcode compiles the xib files of the application, it
internally starts ibtool (with --compile), and ibtool in turn seems
to need access to the said IB plugin to do its work.
Our problem is that this works on one machine (where the whole stuff
has been developed), but not on another machine (which got it from a
subversion repository).
We have very similar setups on both machines: a shared build folder
for all projects (due to Time Machine), which then contains both the
debug build of the framework with the embedded plugin and the debug
build of the application.
We manually installed the plugin in IB (via preferences) on both
machines to no avail.
Therefore my question: if somebody could tell us how ibtool is meant
to find the plugins it needs for xib compiling, we might be able to
find the difference between the two machines.
ibtool uses both IB's user defaults, and its own, the problem is that
sometimes ibtool shadows IB's preferences and this causes the problem
you're seeing. I believe that you need to do to workaround this by
invoking 'defaults delete com.apple.ibtool'. We've already got a bug
tracking this issue.
I am aware that ibtool has command line parameters to specify
plugins, but they are not used by Xcode according to the build
transcript.
Could you file a bug asking for this? There should probably be an
'OTHER_IBTOOL_FLAGS' just like OTHER_C_FLAGS.
Sorry for the trouble -
Jon Hess
Thanks
Kai
_______________________________________________
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
_______________________________________________
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