So I downloaded a sample application and I’m guessing it was made before the iphone os 4. And when I try to compile it gives me that error.
I don’t know if the programming would be any different. Can someone tell me if there were any changes in programming between os 2.2.1 and os 4? How do I make this application compatible for os 4?
Thanks,
Elijah
Yes, there have been changes. You should read the docs on developer.apple.com to get up to speed.
If you are on the latest version of the SDK but have a project that is targeting an older version that you don’t have you can change the target by highlighting the project file in xcode and clicking the info button, then change the ‘Base SDK’ setting in the build options.
It will then probably build and run without errors, but there may well be warnings if the example is using old and deprecated features and even if there arent, there may be new easier or better ways of doing the same thing so I’d takes some time to read over the changes at developer.apple.com and get up to speed