Skip to content

Commit e297ef9

Browse files
committed
Consume SVProgressHUD via SPM getting rid of Carthage
1 parent 025ef06 commit e297ef9

File tree

10 files changed

+40
-43
lines changed

10 files changed

+40
-43
lines changed

.github/workflows/deploying.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@ jobs:
2525
- name: Installing packages
2626
run: |
2727
gem install bundler
28-
- uses: actions/cache@v3
29-
id: carthage-cache
30-
with:
31-
path: Carthage
32-
key: ${{ runner.os }}-carthage-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Cartfile.resolved') }}
33-
restore-keys: |
34-
${{ runner.os }}-carthage-${{ secrets.CACHE_VERSION }}-
3528
- uses: actions/cache@v3
3629
id: gopenpgp-cache
3730
with:
@@ -43,10 +36,6 @@ jobs:
4336
run: |
4437
bundle config path vendor/bundle
4538
bundle install --jobs 4 --retry 3
46-
- name: Carthage
47-
if: ${{ steps.carthage-cache.outputs.cache-hit == false }}
48-
run: |
49-
carthage bootstrap --no-use-binaries --cache-builds --use-xcframeworks
5039
- name: GopenPGP
5140
if: ${{ steps.gopenpgp-cache.outputs.cache-hit == false }}
5241
run: |

.github/workflows/testing.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@ jobs:
1818
- name: Installing packages
1919
run: |
2020
gem install bundler
21-
- uses: actions/cache@v3
22-
id: carthage-cache
23-
with:
24-
path: Carthage
25-
key: ${{ runner.os }}-carthage-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Cartfile.resolved') }}
26-
restore-keys: |
27-
${{ runner.os }}-carthage-${{ secrets.CACHE_VERSION }}-
2821
- uses: actions/cache@v3
2922
id: gopenpgp-cache
3023
with:
@@ -36,10 +29,6 @@ jobs:
3629
run: |
3730
bundle config path vendor/bundle
3831
bundle install --jobs 4 --retry 3
39-
- name: Carthage
40-
if: ${{ steps.carthage-cache.outputs.cache-hit == false }}
41-
run: |
42-
carthage bootstrap --no-use-binaries --cache-builds --use-xcframeworks
4332
- name: GopenPGP
4433
if: ${{ steps.gopenpgp-cache.outputs.cache-hit == false }}
4534
run: ./scripts/gopenpgp_build.sh

.gitignore

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@ playground.xcworkspace
4646
Pods/
4747
Podfile.lock
4848

49-
# Carthage
50-
#
51-
# Add this line if you want to avoid checking in source code from Carthage dependencies.
52-
Carthage/Checkouts
53-
Carthage/Build
54-
5549
# Go Mobile Build results and dependency sources
5650
go/
5751

.swiftformat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
## Excluded folders
44

55
--exclude \
6-
Carthage, \
76
go, \
87
Pods, \
98
vendor

.swiftlint.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
## Folders to exclude from linting
44

55
excluded:
6-
- Carthage
76
- go
87
- Pods
98
- vendor

Cartfile

Lines changed: 0 additions & 1 deletion
This file was deleted.

