OK, I have made the changes and this is the input/output from the current session:
cat .profile
cat: .profile: No such file or directory
paul-denlingers-macbook-pro:/ pdenlinger$ /
-bash: /: is a directory
paul-denlingers-macbook-pro:/ pdenlinger$ ls
Applications cores
Applications alias dev
Desktop DB etc
Desktop DF home
Developer mach_kernel
Library mach_kernel.ctfsys
Network net
System opt
User Guides And Information private
Users sbin
Volumes tmp
bin usr
cocoaNotepad var
cocoaNotepad2
paul-denlingers-macbook-pro:/ pdenlinger$ mkdir .profile
paul-denlingers-macbook-pro:/ pdenlinger$ ls
Applications cores
Applications alias dev
Desktop DB etc
Desktop DF home
Developer mach_kernel
Library mach_kernel.ctfsys
Network net
System opt
User Guides And Information private
Users sbin
Volumes tmp
bin usr
cocoaNotepad var
cocoaNotepad2
paul-denlingers-macbook-pro:/ pdenlinger$ ls -l
total 42285
drwxrwxr-x+ 30 root admin 1020 Jul 20 08:19 Applications
-rw-r--r--@ 1 pdenlinger admin 0 Jun 28 01:21 Applications alias
-rw-r--r--@ 1 root admin 63488 Jul 17 23:47 Desktop DB
-rw-r--r--@ 1 root admin 1602 Jan 10 2008 Desktop DF
drwxrwxr-x@ 18 root admin 612 Jul 20 08:10 Developer
drwxrwxr-t+ 61 root admin 2074 May 30 00:59 Library
drwxr-xr-x@ 2 root wheel 68 Sep 23 2007 Network
drwxr-xr-x 4 root wheel 136 Jun 11 06:54 System
lrwxr-xr-x 1 root admin 60 Jan 10 2008 User Guides And Information -> /Library/Documentation/User Guides and Information.localized
drwxr-xr-x 7 root admin 238 Jul 15 18:09 Users
drwxrwxrwt@ 8 root admin 272 Jul 20 11:01 Volumes
drwxr-xr-x@ 40 root wheel 1360 Jun 11 06:51 bin
drwxr-xr-x 8 pdenlinger admin 272 Jul 20 07:42 cocoaNotepad
drwxr-xr-x 8 pdenlinger admin 272 Jul 20 09:00 cocoaNotepad2
drwxrwxr-t@ 2 root admin 68 Sep 23 2007 cores
dr-xr-xr-x 2 root wheel 512 Jul 17 16:48 dev
lrwxr-xr-x@ 1 root admin 11 Jan 10 2008 etc -> private/etc
dr-xr-xr-x 2 root wheel 1 Jul 17 16:48 home
-rw-r--r--@ 1 root wheel 10293308 Jun 9 19:37 mach_kernel
-rw-r--r--@ 1 root wheel 10742313 Jun 9 19:37 mach_kernel.ctfsys
dr-xr-xr-x 2 root wheel 1 Jul 17 16:48 net
drwxr-xr-x 3 root admin 102 Jan 29 19:34 opt
drwxr-xr-x@ 6 root wheel 204 Jan 10 2008 private
drwxr-xr-x@ 66 root wheel 2244 Jun 11 06:51 sbin
lrwxr-xr-x@ 1 root admin 11 Jan 10 2008 tmp -> private/tmp
drwxr-xr-x@ 12 root wheel 408 Jan 24 22:47 usr
lrwxr-xr-x@ 1 root admin 11 Jan 10 2008 var -> private/var
paul-denlingers-macbook-pro:/ pdenlinger$ cat .profile
cat: .profile: Is a directory
paul-denlingers-macbook-pro:/ pdenlinger$ .profile PATH=/usr/bin:$PATH
-bash: .profile: command not found
paul-denlingers-macbook-pro:/ pdenlinger$ cd .profile PATH=/usr/bin:$PATH
paul-denlingers-macbook-pro:.profile pdenlinger$ echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/opt/local/lib/postgresql83/bin:/usr/sbin:/usr/bin:/opt/local/bin:/opt/local/sbin:/opt/local/lib/postgresql83/bin@./usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
paul-denlingers-macbook-pro:.profile pdenlinger$ echo PATH=/usr/bin:$PATH
PATH=/usr/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/opt/local/lib/postgresql83/bin:/usr/sbin:/usr/bin:/opt/local/bin:/opt/local/sbin:/opt/local/lib/postgresql83/bin@./usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
paul-denlingers-macbook-pro:.profile pdenlinger$
ter
I then quit and started a new session, and got the following output:
echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/opt/local/lib/postgresql83/bin:/usr/sbin:/usr/bin:/opt/local/bin:/opt/local/sbin:/opt/local/lib/postgresql83/bin@./usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
Then I went back into Xcode and tried to make a build and got the same results:
Building target "xcodetestrun" of project "xcodetestrun" with configuration "Release" — (1 error)
mkdir /Users/pdenlinger/Sites/xcodetestrun/build/Release/xcodetestrun.app/Contents/Resources/English.lproj
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)
Question: I know that there are quite a few people running Macports for their installs. Shouldn't they be running into the same error if Macports changes the default directories?
Paul D
On Sun, Jul 20, 2008 at 2:29 PM, Thomas Wetmore <
email@hidden> wrote:
Paul,
Yes, you can see how deep into your path you have to go before you get to /usr/bin, where the right ruby is presumably located.
To see if you have a .profile file, use ls -a , not ls -l (sorry I led you astray there).
You can just type "cat .profile" in the terminal for a quick and dirty way to see if it exists and if it does what's in it.
If you don't have one, you can use any editor that can write text to create it. Use TextEdit as the lowest common denominator, or vi, or emacs, or BBedit, or cat, or you can probably do it in Xcode as well. Just be sure to save the file in your home directory with the name .profile.
Tom W.
On Jul 20, 2008, at 5:19 PM, Paul Denlinger wrote:
The output from the commands is after the chevrons.
TIA,
Paul D
On Sun, Jul 20, 2008 at 1:56 PM, Thomas Wetmore <email@hidden> wrote:
Paul,
I believe your problem is that Xcode is not using the right ruby because of your Macports installation.
.......
--
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.