| OS X - Development and Darwin Discussion and questions about development for Mac OS X. |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Feb 02, 2008
Posts: 22
![]() Mac Specs: Powermac G4, 1GHZ, 1.5GB Ram, 320GB, 320GB, 250GB HDs, Mac OS 10.4.11
|
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. |
| QUOTE Thanks | |
![]() Member Since: Jan 12, 2008
Posts: 15
![]() Mac Specs: 24" iMac Intel Core 2 Duo 2.4ghz 4GB Ram
|
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 |
| QUOTE Thanks | |
![]() Member Since: Feb 02, 2008
Posts: 22
![]() Mac Specs: Powermac G4, 1GHZ, 1.5GB Ram, 320GB, 320GB, 250GB HDs, Mac OS 10.4.11
|
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? |
||||
| QUOTE Thanks | |||||
![]() Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
|
|
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Xcode 1.5 | alejandrico | OS X - Development and Darwin | 0 | 06-03-2006 05:56 PM |
| How to make applications run without sticking them in the applications folder | andrew.glesener | OS X - Apps and Games | 12 | 05-25-2006 05:40 PM |
| Applications showing up as volumes? | oinkydoodle | Switcher Hangout | 5 | 08-13-2005 02:15 PM |
| Xcode doesn't run application correctly | dr_springfield | OS X - Development and Darwin | 5 | 04-06-2004 11:22 PM |
| New Xcode plug-in helps developers reuse code | Murlyn | OS X - Development and Darwin | 0 | 11-10-2003 12:16 PM |
All times are GMT -4. The time now is 03:18 AM.
Powered by vBulletin