Skip to content

Commit 964753f

Browse files
authored
chore: kickoff release
2 parents d2089c8 + f403ca1 commit 964753f

File tree

10 files changed

+29
-24
lines changed

10 files changed

+29
-24
lines changed

.github/composite_actions/run_xcodebuild/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ runs:
4040
sudo xcode-select -s $XCODE_PATH
4141
fi
4242
xcodebuild -version
43-
xcodebuild build -scheme $SCHEME -sdk '${{ inputs.sdk }}' -destination '${{ inputs.destination }}' ${{ inputs.other_flags }} | xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]}
43+
xcodebuild build -scheme $SCHEME -sdk '${{ inputs.sdk }}' -destination '${{ inputs.destination }}' ${{ inputs.other_flags }} | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]}
4444
shell: bash

.github/composite_actions/run_xcodebuild_test/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ runs:
5353
fi
5454
xcode-select -p
5555
xcodebuild -version
56-
xcodebuild test -scheme $SCHEME -sdk '${{ inputs.sdk }}' -destination '${{ inputs.destination }}' ${{ inputs.other_flags }} $coverageFlags | xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]}
56+
xcodebuild test -scheme $SCHEME -sdk '${{ inputs.sdk }}' -destination '${{ inputs.destination }}' ${{ inputs.other_flags }} $coverageFlags | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]}
5757
shell: bash
5858

5959
- name: Generate Coverage report

.github/workflows/build_liveness.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: ./.github/composite_actions/run_xcodebuild
3131
with:
3232
scheme: FaceLiveness
33-
destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest'
33+
destination: 'platform=iOS Simulator,name=iPhone 15,OS=latest'
3434

3535
confirm-pass:
3636
runs-on: ubuntu-latest

.github/workflows/liveness_unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
with:
2828
scheme: FaceLiveness
2929
token: ${{ secrets.CODECOV_TOKEN }}
30-
destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest'
30+
destination: 'platform=iOS Simulator,name=iPhone 15,OS=latest'
3131
generate_coverage: true

.github/workflows/release_kickoff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010
jobs:
1111
release:
1212
name: Release
13-
runs-on: macos-12
13+
runs-on: macos-latest
1414

1515
steps:
1616
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b

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

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

HostApp/HostApp/HostAppApp.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ struct HostAppApp: App {
2727

2828
init() {
2929
do {
30+
Amplify.Logging.logLevel = .verbose
3031
let auth = AWSCognitoAuthPlugin()
3132
let api = AWSAPIPlugin()
3233
try Amplify.add(plugin: auth)

HostApp/HostApp/Views/ExampleLivenessView.swift

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,12 @@ struct ExampleLivenessView: View {
4848
viewModel.presentationState = .error(.invalidSignature)
4949
case .failure(.cameraNotAvailable):
5050
viewModel.presentationState = .error(.cameraNotAvailable)
51-
default:
52-
viewModel.presentationState = .liveness
51+
case .failure(.validation):
52+
viewModel.presentationState = .error(.validation)
53+
case .failure(.faceInOvalMatchExceededTimeLimitError):
54+
viewModel.presentationState = .error(.faceInOvalMatchExceededTimeLimitError)
55+
case .failure(_):
56+
viewModel.presentationState = .error(.unknown)
5357
}
5458
}
5559
}

Package.resolved

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

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ let package = Package(
1313
targets: ["FaceLiveness"]),
1414
],
1515
dependencies: [
16-
.package(url: "https://github.com/aws-amplify/amplify-swift", exact: "2.42.1")
16+
.package(url: "https://github.com/aws-amplify/amplify-swift", exact: "2.45.4")
1717
],
1818
targets: [
1919
.target(

0 commit comments

Comments
 (0)