Results 1 to 6 of 6

Thread: Xcode Applications on other computers

  1. #1

    Member Since
    Feb 02, 2008
    Xcode Applications on other computers

    I am learning to use Xcode and have made the classic Currency Converter application using Cocoa and Objective C.

    I am running Xcode version 2.5 on mac os x 10.4.11.

    I set the Currency Converter application as a universal program so that it would work on intel computers.

    The problem is, after sending the application to my friend on an Intel MacBook running mac os x 10.4.9, he couldnt open it.

    I have set it to compile for Mac os 10.4(Universal), so shouldn't it work on all versions of 10.4?

    What am I doing wrong?


  2. #2

    Member Since
    Jan 12, 2008
    You can strip universal apps of their x86 or PPC code. (ie. if you want to make an app intel only or ppc only.)

    To get rid of x86 code, type the following into the terminal:
    ditto --rsrc --arch ppc (application).app (application)

    To get rid of PPC code, type:
    ditto --rsrc --arch x86 (application).app (application)

  3. #3

    Member Since
    Feb 02, 2008
    Thanks Zahnast, i'll keep that i mind.

    I would prefer that my applications work on both PPC and Intel at the moment though. In Xcode, I did i tick both Intel and PPC options, so I don't really get why it isn't working on my friends computer..

    It must have something to do with the compiler?

  4. #4

    xstep's Avatar
    Member Since
    Jun 25, 2005
    On the road
    Do a Get File Info on the file file and see if Kind is Universal. Also check to see if you have the XCode project set to Debug mode or Prodruction. I think that is the terminlogy.

  5. #5

    Member Since
    Feb 02, 2008
    In the Get Info it is universal.

    It could be in debug mode, would that cause it to not work?

    Ill look into that as soon as i get the stuff back from my old 40gb Hard Drive.


  6. #6

    Member Since
    Feb 02, 2008
    Yep that worked

    I deleted the debug build configuration so that the release build configuration was the default.

    Thanks for the help

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Xcode stopped letting me run Xcode app on iPad
    By ildsarria in forum iOS Development
    Replies: 1
    Last Post: 11-09-2011, 04:15 PM
  2. Deleting applications not in applications folder
    By livefortoday649 in forum macOS - Apps and Games
    Replies: 4
    Last Post: 03-13-2010, 11:31 AM
  3. older (10.3) applications, where are the Applications?
    By AshVanguard in forum macOS - Apps and Games
    Replies: 3
    Last Post: 01-24-2009, 07:35 AM
  4. Apple Macintosh OS 9 Applications (Mac Classic), Mac OS 9 Applications
    By nounousomes in forum Running Windows (or anything else) on your Mac
    Replies: 3
    Last Post: 12-31-2006, 09:40 AM
  5. How to make applications run without sticking them in the applications folder
    By andrew.glesener in forum macOS - Apps and Games
    Replies: 12
    Last Post: 05-25-2006, 05:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts