Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/composite_actions/run_xcodebuild/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ runs:
sudo xcode-select -s $XCODE_PATH
fi
xcodebuild -version
xcodebuild build -scheme $SCHEME -sdk '${{ inputs.sdk }}' -destination '${{ inputs.destination }}' ${{ inputs.other_flags }} | xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]}
xcodebuild build -scheme $SCHEME -sdk '${{ inputs.sdk }}' -destination '${{ inputs.destination }}' ${{ inputs.other_flags }} | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]}
shell: bash
2 changes: 1 addition & 1 deletion .github/composite_actions/run_xcodebuild_test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ runs:
fi
xcode-select -p
xcodebuild -version
xcodebuild test -scheme $SCHEME -sdk '${{ inputs.sdk }}' -destination '${{ inputs.destination }}' ${{ inputs.other_flags }} $coverageFlags | xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]}
xcodebuild test -scheme $SCHEME -sdk '${{ inputs.sdk }}' -destination '${{ inputs.destination }}' ${{ inputs.other_flags }} $coverageFlags | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]}
shell: bash

- name: Generate Coverage report
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_liveness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: ./.github/composite_actions/run_xcodebuild
with:
scheme: FaceLiveness
destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest'
destination: 'platform=iOS Simulator,name=iPhone 15,OS=latest'

confirm-pass:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/liveness_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ jobs:
with:
scheme: FaceLiveness
token: ${{ secrets.CODECOV_TOKEN }}
destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest'
destination: 'platform=iOS Simulator,name=iPhone 15,OS=latest'
generate_coverage: true

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions HostApp/HostApp/HostAppApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ struct HostAppApp: App {

init() {
do {
Amplify.Logging.logLevel = .verbose
let auth = AWSCognitoAuthPlugin()
let api = AWSAPIPlugin()
try Amplify.add(plugin: auth)
Expand Down
8 changes: 6 additions & 2 deletions HostApp/HostApp/Views/ExampleLivenessView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,12 @@ struct ExampleLivenessView: View {
viewModel.presentationState = .error(.invalidSignature)
case .failure(.cameraNotAvailable):
viewModel.presentationState = .error(.cameraNotAvailable)
default:
viewModel.presentationState = .liveness
case .failure(.validation):
viewModel.presentationState = .error(.validation)
case .failure(.faceInOvalMatchExceededTimeLimitError):
viewModel.presentationState = .error(.faceInOvalMatchExceededTimeLimitError)
case .failure(_):
viewModel.presentationState = .error(.unknown)
}
}
}
Expand Down
16 changes: 8 additions & 8 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let package = Package(
targets: ["FaceLiveness"]),
],
dependencies: [
.package(url: "https://github.com/aws-amplify/amplify-swift", exact: "2.42.1")
.package(url: "https://github.com/aws-amplify/amplify-swift", exact: "2.45.4")
],
targets: [
.target(
Expand Down
Loading