Results 1 to 6 of 6
  1. #1
    Xcode Applications on other computers

    Member Since
    Feb 02, 2008
    Posts
    22
    Specs:
    Powermac G4, 1GHZ, 1.5GB Ram, 320GB, 320GB, 250GB HDs, Mac OS 10.4.11
    Xcode Applications on other computers
    Hi.

    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?

    Thanks.

  2. #2
    Xcode Applications on other computers

    Member Since
    Jan 12, 2008
    Posts
    15
    Specs:
    24" iMac Intel Core 2 Duo 2.4ghz 4GB Ram
    xcode
    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)_PPC.app

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

  3. #3
    Xcode Applications on other computers

    Member Since
    Feb 02, 2008
    Posts
    22
    Specs:
    Powermac G4, 1GHZ, 1.5GB Ram, 320GB, 320GB, 250GB HDs, Mac OS 10.4.11
    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
    Xcode Applications on other computers
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    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
    Xcode Applications on other computers

    Member Since
    Feb 02, 2008
    Posts
    22
    Specs:
    Powermac G4, 1GHZ, 1.5GB Ram, 320GB, 320GB, 250GB HDs, Mac OS 10.4.11
    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.

    Thanks.

  6. #6
    Xcode Applications on other computers

    Member Since
    Feb 02, 2008
    Posts
    22
    Specs:
    Powermac G4, 1GHZ, 1.5GB Ram, 320GB, 320GB, 250GB HDs, Mac OS 10.4.11
    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, 03:15 PM
  2. Deleting applications not in applications folder
    By livefortoday649 in forum OS X - Apps and Games
    Replies: 4
    Last Post: 03-13-2010, 10:31 AM
  3. older (10.3) applications, where are the Applications?
    By AshVanguard in forum OS X - Apps and Games
    Replies: 3
    Last Post: 01-24-2009, 06: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, 08:40 AM
  5. How to make applications run without sticking them in the applications folder
    By andrew.glesener in forum OS X - 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
  •