[MonoDevelop] [Mono-osx] ibtool seems to be gone after update
Steve Lessard
s_lessard at yahoo.com
Fri Jan 21 11:04:22 EST 2011
I still don't know how to solve it, but I did figure out what the cause is. In
MonoDevelop's execution environment the /Developer/usr/bin directory is not
included in the PATH environment variable.
I figured this out by executing MonoDevelop with the command
'/Developer/Applications/MonoDevelop.app/Contents/MacOS/monodevelop' so it would
pick up my Bash shell's environment which does have /Developer/usr/bin in the
PATH. In this new instance of MonoDevelop I was able to compile the project
without this error. To further prove this is a problem with the PATH variable I
quit that instance of MonoDevelop and launched a new one by clicking its icon in
the Dock. I added a custom build step to run printenv to dump the environment
variables. The output (shown below) says it all.
So how do I add /Developer/usr/bin to the PATH for GUI applications not launched
from the command line?
Executing: /bin/bash -c /usr/bin/printenv
DYLD_FALLBACK_LIBRARY_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib:/lib:/usr/lib:
SHELL=/bin/bash
TMPDIR=/var/folders/+5/+5xDEBLzEbKxnL5dtpdzxU+++TM/-Tmp-/
Apple_PubSub_Socket_Render=/tmp/launch-vcsDdB/Render
USER=slessard
COMMAND_MODE=unix2003
SSH_AUTH_SOCK=/tmp/launch-WZhObl/Listeners
__CF_USER_TEXT_ENCODING=0x1F6:0:0
_WAPI_PROCESS_HANDLE_OFFSET=42
PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:/usr/bin:/bin:/usr/sbin:/sbin
PWD=/Users/slessard/Downloads/Clancey-MonoMac.Windows.Form-b0d3ca0/MonoMac.Windows.Form/TextboxSample
HOME=/Users/slessard
SHLVL=1
LOGNAME=slessard
PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/External/pkgconfig:/Developer/Applications/MonoDevelop.app/Contents/MacOS/lib/pkgconfig:
DISPLAY=/tmp/launch-ycq1QN/org.x:0
MOONLIGHT_SDK_PATH=/Developer/Applications/MonoDevelop.app/Contents/MacOS/lib/moonlight
MSBuildExtensionsPath=/Library/Frameworks/Mono.framework/External/xbuild:
_=/usr/bin/printenv
________________________________
From: Florian Heiber <flo at rootof.net>
To: Steve Lessard <s_lessard at yahoo.com>
Cc: monodevelop-list at lists.ximian.com
Sent: Fri, January 21, 2011 6:58:28 AM
Subject: Re: [Mono-osx] ibtool seems to be gone after update
Hi Steve,
I solved it by going back to Xcode 3.2.4. I'm not quite sure about the other
application's versions I had installed back then. But I assume that MonoDevelop
was 2.4, not 2.4.1.
Best
–f
On 21.01.2011, at 15:53, Steve Lessard wrote:
I've hit this same build error when building the MonoMac.Windows.Forms solution
in MonoDevelop:
>
>
>"Error: ibtool not found. Please ensure the Apple SDK is installed."
>
>
>I do have Xcode installed and I do have the OS X SDK installed. ibtool is on my
>Mac at /Developer/usr/bin/ibtool. I've looked for clues on how to fix this
>problem, but haven't found anything. I grep'ed the entire solution with 'grep
>-ir ibtool .' but there were no hits. How can I fix this error?
>
>
>-SteveL
>
>
>p.s. I'm running Xcode 3.2.4 (64-bit), MonoDevelop 2.4.1 and mono 2.8.1 on OS X
>10.6.6. Running /Developer/usr/bin/ibtool --version reports it is version 3.2.4
>(804).
>
>
>
>
>
________________________________
From: flohei <flo at rootof.net>
>To: mono-osx at lists.ximian.com
>Sent: Tue, November 23, 2010 8:15:43 AM
>Subject: [Mono-osx] ibtool seems to be gone after update
>
>
>Hi there,
>
>I've just updated my Xcode to 3.2.5 and since then MonoDevelop complains
>that it can't find the Interface Builder anymore. Is there a way to set the
>path manually?
>
>"Error: ibtool not found. Please ensure the Apple SDK is installed."
>
>Thanks a lot
>–f
>--
>View this message in
>context: http://mono.1490590.n4.nabble.com/ibtool-seems-to-be-gone-after-update-tp3055735p3055735.html
>
>Sent from the Mono - OSX mailing list archive at Nabble.com.
>_______________________________________________
>Mono-osx mailing list
>Mono-osx at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-osx
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20110121/5f58aeb4/attachment.html
More information about the Monodevelop-list
mailing list