Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Pavel Palancica
6,535 PointsI have a question about iOS core data
Hey guys,
I am working on a project and I want to use the Core Data framework. I am using Xcode 4.6 and iOS SDK 6.1. However, I want to make my project iOS 4.3 backward compatible.
When I want to add the Core Data framework, it appears under an iOS SDK 6.1 folder/section.
My question is:
Should it work the way am doing it, or I have to change the SDK of the project to 4.3?
Thanks in advance
6 Answers
Amit Bijlani
Treehouse Guest Teacher@Pavel You have to set your target to 4.3. Since Core Data has been available since 3.x and above you should be fine. What you should be worried about is using features that were not available in 4.3. Deploy mate can help you with that.
Pavel Palancica
6,535 PointsThanks Amit,
I actually changed the Deployment Target in the Project->Info section and in Targets->Summary section.
But in the Navigator, under the Project's blue button, it still says iOS 6.1.
Should it go ok, or I still have to make any other change?
Thanks
Amit Bijlani
Treehouse Guest TeacherThat should be fine because you are building with iOS 6.1. You could download the 4.3 simulator to test. Go to preferences -> Downloads -> Components and there you can install simulators for older versions of iOS.
Pavel Palancica
6,535 PointsI'm on Mountain Lion, and iOS 4.3 Simulator seems to not appear in that section for installing.
http://stackoverflow.com/questions/12511191/xcode-4-5-runs-ios-4-0-simulator-not
Do you know any other solutions?
Thanks a lot
Amit Bijlani
Treehouse Guest TeacherSorry, no idea. Although I would question why you want such backward compatibility. According to this article it seems like most devices use iOS version 5 and above.
Pavel Palancica
6,535 PointsThanks a lot, Amit.
I have to discuss with the client, maybe we can just ignore the small fraction of users that use iOS 4.3 :)