Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 19, 2011, 12:40 AM   #1
hrishidev
macrumors regular
 
Join Date: Dec 2007
changing Base SDK in xcode started giving errors

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

Quote:
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/QTKit.framework/Headers/QTMovieLayer.h:17: error: cannot find interface declaration for 'CALayer', superclass of 'QTMovieLayer'

Please help me to resolve this issue . Is there any guideline document for updrading Base SDK in xcode
hrishidev is offline   0 Reply With Quote
Old Apr 19, 2011, 02:05 AM   #2
gnasher729
macrumors G5
 
gnasher729's Avatar
 
Join Date: Nov 2005
Quote:
Originally Posted by hrishidev View Post
Please help me to resolve this issue . Is there any guideline document for updrading Base SDK in xcode
Have a look at that error message. Which file does it complain about? What SDK does it belong to?
gnasher729 is offline   0 Reply With Quote
Old Apr 19, 2011, 03:33 AM   #3
hrishidev
Thread Starter
macrumors regular
 
Join Date: Dec 2007
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)
hrishidev is offline   0 Reply With Quote
Old Apr 19, 2011, 04:48 AM   #4
gnasher729
macrumors G5
 
gnasher729's Avatar
 
Join Date: Nov 2005
Quote:
Originally Posted by hrishidev View Post
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)
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.

Last edited by gnasher729; Apr 19, 2011 at 08:21 AM.
gnasher729 is offline   0 Reply With Quote
Old Apr 21, 2011, 01:29 AM   #5
hrishidev
Thread Starter
macrumors regular
 
Join Date: Dec 2007
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.
hrishidev is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Tags
base sdk, xcode

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Getting started with XCode/Obj-C but have some outdated books. MikeonTV iPhone/iPad Programming 8 Apr 8, 2014 03:11 PM
Getting started with GMP and Xcode dw153 Mac Programming 1 Dec 2, 2013 01:24 PM
Mac started giving kernel panics.... jimjazzuk MacBook Pro 0 Jun 27, 2013 01:53 PM
Xcode giving me headaches jeanlain Mac Programming 2 Aug 30, 2012 02:05 PM
Xcode 4.5 errors Sixtafoua iPhone/iPad Programming 1 Jun 13, 2012 07:04 PM

Forum Jump

All times are GMT -5. The time now is 08:47 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC