File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,13 @@ group 'UI'
1111end
1212
1313group 'MergedSwiftPods' do
14- pod 'SnapKit'
15- pod 'SwiftyJSON'
14+ pod 'SnapKit'
15+ pod 'SwiftyJSON'
1616end
1717
1818group 'AlamofireGroup' do
1919 swift_version! '5.0'
20+ platform :ios, '11.0'
2021 has_dependencies!
2122
2223 pod 'Alamofire'
Original file line number Diff line number Diff line change 199199
200200This is especially handy if some of the pods in your group do not have a Swift Version defined in their ` podspec ` .
201201
202+ #### platform
203+
204+ If you have multiple platforms in your base Podfile, you can specify the ` platform ` for each group in your MergeFile
205+
206+ ``` ruby
207+ group ' SwiftPodsGroup'
208+ platform :ios , ' 11.0'
209+
210+ pod ' SwiftPodA'
211+ pod ' SwiftPodB'
212+ pod ' SwiftPodC'
213+ end
214+ ```
215+
216+ This is helpful when you have a Podfile with Pods for iOS, WatchOS, etc...
217+
202218## Version Control (like git)
203219
204220You should definitely commit the ` MergeFile ` into your repository, since this is just like your Podfile, and is required for the plugin to work.
You can’t perform that action at this time.
0 commit comments