Skip to content

Commit 8d11a5b

Browse files
authored
chore: kickoff release
2 parents 2e44f8a + d50258e commit 8d11a5b

File tree

3 files changed

+30
-53
lines changed

3 files changed

+30
-53
lines changed

HostApp/HostApp.xcodeproj/project.pbxproj

+28-41
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
90236C77299D6D41009FD1A7 /* HostAppApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90236C76299D6D40009FD1A7 /* HostAppApp.swift */; };
1111
90493F822992D64000CFE674 /* LivenessResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90493F812992D64000CFE674 /* LivenessResult.swift */; };
1212
904CC73D2996E650002E0753 /* RootView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 904CC73C2996E650002E0753 /* RootView.swift */; };
13-
906AB82029E9F0E9007FFC81 /* FaceLiveness in Frameworks */ = {isa = PBXBuildFile; productRef = 906AB81F29E9F0E9007FFC81 /* FaceLiveness */; };
1413
906AB82229E9F432007FFC81 /* View+Background.swift in Sources */ = {isa = PBXBuildFile; fileRef = 906AB82129E9F432007FFC81 /* View+Background.swift */; };
1514
906AB82429E9F48C007FFC81 /* StartSessionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 906AB82329E9F48C007FFC81 /* StartSessionView.swift */; };
1615
906AB82629E9F554007FFC81 /* Color+DynamicColors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 906AB82529E9F554007FFC81 /* Color+DynamicColors.swift */; };
@@ -22,16 +21,20 @@
2221
9070FFAB285112B5009867D5 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9070FFAA285112B5009867D5 /* Preview Assets.xcassets */; };
2322
9070FFBF285112B5009867D5 /* HostAppUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9070FFBE285112B5009867D5 /* HostAppUITests.swift */; };
2423
9070FFC1285112B5009867D5 /* HostAppUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9070FFC0285112B5009867D5 /* HostAppUITestsLaunchTests.swift */; };
25-
9077AB3729E5D28900433155 /* AWSAPIPlugin in Frameworks */ = {isa = PBXBuildFile; productRef = 9077AB3629E5D28900433155 /* AWSAPIPlugin */; };
26-
9077AB3929E5D28900433155 /* AWSCognitoAuthPlugin in Frameworks */ = {isa = PBXBuildFile; productRef = 9077AB3829E5D28900433155 /* AWSCognitoAuthPlugin */; };
27-
9077AB3B29E5D28900433155 /* Amplify in Frameworks */ = {isa = PBXBuildFile; productRef = 9077AB3A29E5D28900433155 /* Amplify */; };
2824
909308C5297DC49C00F3CC6E /* LivenessCheckErrorContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 909308C2297DC49C00F3CC6E /* LivenessCheckErrorContentView.swift */; };
2925
909308C6297DC49C00F3CC6E /* LivenessResultView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 909308C3297DC49C00F3CC6E /* LivenessResultView.swift */; };
3026
909308C7297DC49C00F3CC6E /* LivenessResultContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 909308C4297DC49C00F3CC6E /* LivenessResultContentView.swift */; };
3127
909308CC297DC4E700F3CC6E /* Color+Hex.swift in Sources */ = {isa = PBXBuildFile; fileRef = 909308CA297DC4E700F3CC6E /* Color+Hex.swift */; };
3228
909308CD297DC4E700F3CC6E /* UIColor+Hex.swift in Sources */ = {isa = PBXBuildFile; fileRef = 909308CB297DC4E700F3CC6E /* UIColor+Hex.swift */; };
3329
909308D1297EE67100F3CC6E /* ExampleLivenessView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 909308D0297EE67100F3CC6E /* ExampleLivenessView.swift */; };
3430
90FDF2A5299BDF3E0002CE7D /* CreateSessionResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90FDF2A4299BDF3E0002CE7D /* CreateSessionResponse.swift */; };
31+
973619222BA378200003A590 /* FaceLiveness in Frameworks */ = {isa = PBXBuildFile; productRef = 973619212BA378200003A590 /* FaceLiveness */; };
32+
973619252BA378690003A590 /* amplifyconfiguration.json in Resources */ = {isa = PBXBuildFile; fileRef = 973619232BA378690003A590 /* amplifyconfiguration.json */; };
33+
973619262BA378690003A590 /* awsconfiguration.json in Resources */ = {isa = PBXBuildFile; fileRef = 973619242BA378690003A590 /* awsconfiguration.json */; };
34+
97D1A8E92BA3757700FF1368 /* AWSAPIPlugin in Frameworks */ = {isa = PBXBuildFile; productRef = 97D1A8E82BA3757700FF1368 /* AWSAPIPlugin */; };
35+
97D1A8EB2BA3757700FF1368 /* AWSCognitoAuthPlugin in Frameworks */ = {isa = PBXBuildFile; productRef = 97D1A8EA2BA3757700FF1368 /* AWSCognitoAuthPlugin */; };
36+
97D1A8ED2BA3757700FF1368 /* Amplify in Frameworks */ = {isa = PBXBuildFile; productRef = 97D1A8EC2BA3757700FF1368 /* Amplify */; };
37+
97D1A8EF2BA375AA00FF1368 /* amplify-ui-swift-liveness in Resources */ = {isa = PBXBuildFile; fileRef = 97D1A8EE2BA375AA00FF1368 /* amplify-ui-swift-liveness */; };
3538
/* End PBXBuildFile section */
3639

