Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 501063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:09:04+00:00 2026-05-13T06:09:04+00:00

This is something really simple, but I can’t seem to find the answer anywhere,

  • 0

This is something really simple, but I can’t seem to find the answer anywhere, and I’m new to both Mac and UNIX, which doesn’t help.

I’ve installed Xcode on my mac, along with the iPhone SDK 3.2. I’m trying to run Xcode command utilities that came with the SDK from the unix terminal, but I don’t know how to update the paths so that the system knows where to find them. Here is what I do.

  1. I launch the Terminal application
  2. I want to run ‘xcrun’, so I just type ‘xcrun’
  3. I get an error saying ‘-bash: xcrun: command not found’
  4. I have xcrun installed under /Developer/usr/bin

Is there some sort of PATHS environment variable that I need to permanently update? Or perhaps Xcode comes with its own Terminal application with those new paths already baked in? Finally, what’s the difference between sh and bash?

Thanks for the help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T06:09:05+00:00Added an answer on May 13, 2026 at 6:09 am

    I’m using Snow Leopard + Xcode, and xcodebuild and xcrun are both present at /usr/bin. Regardless, they should be present at /Developer/usr/bin — you just have to make sure that path is in your $PATH variable. You can set it in your shell configuration file (~/.bashrc for bash) like so:

    export PATH="/Developer/usr/bin:${PATH}"
    

    As for the difference between sh and bash, bash supports some extensions and other features not found in the more primitive sh; however, on Mac OS X, sh and bash are the same program (this is typical on many Unix and Linux systems nowadays). However, when bash is invoked as sh (that is, you call /bin/sh from the command line, rather than /bin/bash), bash will try to act like the more “traditional” sh program.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is something I've always wondered, and I can't find any mention of it
I may be missing something here because I thought this might be really easy
This is something simple I came up with for this question . I'm not
This is something that I always find a bit hard to explain to others:
This is something that I have always wondered about, but never bothered to profile.
Hey guys, I thought this would be an incredibly simple thing to do, but
Something like var life= { users : { guys : function(){ this.SOMETHING.mameAndDestroy(this.girls); }, girls
This is something I've pseudo-solved many times and have never quite found a solution
This is something that I think would be very useful. Basically, I'd like there
This was something originally discussed during a presentation given by Charles Brian Quinn of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.