Applescript Studio build failed

Discussion in 'Mac Programming' started by RonG, Apr 27, 2005.

  1. macrumors newbie

    Joined:
    Apr 27, 2005
    #1
    Hi all,

    I downloaded and am using Xcode 1.5. After opening a new project (assuming I choose any Applescript template (Carbon/Cocoa applications build fine)) and saving it in a variety of places (both in my documents folder, and on the desktop) I get Build failed (1 error) with the following message in the build log:

    /bin/sh: line 1: /usr/bin/osacompile: No such file or
    *directory
    *...failed OSACompile

    Anyone got any ideas what is wrong/how I can get it working?

    Thanks in advance
    RON
     
  2. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    Open a Terminal window and type:

    ls -l /usr/bin/osacompile

    I get:

    ls -l /usr/bin/osacompile
    -r-xr-xr-x 1 root wheel 126456 20 Apr 10:45 /usr/bin/osacompile

    If you have different permissions try repairing permissions. If you get a "No such file or directory" your XCode (or at least ASS) install is not complete.
     
  3. thread starter macrumors newbie

    Joined:
    Apr 27, 2005
    #3
    Robbie
    Thanks for your reply.
    I found that I needed to install BSD subsystem from my 10.3 install disc, and this has sorted out the problem.
    Thanks again
    Ron
     

Share This Page