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 13:26:25 -0700
Just had a quick phone chat with a developer and mentioned the problem. Unfortunately, he is a Linux guy so he couldn't help me, but he suggested creating an alias in the command line so that it could find the Ruby interpreter.
He said that the problem may be that Xcode is looking for the Ruby interpreter in the default Apple directory, but since Macports changed it to the /opt/local directory and it is necessary to add /opt//ocal/bin and /opt/loca/sbin to the default paths.
I'm not a Unix guru, so what it the best way to create aliases and add these paths? And are these the right solutions?
TIA
Paul D
On Sun, Jul 20, 2008 at 12:18 PM, Thomas Wetmore <
email@hidden> wrote:
Paul,
Well, un-hmmmmm the last hmmmmm.
Weird, the files in my projects are visible to me from the terminal. When you run ls again add the -a option to see what happens (that's the "all" option, which used to mean show all the entries).
I am now officially stumped by your problem. Well, maybe not entirely. Have you ever tired to open the copystrings program in a text editor to see if it is just another shell program of one type or another? Hang on, I'll go do that now and see ...
Okay, copystrings is a Ruby script. So now you want to make sure that the ruby that you're using is the right ruby. Do a "which ruby" in your terminal to see where your ruby is coming from. When I do that I get ...
/usr/bin/ruby
If this is not what you are getting I would move my suspicions right here as the next thing to check out.
Tom W.
On Jul 20, 2008, at 3:08 PM, Paul Denlinger wrote:
I have just used the Finder to go in and look for the files which I looked for in the terminal and could not find, and in contrast, they seem to be there.
I have done a screen grab and uploaded them so that you can view them in the browser.
http://picasaweb.google.com/paul.denlinger/XcodeDebugScreengrabs/photo?authkey=VhBbzOhg1Io#5225174534482473122
Paul D
On Sun, Jul 20, 2008 at 11:55 AM, Paul Denlinger <email@hidden> wrote:
Hmmm...
I went in the terminal, and it looks like the parent directory is being created without any child directories. Here is what I got:
ls Sites
Agile Development with RoR2 jQuery demo
China Clean Tech Report Website jQuery in Action.tmproj
China Consumer Internet Report Website ror_exercise_files
China Consumer Trends Report Website stylin2_files_build2_28_08
DW CS3 exercise files test.php
chinavortex.com webLearningSeries
essential_guide_DWCS3 xcodetestrun
jQuery Test
paul-denlingers-macbook-pro:~ pdenlinger$ cd xcodetestrun
paul-denlingers-macbook-pro:xcodetestrun pdenlinger$ ls
paul-denlingers-macbook-pro:xcodetestrun pdenlinger$ ls -l
paul-denlingers-macbook-pro:xcodetestrun pdenlinger$ ls -ld
drwxr-xr-x 2 pdenlinger staff 68 Jul 20 11:00 .
Paul D
_______________________________________________
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