Question

I've built an Objective-C application that works on 10.9, but not on 10.5 (Mac Mini Core Duo; 32-bit).

When I open the .DMG file (on the Mini), the icon includes the 'no' symbol (circle-with-a-line through it). When I attempt to launch the application, I get an error that reads You can't open the application [application name here] because it is not supported on this type of Mac..

Project's Build settings:

  • Base SDK: Latest OS X (OS X 10.9)
  • Valid Architectures: i386 x86_64
  • OS X Deployment Target: OS X 10.5

screenshot:

Program not supported on this type of mac computer

Relevant: enter link description here

What am I missing?

Was it helpful?

Solution

The default Architecture settings for OS X projects created in Xcode is Standard Architectures (which is - iirc - since XCode 5.1 the x86_64). To build it for 32bit and 64bit you need to check which architecture is listed with the different options for Architecture. Currently selecting Universal will build a universal 32bit and 64bit app.

The listed architectures for Standart Architectures and Universal could change with future updates of Xcode, if Apple would e.g. start to support another Architecture for their Desktop environment.

For further details about the difference between Valid Architectures and Architectures: What's the difference between “Architectures” and “Valid Architectures” in Xcode Build Settings?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top