You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some libraries imported with SPM in Xcode12 have problems with minimum deployment target on iOS (and probably on other platforms). Xcode12 has bumped it to iOS 9, most libraries have it set up as iOS 8.
This results in a warning: 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.
The bigger problem arises, when there's a library requiring iOS 8 that depends on a library that does not have any minimum deployment target set: The package product 'iOSAnyPackage' requires minimum platform version 9.0 for the iOS platform, but this target supports 8.0
I can easily replicate this with a sample project with these local dependencies:
MyProject -> iOS8Package -> iOSAnyPackage
Attachment: Download
Additional Detail from JIRA
md5: b196685412c1ad6b814c75d72e7ed167
Issue Description:
Some libraries imported with SPM in Xcode12 have problems with minimum deployment target on iOS (and probably on other platforms). Xcode12 has bumped it to iOS 9, most libraries have it set up as iOS 8.
This results in a warning:
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.
The bigger problem arises, when there's a library requiring iOS 8 that depends on a library that does not have any minimum deployment target set:
The package product 'iOSAnyPackage' requires minimum platform version 9.0 for the iOS platform, but this target supports 8.0
I can easily replicate this with a sample project with these local dependencies:
MyProject -> iOS8Package -> iOSAnyPackage
iOS8Package:
iOSAnyPackage:
Examples from GitHub:
https://github.com/SDWebImage/SDWebImageWebPCoder - iOS 8, depends on https://github.com/SDWebImage/libwebp-Xcode that doesn't have any platform specified
A project reproducing this problem is attached
The text was updated successfully, but these errors were encountered: