Post

Replies

Boosts

Views

Activity

Reply to How to test app on old iOS/macOS version for backward compatibility?
Go to build settings in Xcode and add the following in other linker flags. -Wpartial-availability. This will flag any API call as a warning when it's not available on an older macOS version. Another tip is actually developing on the minimum macOS version you're still supporting and keeping the code base in Objective-C. There are some precompiled directives that deal with compiling against different SDK versions with the same code base. So you can actually debug your code on different versions.
Dec ’20