Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check for new SDK calls?

Tags:

iphone

iOS development is now done using only the latest SDK.

Is there any way to search my code base for calls not present in older SDKs, generate warnings when compiling code that requires newer SDKs, or some other way to find where the code will fail on older iOS versions?

A workaround that broke compiling entirely would also be acceptable. This is not something I want to ship with, just something I want to do to verify that I've handled everything properly. The application seems to run on devices running earlier versions of iOS, but I'd like to be able to prove this.

like image 434
Steven Fisher Avatar asked Nov 29 '25 15:11

Steven Fisher


1 Answers

No, I don't believe that there is a good way to find new calls not available in older SDK's. It's something I've wanted for a while.

The best thing I know of is to test your app thoroughly on a device running the oldest version of the OS that you plan to support.

like image 160
Caleb Avatar answered Dec 01 '25 21:12

Caleb