changing Base SDK in xcode started giving errors

Discussion in 'Mac Programming' started by hrishidev, Apr 18, 2011.

  1. macrumors regular

    Joined:
    Dec 3, 2007
    #1
    I have legacy codebase for which base SDK was set to 10.4 . Now I changed the base SDK project setting to 10.5 and tried to build the project.
    I am getting following error


    Please help me to resolve this issue . Is there any guideline document for updrading Base SDK in xcode
     
  2. macrumors G5

    gnasher729

    Joined:
    Nov 25, 2005
    #2
    Have a look at that error message. Which file does it complain about? What SDK does it belong to?
     
  3. thread starter macrumors regular

    Joined:
    Dec 3, 2007
    #3
    Thanks for reply . It is obviously visible that the complaint is about 10.4 sdk

    I was bit surprized by the error message having reference to 10.4 sdk but all the frameworks belong to to absolute path "/System/Library/Frameworks/***.framework"

    (by clicking get Info button on individual frameworks)
     
  4. gnasher729, Apr 19, 2011
    Last edited: Apr 19, 2011

    macrumors G5

    gnasher729

    Joined:
    Nov 25, 2005
    #4
    So find the source file giving the error, Preprocess, and check where and why it includes that header file.

    And System frameworks should have Path Type = Relative to current SDK.
     
  5. thread starter macrumors regular

    Joined:
    Dec 3, 2007
    #5
    Thanks gnasher729 , your reply triggered me think alternately .

    The problem resolved now , after changing the base SDK ,we need to change Framework Search path setting in target as well.
     

Share This Page