3740
/* Begin PBXContainerItemProxy section */
@@ -78,17 +81,20 @@
7881
909308CB297DC4E700F3CC6E /* UIColor+Hex.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIColor+Hex.swift"; sourceTree = "<group>"; };
7982
909308D0297EE67100F3CC6E /* ExampleLivenessView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleLivenessView.swift; sourceTree = "<group>"; };
8083
90FDF2A4299BDF3E0002CE7D /* CreateSessionResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CreateSessionResponse.swift; sourceTree = "<group>"; };
84+
973619232BA378690003A590 /* amplifyconfiguration.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = amplifyconfiguration.json; sourceTree = "<group>"; };
85+
973619242BA378690003A590 /* awsconfiguration.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = awsconfiguration.json; sourceTree = "<group>"; };
86+
97D1A8EE2BA375AA00FF1368 /* amplify-ui-swift-liveness */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = "amplify-ui-swift-liveness"; path = ..; sourceTree = "<group>"; };
8187
/* End PBXFileReference section */
8288

8389
/* Begin PBXFrameworksBuildPhase section */
8490
9070FF9D285112B4009867D5 /* Frameworks */ = {
8591
isa = PBXFrameworksBuildPhase;
8692
buildActionMask = 2147483647;
8793
files = (
88-
906AB82029E9F0E9007FFC81 /* FaceLiveness in Frameworks */,
89-
9077AB3729E5D28900433155 /* AWSAPIPlugin in Frameworks */,
90-
9077AB3B29E5D28900433155 /* Amplify in Frameworks */,
91-
9077AB3929E5D28900433155 /* AWSCognitoAuthPlugin in Frameworks */,
94+
973619222BA378200003A590 /* FaceLiveness in Frameworks */,
95+
97D1A8ED2BA3757700FF1368 /* Amplify in Frameworks */,
96+
97D1A8E92BA3757700FF1368 /* AWSAPIPlugin in Frameworks */,
97+
97D1A8EB2BA3757700FF1368 /* AWSCognitoAuthPlugin in Frameworks */,
9298
);
9399
runOnlyForDeploymentPostprocessing = 0;
94100
};
@@ -119,6 +125,9 @@
119125
9070FF97285112B4009867D5 = {
120126
isa = PBXGroup;
121127
children = (
128+
973619232BA378690003A590 /* amplifyconfiguration.json */,
129+
973619242BA378690003A590 /* awsconfiguration.json */,
130+
97D1A8EE2BA375AA00FF1368 /* amplify-ui-swift-liveness */,
122131
9070FFA2285112B4009867D5 /* HostApp */,
123132
9070FFBD285112B5009867D5 /* HostAppUITests */,
124133
9070FFA1285112B4009867D5 /* Products */,
@@ -222,10 +231,10 @@
222231
);
223232
name = HostApp;
224233
packageProductDependencies = (
225-
9077AB3629E5D28900433155 /* AWSAPIPlugin */,
226-
9077AB3829E5D28900433155 /* AWSCognitoAuthPlugin */,
227-
9077AB3A29E5D28900433155 /* Amplify */,
228-
906AB81F29E9F0E9007FFC81 /* FaceLiveness */,
234+
97D1A8E82BA3757700FF1368 /* AWSAPIPlugin */,
235+
97D1A8EA2BA3757700FF1368 /* AWSCognitoAuthPlugin */,
236+
97D1A8EC2BA3757700FF1368 /* Amplify */,
237+
973619212BA378200003A590 /* FaceLiveness */,
229238
);
230239
productName = HostApp;
231240
productReference = 9070FFA0285112B4009867D5 /* HostApp.app */;
@@ -300,8 +309,6 @@
300309
);
301310
mainGroup = 9070FF97285112B4009867D5;
302311
packageReferences = (
303-
9077AB3529E5D28900433155 /* XCRemoteSwiftPackageReference "amplify-swift" */,
304-
906AB81E29E9F0E9007FFC81 /* XCRemoteSwiftPackageReference "amplify-ui-swift-liveness" */,
305312
);
306313
productRefGroup = 9070FFA1285112B4009867D5 /* Products */;
307314
projectDirPath = "";
@@ -319,8 +326,11 @@
319326
isa = PBXResourcesBuildPhase;
320327
buildActionMask = 2147483647;
321328
files = (
329+
973619262BA378690003A590 /* awsconfiguration.json in Resources */,
322330
9070FFAB285112B5009867D5 /* Preview Assets.xcassets in Resources */,
331+
97D1A8EF2BA375AA00FF1368 /* amplify-ui-swift-liveness in Resources */,
323332
9070FFA8285112B5009867D5 /* Assets.xcassets in Resources */,
333+
973619252BA378690003A590 /* amplifyconfiguration.json in Resources */,
324334
);
325335
runOnlyForDeploymentPostprocessing = 0;
326336
};
@@ -695,44 +705,21 @@
695705
};
696706
/* End XCConfigurationList section */
697707

