carson-katri / swift-request

Declarative HTTP networking, designed for SwiftUI
MIT License
727 stars 41 forks source link

ios10 cannot use Json #29

Closed Wenbile closed 4 years ago

Wenbile commented 4 years ago

Compiling for iOS 10.0, but module 'Json' has a minimum deployment target of iOS 13.0

carson-katri commented 4 years ago

This is due to a dependence on Combine for the Request library. I believe that you must set the minimum target for all libraries in the package, so there isn’t a way for the Json library to have a lower target.

There are other Json libraries such as SwiftyJSON which work quite well and you may consider instead.

Hope it works out and eventually you can target iOS 13 as the minimum 😀