I've searched around including the iOS SDK Compatibility Guide but cannot get an explanation of this.
I understand that:
- Deployment target is the earliest OS version an App can run on
- Base SDK is the SDK it will be compiled using and whose features can be used if the run time device supports them
What I'm struggling with is how __IPHONE_OS_VERSION_MIN_REQUIRED can be used when this is fixed at compile time and the device's OS is only known at run time. So the code that I submit will always compile the same.
Or are multiple versions compiled automatically?
Can someone please explain?
Many thanks,
Chris.