Reputation: 911
After updating to Xcode 12, I've got lots of warnings for SPM dependencies (including RxSwift and Facebook).
The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99.
Can I suppress these warnings somehow, or is the only way to wait till the creators of appropriate frameworks fixed it?
Upvotes: 42
Views: 2771
Reputation: 386
You can try:
@available(iOS, deprecated: 9.0)
or this:
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
Upvotes: 1