Closed diogot closed 3 years ago
There is more info on in Cocoapods issue section https://github.com/CocoaPods/CocoaPods/issues/9884. I can create a PR bumping the deployment target as well 👍
@bogren That would be really nice! I guess the same could be done for SPM
as I am getting similar warning
Yes 👍 Bumped in #325. Need to release.
@bogren the iOS version in Package.swift is still set to 8.0
though 🤔
I'll try to get a new version out with these fixes today
@k0nserv will you be updating the Package.swift file any time soon? It is still set to 8.0 and is causing issues with SPM on XCode 12.
Same for me. Could you please fix that for SPM.
@k0nserv Xcode 12 is now official. Please update the platforms in Package.swift as you promised. There are a number of people here waiting on you since October 2 for this fix.
Thanks for the reminder, 4.0.0 is out now with the bump
Thanks!
Report
What did you do?
Using SkyFloatingLabelTextField in SPM on Xcode 12 GM.
What did you expect to happen?
Don't show any build warning.
What happened instead?
Produces this warning:
Environment
Xcode Version: 12 GM SkyFloatingLabelTextField Version: 3.8.0 Deployment Target: iOS 12 Base SDK: iOS 14 Method of Integration: SPM
According to this thread the problem is that this line is overriding Xcode settings forcing
IPHONEOS_DEPLOYMENT_TARGET
to an unsupported SDK version by Xcode 12.The solution on the thread was remove the
platforms
section, because they support all platforms/versions so this might not work in this case.