devicekit / DeviceKit

DeviceKit is a value-type replacement of UIDevice.
MIT License
4.4k stars 425 forks source link

[SPM] The deployment target is lower than supported target versions in Xcode 14 - beta #317

Closed haihw closed 1 year ago

haihw commented 2 years ago

I got this error in Xcode 14 - beta when integrating using SPM

<>/SourcePackages/checkouts/DeviceKit/Package.swift: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'DeviceKit' from project 'DeviceKit')

I looked for a way to override the deployment target from my project, but found nothing. Not sure is it possible for SPM.

Thanks for checking