Is there a way to cause compilation to fail if the deployment target is iOS 12 and the Kotlin native code references a class or method from a later os version?
I have tried this with no success, code compiles and the app crashes on launch.
a
Artem Olkov
05/31/2022, 7:43 AM
If you are using cocoapods integration - the easiest way will be to specify at your podspec
deployment_target
. In original ruby DSL of cocoapods it looks like this -
Unfortunately we aren’t using the Cocoapods integration. We have multiple frameworks and shared deps which results in some bad behaviour when xcode starts building the targets in parallel.