Re: Problem compiling first Cocoa app in Xcode 3.1
Re: Problem compiling first Cocoa app in Xcode 3.1
- Subject: Re: Problem compiling first Cocoa app in Xcode 3.1
- From: "Paul Denlinger" <email@hidden>
- Date: Sun, 20 Jul 2008 19:38:05 -0700
Thank you.
I have checked /usr/bin; there is no installation of Ruby there; it was moved to the /opt/local directory because of the Macports installation. Ruby will have to be downloaded, compiled and installed in the right directory.
All of this is a bit beyond my current capabilities, so if you know anyone who can do this, please have them contact me.
Thanks again,
Paul Denlinger
On Sun, Jul 20, 2008 at 6:06 PM, Thomas Wetmore <
email@hidden> wrote:
Paul,
You have to get /usr/bin at the front of your PATH, NOT /opt/local/bin and /opt/local/sbin. You want to find out whether you can get Xcode to work when it finds the RIGHT Ruby, not some other one.
Your .profile should have one of these two lines in it...
PATH=/usr/bin:$PATH
export PATH=/usr/bin:$PATH
You HAVE to do this in order to run the experiment of seeing if you can get the right ruby to do the copystrings.
Please give that a try. Putting those other bins first DOESN'T MEAN A THING, as they have nothing to do with Xcode or any other standard tools, and just obfuscates the problem. And if there is a ruby in one of them all bets are off. You HAVE to get the right ruby to come out at the top in order to find out where you are.
If things still don't work when you have /usr/bin at the start then you can go back to whatever else people are telling you to do, but until you try to get the right ruby working you don't know diddly.
I think I'm running out of ways to express myself!
Tom Wetmore
On Jul 20, 2008, at 8:43 PM, Paul Denlinger wrote:
I used the "open .bash_profile" command to see the path and it is:
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
Following Sam Net's instructions, I have edited the path variables to:
export PATH="/opt/local/bin:/opt/local/sbin:/usr/bin:sw/bin$PATH"
Just tried running the xcodetestrun app again and got the same error message:
Building target "xcodetestrun" of project "xcodetestrun" with configuration "Release" — (1 error)
cd /Users/pdenlinger/Sites/xcodetestrun
/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings --validate --inputencoding UTF-16 --outputencoding UTF-16 English.lproj/InfoPlist.strings --outdir /Users/pdenlinger/Sites/xcodetestrun/build/Release/xcodetestrun.app/Contents/Resources/English.lproj
error: can't exec '/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings' (No such file or directory)
error: can't exec '/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings' (No such file or directory)
error: can't exec '/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings' (No such file or directory)
Build failed (1 error)
Paul D
--
Paul Denlinger
"Risk is about seeing opportunities when others see challenges."
Skype: pdenlingercbs
Profile:
http://www.linkedin.com/in/pauldenlinger
Visit my blog at
www.chinavortex.comChina | Business | Economy | Internet|Technology
DISCLAIMER:
The content of this email and any attachment may contain proprietary and confidential information. It is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient of this message, please notify the sender by replying to this message and then deleting it from your system. Use, dissemination, distribution or reproduction of this message by unintended recipients is not authorized and may be unlawful.
_______________________________________________
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