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
I would like to be able to have the ability specify in a podspec that the pod defaults to only the root spec and does not auto-include any of the subspecs as dependencies. (the equivalent of s.default_subspecs = [])
Given that you can make a pod with no subspecs, it seems logical that a pod should be able to specify that only the root spec should be included by default. This would allow pod authors to add optional functionality as subspecs without needing to create a dummy subspec to set as the default_subspec.
The text was updated successfully, but these errors were encountered:
So setting s.default_subspecs = [] is possible but has a different effect than the issue description here intends to accomplish. We might be better off introducing a s.default_subspecs = :root or s.default_subspecs = :none or maybe s.default_subspecs = nil which for some reason the last one seems to me a bad idea :)
At the very least we should ensure this change does not break the existing expected behavior unless the pod author explicitly updates their podspec to designate that all subspecs are "optional". I am also curious and want to ensure pod consumers are given a choice today which I think they do with pod 'PodA', :subspecs => [...] option.
I would like to be able to have the ability specify in a podspec that the pod defaults to only the root spec and does not auto-include any of the subspecs as dependencies. (the equivalent of
s.default_subspecs = []
)Given that you can make a pod with no subspecs, it seems logical that a pod should be able to specify that only the root spec should be included by default. This would allow pod authors to add optional functionality as subspecs without needing to create a dummy subspec to set as the
default_subspec
.The text was updated successfully, but these errors were encountered: