Skip to content

Commit 75b7d4b

Browse files
Merge pull request #1345 from Web3Auth/swift-v12
[iOS PnP] Update Examples
2 parents bb27774 + 46dbc83 commit 75b7d4b

File tree

19 files changed

+135
-61
lines changed

19 files changed

+135
-61
lines changed

ios/ios-aggregate-verifier-example/ios-aggregate-example.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@
624624
repositoryURL = "https://github.com/web3auth/web3auth-swift-sdk";
625625
requirement = {
626626
kind = upToNextMajorVersion;
627-
minimumVersion = 11.0.4;
627+
minimumVersion = 11.1.0;
628628
};
629629
};
630630
/* End XCRemoteSwiftPackageReference section */

ios/ios-aggregate-verifier-example/ios-aggregate-example.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

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

ios/ios-aptos-example/ios-aptos-example.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@
666666
repositoryURL = "https://github.com/Web3Auth/web3auth-swift-sdk/";
667667
requirement = {
668668
kind = upToNextMajorVersion;
669-
minimumVersion = 11.0.4;
669+
minimumVersion = 11.1.0;
670670
};
671671
};
672672
A4DCEE6F2C8B36670048A663 /* XCRemoteSwiftPackageReference "aptos-swift-sdk" */ = {

ios/ios-aptos-example/ios-aptos-example.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

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

ios/ios-auth0-example/ios-auth0-example.xcodeproj/project.pbxproj

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
2810C9532B63652A00BCE94C /* Web3Auth in Frameworks */ = {isa = PBXBuildFile; productRef = 2810C9522B63652A00BCE94C /* Web3Auth */; };
11-
2833BEE22BD6246900243B09 /* web3.swift in Frameworks */ = {isa = PBXBuildFile; productRef = 2833BEE12BD6246900243B09 /* web3.swift */; };
10+
28FCA5B32D939D5900A1B66E /* Web3Auth in Frameworks */ = {isa = PBXBuildFile; productRef = 28FCA5B22D939D5900A1B66E /* Web3Auth */; };
11+
28FCA5B62D939DB000A1B66E /* web3.swift in Frameworks */ = {isa = PBXBuildFile; productRef = 28FCA5B52D939DB000A1B66E /* web3.swift */; };
1212
4D9FEEE5294BAC380035414D /* ios_auth0_exampleApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4D9FEEE4294BAC380035414D /* ios_auth0_exampleApp.swift */; };
1313
4D9FEEE7294BAC380035414D /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4D9FEEE6294BAC380035414D /* ContentView.swift */; };
1414
4D9FEEE9294BAC3A0035414D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4D9FEEE8294BAC3A0035414D /* Assets.xcassets */; };
@@ -63,8 +63,8 @@
6363
isa = PBXFrameworksBuildPhase;
6464
buildActionMask = 2147483647;
6565
files = (
66-
2833BEE22BD6246900243B09 /* web3.swift in Frameworks */,
67-
2810C9532B63652A00BCE94C /* Web3Auth in Frameworks */,
66+
28FCA5B62D939DB000A1B66E /* web3.swift in Frameworks */,
67+
28FCA5B32D939D5900A1B66E /* Web3Auth in Frameworks */,
6868
);
6969
runOnlyForDeploymentPostprocessing = 0;
7070
};
@@ -163,8 +163,8 @@
163163
);
164164
name = "ios-auth0-example";
165165
packageProductDependencies = (
166-
2810C9522B63652A00BCE94C /* Web3Auth */,
167-
2833BEE12BD6246900243B09 /* web3.swift */,
166+
28FCA5B22D939D5900A1B66E /* Web3Auth */,
167+
28FCA5B52D939DB000A1B66E /* web3.swift */,
168168
);
169169
productName = "ios-auth0-example";
170170
productReference = 4D9FEEE1294BAC380035414D /* ios-auth0-example.app */;
@@ -239,8 +239,8 @@
239239
);
240240
mainGroup = 4D9FEED8294BAC380035414D;
241241
packageReferences = (
242-
2810C9512B63652A00BCE94C /* XCRemoteSwiftPackageReference "web3auth-swift-sdk" */,
243-
2833BEE02BD6246900243B09 /* XCRemoteSwiftPackageReference "web3" */,
242+
28FCA5B12D939D5900A1B66E /* XCRemoteSwiftPackageReference "web3auth-swift-sdk" */,
243+
28FCA5B42D939DB000A1B66E /* XCRemoteSwiftPackageReference "web3" */,
244244
);
245245
productRefGroup = 4D9FEEE2294BAC380035414D /* Products */;
246246
projectDirPath = "";
@@ -611,15 +611,15 @@
611611
/* End XCConfigurationList section */
612612

