6 Replies Latest reply: May 10, 2013 6:29 PM by mmoralesge
Chap Harrison Level 1 Level 1 (115 points)
I just dl'ed the latest Xcode (3.2.5) and wanted to work through the "Tour Of Xcode" document. It refers to a project "CFLocalServer" which I was also able to find and download from the Mac Dev site. I clicked on CFLocalServer.xcodeproj, and it opened in Xcode. However, on the main Project window, the "Overview" pulldown (which should say something like "10.6 | Release | x86...") contains the text "Base SDK Missing".

Does this indicate a problem with the CFLocalServer sample project, or with my development environment?


2.4GHz MacBook Pro, Mac OS X (10.6), Xcode 3.2.5
  • Chap Harrison Level 1 Level 1 (115 points)
    Ok, I may have fixed it. Certainly not claiming this is the right way to fix it, but now it compiles and runs. Here's what I did:

    1. Before opening CFLocalServer.xcodeproj for the first time, unStuff build.sitx (this may require getting Stuffit Expander). If you don't do this, Xcode will automatically create its own Build folder which will have an incompatible structure.
    2. Open CFLocalServer.xcodeproj
    3. Go to *Project > Edit Project Settings > General*
    4. Change *Project Format* to *Xcode 3.2-compatible*
    5. Set *Base SDK for All Configurations* to *Latest Mac OS X*
    6. Set *Project > Set Active Architecture* to i386
    7. Set *Project > Set Active Build Configuration* to Development
    8. Go to *Project > Edit Project Settings > Build*. Scroll all the way down. Near the bottom is a checkbox labeled *Treat Warnings as Errors*. Uncheck this (the build emits four warnings that your SDK does not support anything prior to OSX 10.4; we don't care).
    9. At this point, the main project window's "Overview" dropdown menu, which previously said "Missing Base SDK", should now say "Development | etc." and, by clicking on it, you can set the active target to All and the active executable to Server and the active architecture to i386.

    Apple may want to update this -- pretty tough when this is one's intro to Xcode.
  • pcblues Level 1 Level 1 (0 points)
    There is an option to install 10.4 SDK at the install of Xcode that is not checked. I checked it and it installed the SDK that was missing.

    Cheers and happy coding.
  • etresoft Level 7 Level 7 (27,125 points)
    Another option is to double-click on the project file, change the Bask SDK, close the project, and reopen it.
  • Pierre Albarede Level 1 Level 1 (5 points)
    Here is a complete link for sample code :

    <http://developer.apple.com/library/mac/#samplecode/CFLocalServer/Introduction/I ntro.html>
  • 4our Level 1 Level 1 (0 points)



    Thank you! This link is exactly what I needed and couldn't find myself on developer.apple.com.


    I'm using Xcode 3.2.6 on OS X 10.6.8 Snow Leopard.*


    I'm new to Mac dev and Xcode so I opened up "A Tour of Xcode:Xcode Features Overview" to begin getting to konw Xcode and how to use it and develop in it. The VERY FIRST step is to download the sample code project, ' "CFLocalServer" the ADC Mac OS X Reference Library'... Simple. But No! I hunted and hunted but didn't find any hint of an archive like Apple's "Mac Retired Documents Library" which you've linked to.


    NOW, I can begin.




  • mmoralesge Level 1 Level 1 (0 points)