New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PodTarget] Ensure the deployment target is high enough for frameworks #4537
Conversation
@CocoaPods/core thoughts on this one, please? |
@segiddins I'm not quite sure what this even does :) Could you outline the problem a bit? |
Makes sure the iOS deployment target is not less than 8.0 when using frameworks. |
I thought that we would already do that, that's what confused me, but turns out it is only something we check when validating the deployment target of a Pod. |
@@ -88,12 +88,30 @@ def label | |||
end | |||
end | |||
|
|||
# @return [Platform] the platform for this target. | |||
# The deployment target for the pod target, which is the maximum of all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This documentation probably wrongly copied.
604d4c9
to
f6a9018
Compare
|
@CocoaPods/core please review. I will update the integration specs and merge once i get a thumbs-up |
@segiddins Is the change in integration specs for I'm not sure this is an expected change. |
Yes, this is exactly the expected change, since the pod's deployment target (as set in the podspec) is 8.0 |
Could you direct me to the corresponding podspec? I see |
Ah sorry, was thinking about the other spec. No, it uses that podspec, but its integrating as a framework, so the minimum deployment target shouldn't be lower than 8.0 |
But the thing is it was also having |
it being 8.2 earlier was probably a bug. but yes, you're correct that user project deployment targets should no longer effect the deployment targets for podtargets |
So we could directly observed that your change really ensures the deployment target requirement for pod targets :) Thumbs up from me! |
…an 8.0 deployment target
…works [PodTarget] Ensure the deployment target is high enough for frameworks
closes #4552.
CHANGELOG(fixing a bug introduced since 0.39.0)This is really really gross, but more correct. Would appreciate suggestions on how to refactor it.