613613
/* Begin XCRemoteSwiftPackageReference section */
614-
2810C9512B63652A00BCE94C /* XCRemoteSwiftPackageReference "web3auth-swift-sdk" */ = {
614+
28FCA5B12D939D5900A1B66E /* XCRemoteSwiftPackageReference "web3auth-swift-sdk" */ = {
615615
isa = XCRemoteSwiftPackageReference;
616616
repositoryURL = "https://github.com/Web3Auth/web3auth-swift-sdk/";
617617
requirement = {
618-
kind = upToNextMajorVersion;
619-
minimumVersion = 11.0.4;
618+
kind = exactVersion;
619+
version = 11.1.0;
620620
};
621621
};
622-
2833BEE02BD6246900243B09 /* XCRemoteSwiftPackageReference "web3" */ = {
622+
28FCA5B42D939DB000A1B66E /* XCRemoteSwiftPackageReference "web3" */ = {
623623
isa = XCRemoteSwiftPackageReference;
624624
repositoryURL = "https://github.com/argentlabs/web3.swift";
625625
requirement = {
@@ -630,14 +630,14 @@
630630
/* End XCRemoteSwiftPackageReference section */
631631

632632
/* Begin XCSwiftPackageProductDependency section */
633-
2810C9522B63652A00BCE94C /* Web3Auth */ = {
633+
28FCA5B22D939D5900A1B66E /* Web3Auth */ = {
634634
isa = XCSwiftPackageProductDependency;
635-
package = 2810C9512B63652A00BCE94C /* XCRemoteSwiftPackageReference "web3auth-swift-sdk" */;
635+
package = 28FCA5B12D939D5900A1B66E /* XCRemoteSwiftPackageReference "web3auth-swift-sdk" */;
636636
productName = Web3Auth;
637637
};
638-
2833BEE12BD6246900243B09 /* web3.swift */ = {
638+
28FCA5B52D939DB000A1B66E /* web3.swift */ = {
639639
isa = XCSwiftPackageProductDependency;
640-
package = 2833BEE02BD6246900243B09 /* XCRemoteSwiftPackageReference "web3" */;
640+
package = 28FCA5B42D939DB000A1B66E /* XCRemoteSwiftPackageReference "web3" */;
641641
productName = web3.swift;
642642
};
643643
/* End XCSwiftPackageProductDependency section */

ios/ios-auth0-example/ios-auth0-example.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 63 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ios/ios-firebase-example/ios-firebase-example.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,8 +641,8 @@
641641
isa = XCRemoteSwiftPackageReference;
642642
repositoryURL = "https://github.com/Web3Auth/web3auth-swift-sdk/";
643643
requirement = {
644-
kind = upToNextMajorVersion;
645-
minimumVersion = 11.0.4;
644+
kind = exactVersion;
645+
version = 11.1.0;
646646
};
647647
};
648648
/* End XCRemoteSwiftPackageReference section */

ios/ios-firebase-example/ios-firebase-example.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

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

ios/ios-firebase-example/ios-firebase-example/UserDetailView.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ struct UserDetailView: View {
111111
Text(signature)
112112
}
113113

114+
Button {
115+
viewModel.manageMFA()
116+
} label: {
117+
Text("Manage MFA")
118+
}
119+
114120
}
115121

116122

0 commit comments

Comments
 (0)