Preventing creating an application with an SDK with a lower deployment target

I created a static library to deploy iOS 10.2. The library is integrated into the application with the goal of deploying 9.0.

Somehow the application builds and works fine on iOS 9.0. Why is this? Should the application be built even if the library is only for iOS 10.2 and higher?

+4
source share
1 answer

Yes . Your assembly will compile without errors if your Base sdk application is equal to or higher than the target of the deployment of the static library.

- . , , . sdk , , -So .

, ios , .

/​​ :

  • SDK (, ), .
  • SDK, , .
  • , . :

    • , ​​ , , , , .
    • , , target, , OS.

: developer.apple.com

, , sdk The image is from the link above, explaining which characters you can use depending on the deployment target and sdk base.

+6

Source: https://habr.com/ru/post/1671120/


All Articles