Cartfile.resolved

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,10 @@ For more, please read the [wiki page](https://github.com/mssun/passforios/wiki).
4747

4848
## Building Pass for iOS
4949

50-
1. Install Carthage and Go: `brew install carthage go`.
51-
2. Install dependencies via Carthage. Therefore, execute `carthage bootstrap --platform iOS --use-xcframeworks` in the root directory of the project.
52-
3. Run `./scripts/gopenpgp_build.sh` to build GopenPGP.
53-
5. Open the `pass.xcodeproj` file in Xcode.
54-
6. Build & Run.
50+
1. Install Go: `brew install go`.
51+
1. Run `./scripts/gopenpgp_build.sh` to build GopenPGP.
52+
1. Open the `pass.xcodeproj` file in Xcode.
53+
1. Build & Run.
5554

5655
## License
5756

pass.xcodeproj/project.pbxproj

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
3032328E22CBD4CD009EBD9C /* CryptographicKeys.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3032328D22CBD4CD009EBD9C /* CryptographicKeys.swift */; };
2424
3032DA5426DAF4C200A7728C /* ObjectivePGP in Frameworks */ = {isa = PBXBuildFile; productRef = 3032DA5326DAF4C200A7728C /* ObjectivePGP */; };
2525
3032DA5626DAF4E500A7728C /* ObjectivePGP in Frameworks */ = {isa = PBXBuildFile; productRef = 3032DA5526DAF4E500A7728C /* ObjectivePGP */; };
26+
30333B2B2CF924DC008A2EA2 /* SVProgressHUD in Frameworks */ = {isa = PBXBuildFile; productRef = 30333B2A2CF924DC008A2EA2 /* SVProgressHUD */; };
27+
30333B2D2CF9252E008A2EA2 /* SVProgressHUD in Frameworks */ = {isa = PBXBuildFile; productRef = 30333B2C2CF9252E008A2EA2 /* SVProgressHUD */; };
2628
30650E7123F82AF8005CCD5E /* SSHKeyFileImportTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 30650E7023F82AF8005CCD5E /* SSHKeyFileImportTableViewController.swift */; };
2729
30650E7323F847FC005CCD5E /* KeyImporter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 30650E7223F847FC005CCD5E /* KeyImporter.swift */; };
2830
306623332406F1A8000E2AD6 /* PasswordGeneratorTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 306623322406F1A7000E2AD6 /* PasswordGeneratorTest.swift */; };
@@ -141,8 +143,6 @@
141143
9A5D070225A5769A00FA59D4 /* PasswordTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9A8F9EE1259EDD520027CE15 /* PasswordTableViewCell.swift */; };
142144
9A652414244BB33300DA0A41 /* UIAlertActionExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9A652413244BB33300DA0A41 /* UIAlertActionExtension.swift */; };
143145
9A74D2E0277D2F8C00F7BC44 /* UIAlertControllerExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9A74D2DF277D2F8C00F7BC44 /* UIAlertControllerExtension.swift */; };
144-
9A78A7CC277BECE80093222D /* SVProgressHUD.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 30F6C1B327664C7200BE5AB2 /* SVProgressHUD.xcframework */; };
145-
9A78A7CD277BECE80093222D /* SVProgressHUD.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 30F6C1B327664C7200BE5AB2 /* SVProgressHUD.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
146146
9A8F9EBD259EA4C50027CE15 /* PasswordsTableDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9A8F9EBC259EA4C50027CE15 /* PasswordsTableDataSource.swift */; };
147147
9A8F9ECC259ECB410027CE15 /* PasswordSelectionDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9A8F9ECB259ECB410027CE15 /* PasswordSelectionDelegate.swift */; };
148148
9A8F9F4025A1A91F0027CE15 /* CredentialProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9A8F9F3F25A1A91F0027CE15 /* CredentialProvider.swift */; };
@@ -309,7 +309,6 @@
309309
dstSubfolderSpec = 10;
310310
files = (
311311
9A996C5926DEB0D200A4485D /* passKit.framework in Embed Frameworks */,
312-
9A78A7CD277BECE80093222D /* SVProgressHUD.xcframework in Embed Frameworks */,
313312
);
314313
name = "Embed Frameworks";
315314
runOnlyForDeploymentPostprocessing = 0;
@@ -549,6 +548,7 @@
549548
30A3001426DA6692002A734E /* KeychainAccess in Frameworks */,
550549
9A996C5726DDF65900A4485D /* Base32 in Frameworks */,
551550
9A1D1CE526E5D1CE0052028E /* OneTimePassword in Frameworks */,
551+
30333B2D2CF9252E008A2EA2 /* SVProgressHUD in Frameworks */,
552552
30A3001626DA6697002A734E /* SwiftyUserDefaults in Frameworks */,
553553
3032DA5626DAF4E500A7728C /* ObjectivePGP in Frameworks */,
554554
9A2C7D862783FF9600BD9AF3 /* YubiKit in Frameworks */,
@@ -591,10 +591,10 @@
591591
files = (
592592
5F9D7B0D27AF6F7500A8AB22 /* CryptoTokenKit.framework in Frameworks */,
593593
3010CB6026DA4F87008964D2 /* SwiftyUserDefaults in Frameworks */,
594+
30333B2B2CF924DC008A2EA2 /* SVProgressHUD in Frameworks */,
594595
3010CB6326DA4FE9008964D2 /* FavIcon in Frameworks */,
595596
9A1F47FA26E5CF4B000C0E01 /* OneTimePassword in Frameworks */,
596597
9A996C5326DDF61F00A4485D /* Base32 in Frameworks */,
597-
9A78A7CC277BECE80093222D /* SVProgressHUD.xcframework in Frameworks */,
598598
3032DA5426DAF4C200A7728C /* ObjectivePGP in Frameworks */,
599599
9A2C7D822782CB2F00BD9AF3 /* YubiKit in Frameworks */,
600600
3010CB6626DA500F008964D2 /* KeychainAccess in Frameworks */,
@@ -1154,6 +1154,7 @@
11541154
9A996C5626DDF65900A4485D /* Base32 */,
11551155
9A1D1CE426E5D1CE0052028E /* OneTimePassword */,
11561156
9A2C7D852783FF9600BD9AF3 /* YubiKit */,
1157+
30333B2C2CF9252E008A2EA2 /* SVProgressHUD */,
11571158
);
11581159
productName = passKit;
11591160
productReference = A26075781EEC6F34005DB03E /* passKit.framework */;
@@ -1256,6 +1257,7 @@
12561257
9A1F47F926E5CF4B000C0E01 /* OneTimePassword */,
12571258
30ED1776276F8842009BA876 /* ObjectiveGit */,
12581259
9A2C7D812782CB2F00BD9AF3 /* YubiKit */,
1260+
30333B2A2CF924DC008A2EA2 /* SVProgressHUD */,
12591261
);
12601262
productName = pass;
12611263
productReference = DC917BD31E2E8231000FDF54 /* Pass.app */;
@@ -1361,8 +1363,9 @@
13611363
9A1F47F826E5CF4B000C0E01 /* XCRemoteSwiftPackageReference "OneTimePassword" */,
13621364
30ED1775276F8842009BA876 /* XCRemoteSwiftPackageReference "objective-git-swift-package" */,
13631365
9A2C7D802782CB2F00BD9AF3 /* XCRemoteSwiftPackageReference "yubikit-ios" */,
1364-
307CA2312CF346D40099F6DE /* XCRemoteSwiftPackageReference "SwiftLintPlugins" */,
13651366
307CA2322CF348260099F6DE /* XCRemoteSwiftPackageReference "SwiftFormat" */,
1367+
307CB7522CF9219100D0931F /* XCRemoteSwiftPackageReference "SVProgressHUD" */,
1368+
30333B292CF922D9008A2EA2 /* XCRemoteSwiftPackageReference "SwiftLintPlugins" */,
13661369
);
13671370
productRefGroup = DC917BD41E2E8231000FDF54 /* Products */;
13681371
projectDirPath = "";
@@ -2864,6 +2867,14 @@
28642867
minimumVersion = 0.55.2;
28652868
};
28662869
};
2870+
307CB7522CF9219100D0931F /* XCRemoteSwiftPackageReference "SVProgressHUD" */ = {
2871+
isa = XCRemoteSwiftPackageReference;
2872+
repositoryURL = "https://github.com/SVProgressHUD/SVProgressHUD";
2873+
requirement = {
2874+
kind = upToNextMajorVersion;
2875+
minimumVersion = 2.3.1;
2876+
};
2877+
};
28672878
30A3000C26DA62F4002A734E /* XCRemoteSwiftPackageReference "Base32" */ = {
28682879
isa = XCRemoteSwiftPackageReference;
28692880
repositoryURL = "https://github.com/mattrubin/Base32";
@@ -2924,6 +2935,16 @@
29242935
package = 3032DA5226DAF4C200A7728C /* XCRemoteSwiftPackageReference "ObjectivePGP" */;
29252936
productName = ObjectivePGP;
29262937
};
2938+
30333B2A2CF924DC008A2EA2 /* SVProgressHUD */ = {
2939+
isa = XCSwiftPackageProductDependency;
2940+
package = 307CB7522CF9219100D0931F /* XCRemoteSwiftPackageReference "SVProgressHUD" */;
2941+
productName = SVProgressHUD;
2942+
};
2943+
30333B2C2CF9252E008A2EA2 /* SVProgressHUD */ = {
2944+
isa = XCSwiftPackageProductDependency;
2945+
package = 307CB7522CF9219100D0931F /* XCRemoteSwiftPackageReference "SVProgressHUD" */;
2946+
productName = SVProgressHUD;
2947+
};
29272948
30A3001326DA6692002A734E /* KeychainAccess */ = {
29282949
isa = XCSwiftPackageProductDependency;
29292950
package = 3010CB6426DA500F008964D2 /* XCRemoteSwiftPackageReference "KeychainAccess" */;

pass.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)