Library iOS Deployment Target must to set minimum supported Version
The Example App minimum supported Version iOS 8
Library iOS Deployment Target is Default (the last iOS Version)
-
When using iOS 8 device run this app, it will crash at init app.
Because iOS 8 unsupport:
- (void)openURL:(NSURL*)url options:(NSDictionary<NSString *, id> *)options completionHandler:(void (^ __nullable)(BOOL success))completion NS_AVAILABLE_IOS(10_0) NS_EXTENSION_UNAVAILABLE_IOS("");
-
@available(iOS 10.0,*) will always true
Because iOS Deployment Target is Default (the last iOS Version)