I build my project with the latest SDK (4.1) and set "iOS Deployment Target" (3.0). Can I run my project on a real iPhone 3.0 if I use some methods of 4.0 sdk?
In short, every application that runs on one of Apple's platforms has a deployment target. A deployment target is nothing more than the minimum version of the operating system the application can run on. Fire up Xcode and create a new project by choosing the App template from the iOS > Application section.
The central component of the iOS SDK is Xcode, Apple's interactive development environment (IDE). Xcode facilitates building apps for OS X, iOS and WatchOS. Xcode includes the interface, the LLVM compiler, instruments and iOS simulator tools that make development and testing possible without an Apple device.
A target specifies a product to build, such as an app, framework, app extension, or unit test. A project can contain multiple targets, usually representing related parts of a single product. For example, a project might contain separate targets for an app, a private framework, an app extension, and a suite of tests.
Related Definitions deployment target date means the date by which the deployment of the ATM functionality in question is to be completed and fully used operationally.
You can only run your project on OS 3 devices if you conditionally code around the OS 4 methods you want to use. If you called a method that only existed in iOS 4 on an iOS 3 device your app would crash. You can do this through both checking iOS version numbers and using the [... respondsToSelector:] method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With