Skip to content

Commit

Permalink
Add the Subspecs group to the Mergefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Vkt0r committed Apr 6, 2021
1 parent 28d3911 commit 82037b1
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
5 changes: 5 additions & 0 deletions PodMergeExample/MergeFile
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ group 'AlamofireGroup' do
pod 'AlamofireImage', '3.6.0'
pod 'AlamofireActivityLogger', '2.5.0'
end

group 'Subspecs'
pod 'AppAuth/Core'
pod 'AppAuth/ExternalUserAgent'
end
6 changes: 6 additions & 0 deletions PodMergeExample/PodMergeExample/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import UI.TTTAttributedLabel

import Networking.AFNetworking
import Networking.SDWebImage
import Subspecs.AppAuth

// Merged Swift Pods cannot be import individually, only all or none.
import MergedSwiftPods
Expand Down Expand Up @@ -50,6 +51,11 @@ class ViewController: UIViewController {
// SnapKit Usage
let box = UIView()
box.snp.makeConstraints { _ in }

let authorizationEndpoint = URL(string: "https://accounts.google.com/o/oauth2/v2/auth")!
let tokenEndpoint = URL(string: "https://www.googleapis.com/oauth2/v4/token")!
let configuration = OIDServiceConfiguration(authorizationEndpoint: authorizationEndpoint,
tokenEndpoint: tokenEndpoint)
}
}

1 change: 1 addition & 0 deletions PodMergeExample/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ target 'PodMergeExample' do
pod 'UI', :path => 'MergedPods/UI'
pod 'AlamofireGroup', :path => 'MergedPods/AlamofireGroup'
pod 'MergedSwiftPods', :path => 'MergedPods/MergedSwiftPods'
pod 'Subspecs', :path => 'MergedPods/Subspecs'
end
9 changes: 7 additions & 2 deletions PodMergeExample/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@ PODS:
- MergedSwiftPods (1.0.0)
- Networking (1.0.0)
- Nuke (8.3.1)
- Subspecs (1.0.0)
- UI (1.0.0)

DEPENDENCIES:
- AlamofireGroup (from `MergedPods/AlamofireGroup`)
- MergedSwiftPods (from `MergedPods/MergedSwiftPods`)
- Networking (from `MergedPods/Networking`)
- Nuke
- Subspecs (from `MergedPods/Subspecs`)
- UI (from `MergedPods/UI`)

SPEC REPOS:
https://cdn.cocoapods.org/:
trunk:
- Nuke

EXTERNAL SOURCES:
Expand All @@ -23,6 +25,8 @@ EXTERNAL SOURCES:
:path: MergedPods/MergedSwiftPods
Networking:
:path: MergedPods/Networking
Subspecs:
:path: MergedPods/Subspecs
UI:
:path: MergedPods/UI

Expand All @@ -31,8 +35,9 @@ SPEC CHECKSUMS:
MergedSwiftPods: 86f52fdd7411987cd39e6c80e709ef0de0126fd3
Networking: 844633d13d2328a829083b24ffaee99aea51c1de
Nuke: 85fb80f8df0cb26c28d2f4e0cb7fb93bcd6548d3
Subspecs: 634e12dffc5b250b231410781ffa7b7c2c665b7a
UI: 2aa82721ee430cd2f0ab314904bbe1a281fa2ff9

PODFILE CHECKSUM: 88ffe01efb39e0f819cf88bf11786182ab6f4441
PODFILE CHECKSUM: bd8310add23574b4f0321b19ffa6de67ba186782

COCOAPODS: 1.9.1

0 comments on commit 82037b1

Please sign in to comment.