Results 1 to 3 of 3
  1. #1

    Member Since
    Oct 02, 2010
    Xcode build error
    I'm running Leopard OSX 10.6.4 on a macbookpro. I wanted to write a simple c program. I've downloaded xcode from the developers web site. Just to make sure things work properly I tried to build the HelloView program and received the following error:

    "GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file main.m)"

    What do I need to change/fix?

  2. #2

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    2012 13" MBP (2.5 i5, 8GB)
    I am by no means an Xcode pro but if you go to Project > Select Active SDK, are you given the option to change to the "Mac OS X 10.6 (Base SDK)"?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  3. #3

    Member Since
    Oct 02, 2010
    build error now fixed
    Found the miscreant in the preferences - changed Project - Edit Project Settings from 10.4 to 10.6. XCode must have copied a setting from my previous 10.4 OS. All now appears to work properly. Thank you for pointing me in the right direction.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Xcode 4: Add Build Carbon Resources Build Phase
    By Tommato in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 06-15-2012, 02:27 PM
  2. Xcode build is really slow all of the sudden!!
    By michig54 in forum iOS Development
    Replies: 1
    Last Post: 01-02-2012, 04:31 PM
  3. having problems with xcode build
    By ironhide707 in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 08-12-2010, 05:14 AM
  4. xcode build help
    By universible in forum OS X - Development and Darwin
    Replies: 4
    Last Post: 02-23-2008, 04:25 AM
  5. XCode build hangs?
    By robin in forum OS X - Development and Darwin
    Replies: 3
    Last Post: 01-12-2004, 01:42 AM

Posting Permissions

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