Anthony
Anthony

Reputation: 75

Delphi 10.1 berlin multiple ios SDKs

I have latest delphi and xcode etc running iphone sdk 10.2. Is there a way to setup a new platform and build to say ios 9? My list of sdks only shows 10.2. Not sure about supporting olders phones etc

Upvotes: 1

Views: 765

Answers (1)

zdzichs
zdzichs

Reputation: 205

You do not need to install earlier versions of SDK. The application compiled with Delphi Berlin will work at all versions of iOS, as stated in Options/Delphi Compiler/Linking/Minimum iOS version supported. FMX library will work with iOS API 8..10 (there are some checks for version in source code - look for "TOSVersion.Check"). So as long as you will not use any extra iOS API "by hand", it will work for all devices running iOS 8..10. It is also possible, that basic applications will work for earlier versions, but it is of course unsupported. For iOS 10 remember about extra security-related settings: http://docwiki.embarcadero.com/PlatformStatus/en/Main_Page Summary: you do not need separate SDK nor extra version of the app for different iOS versions.

Remark about iOS development: in fact, xcode 8 also limits the target to iOS>=8, while you can setup it regardless of SDK in the project options in range 8..10. It is possible to force xcode 8 to compile and link against iOS 7 devices, but it is very hard to test and deploy, thus useless.

Upvotes: 2

Related Questions