Swiftyjson: Xcode 12.0 Deployment target warning

Created on 17 Sep 2020  路  8Comments  路  Source: SwiftyJSON/SwiftyJSON

What actually happened?

Starting with Xcode 12.0, I get a deployment target warning: The iOS 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.

Environment

  • SwiftyJSON: 5.0.0
  • Xcode Version: 12.0 (12A7209)
  • Swift Package Manager 5.3.0

Most helpful comment

Maybe a version should be kept at this Package.swift and a newer version should be released that supports iOS 9 and upwards?

All 8 comments

@ritteraf it's a fast and easy fix if you use Cocoapods, but I have no idea how to disable this warning in Swift Package Manager

Other projects I've seen have simply been removing the platforms section of Package.swift to silence warnings. Not entirely sure the other implications of doing that though.

Maybe a version should be kept at this Package.swift and a newer version should be released that supports iOS 9 and upwards?

Any movement on this? SwiftyJSON is the best, but a warning showing in Xcode when I demo is the worst :( Thanks for any updates.

https://www.jessesquires.com/blog/2020/07/20/xcode-12-drops-support-for-ios-8-fix-for-cocoapods/

Yes, there's workaround for CocoaPods, but this issue is specifically for use with SPM.

Also using SwiftyJSON with SPM and get the same warning. Any news on this?

Updated for Xcode 12.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

posixrails picture posixrails  路  6Comments

kwstasna picture kwstasna  路  4Comments

patchthecode picture patchthecode  路  3Comments

AndrewC-B picture AndrewC-B  路  5Comments

ladislas picture ladislas  路  4Comments