698-
/* Begin XCRemoteSwiftPackageReference section */
699-
906AB81E29E9F0E9007FFC81 /* XCRemoteSwiftPackageReference "amplify-ui-swift-liveness" */ = {
700-
isa = XCRemoteSwiftPackageReference;
701-
repositoryURL = "https://github.com/aws-amplify/amplify-ui-swift-liveness";
702-
requirement = {
703-
kind = exactVersion;
704-
version = 1.2.5;
705-
};
706-
};
707-
9077AB3529E5D28900433155 /* XCRemoteSwiftPackageReference "amplify-swift" */ = {
708-
isa = XCRemoteSwiftPackageReference;
709-
repositoryURL = "https://github.com/aws-amplify/amplify-swift";
710-
requirement = {
711-
kind = exactVersion;
712-
version = 2.27.2;
713-
};
714-
};
715-
/* End XCRemoteSwiftPackageReference section */
716-
717708
/* Begin XCSwiftPackageProductDependency section */
718-
906AB81F29E9F0E9007FFC81 /* FaceLiveness */ = {
709+
973619212BA378200003A590 /* FaceLiveness */ = {
719710
isa = XCSwiftPackageProductDependency;
720-
package = 906AB81E29E9F0E9007FFC81 /* XCRemoteSwiftPackageReference "amplify-ui-swift-liveness" */;
721711
productName = FaceLiveness;
722712
};
723-
9077AB3629E5D28900433155 /* AWSAPIPlugin */ = {
713+
97D1A8E82BA3757700FF1368 /* AWSAPIPlugin */ = {
724714
isa = XCSwiftPackageProductDependency;
725-
package = 9077AB3529E5D28900433155 /* XCRemoteSwiftPackageReference "amplify-swift" */;
726715
productName = AWSAPIPlugin;
727716
};
728-
9077AB3829E5D28900433155 /* AWSCognitoAuthPlugin */ = {
717+
97D1A8EA2BA3757700FF1368 /* AWSCognitoAuthPlugin */ = {
729718
isa = XCSwiftPackageProductDependency;
730-
package = 9077AB3529E5D28900433155 /* XCRemoteSwiftPackageReference "amplify-swift" */;
731719
productName = AWSCognitoAuthPlugin;
732720
};
733-
9077AB3A29E5D28900433155 /* Amplify */ = {
721+
97D1A8EC2BA3757700FF1368 /* Amplify */ = {
734722
isa = XCSwiftPackageProductDependency;
735-
package = 9077AB3529E5D28900433155 /* XCRemoteSwiftPackageReference "amplify-swift" */;
736723
productName = Amplify;
737724
};
738725
/* End XCSwiftPackageProductDependency section */

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

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"originHash" : "dbef33cc5f6a5163d3d5f4bd1823d1658bcec0bb3aee64f24c545e6c74b14e2c",
32
"pins" : [
43
{
54
"identity" : "amplify-swift",
@@ -19,15 +18,6 @@
1918
"version" : "1.1.1"
2019
}
2120
},
22-
{
23-
"identity" : "amplify-ui-swift-liveness",
24-
"kind" : "remoteSourceControl",
25-
"location" : "https://github.com/aws-amplify/amplify-ui-swift-liveness",
26-
"state" : {
27-
"revision" : "8d8e354351fc8a7f5951575a38e9ae2a6b3dc0b0",
28-
"version" : "1.2.5"
29-
}
30-
},
3121
{
3222
"identity" : "aws-appsync-realtime-client-ios",
3323
"kind" : "remoteSourceControl",
@@ -92,5 +82,5 @@
9282
}
9383
}
9484
],
95-
"version" : 3
85+
"version" : 2
9686
}

Sources/FaceLiveness/AV/LivenessCaptureSession.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import AVFoundation
1111
class LivenessCaptureSession {
1212
let captureDevice: LivenessCaptureDevice
1313
private let captureQueue = DispatchQueue(label: "com.amazonaws.faceliveness.cameracapturequeue")
14-
private let configurationQueue = DispatchQueue(label: "com.amazonaws.faceliveness.sessionconfiguration", qos: .userInitiated)
14+
private let configurationQueue = DispatchQueue(label: "com.amazonaws.faceliveness.sessionconfiguration", qos: .userInteractive)
1515
let outputDelegate: AVCaptureVideoDataOutputSampleBufferDelegate
1616
var captureSession: AVCaptureSession?
1717

0 commit comments

Comments
 (0)