react-native-braintree-dropin-ui icon indicating copy to clipboard operation
react-native-braintree-dropin-ui copied to clipboard

Error being thrown instead of a warning for bottomLayoutGuide being deprecated

Open smcgee31 opened this issue 3 years ago • 3 comments

I'm using Xcode 12.2 and when I build I'm getting an error that says 'bottomLayoutGuide' is deprecated: first deprecated in iOS 11.0 (similar message for 'topLayoutGuide') There are three instances of this error that all happen in the BTDropInController.m file:

  • safeAreaHeight
  • topLayoutAnchor
  • bottomLayoutAnchor

Each of these instances all have a check for iOS 11 if (@available(iOS 11.0, *)) and my Deployment Target is set to iOS 11.0 so I can't figure out why I'm getting an error instead of just a warning since the code checks for iOS 11.0 or greater . I've tried setting my Deployment Target to iOS 12.0 to see of that helps but there is no change.

smcgee31 avatar Jan 15 '21 21:01 smcgee31