diff --git a/.github/workflows/codeql-package.yml b/.github/workflows/codeql-package.yml index d105f39..b68cd3c 100644 --- a/.github/workflows/codeql-package.yml +++ b/.github/workflows/codeql-package.yml @@ -21,7 +21,7 @@ jobs: #runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} #runs-on: [ self-hosted, macos ] - runs-on: [ 'macos-14' ] + runs-on: [ 'macos-15' ] #timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} timeout-minutes: 120 @@ -41,11 +41,11 @@ jobs: fail-fast: false matrix: # https://github.com/swiftlang/swift/releases - swift: [ "5.10.1" ] + swift: ["6.0.2"] # https://developer.apple.com/documentation/xcode-release-notes - xcode: [ "15.4" ] - language: [ swift ] - build-mode: [ manual ] + xcode: ["16.2"] + language: [swift] + build-mode: [manual] # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis, # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning. # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how diff --git a/.github/workflows/codeql-samples-quickstart.yml b/.github/workflows/codeql-samples-quickstart.yml index 8a35335..123ecd1 100644 --- a/.github/workflows/codeql-samples-quickstart.yml +++ b/.github/workflows/codeql-samples-quickstart.yml @@ -21,7 +21,7 @@ jobs: #runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} #runs-on: [ self-hosted, macos ] - runs-on: [ 'macos-14' ] + runs-on: [ 'macos-15' ] #timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} timeout-minutes: 120 @@ -41,13 +41,13 @@ jobs: fail-fast: false matrix: # https://github.com/swiftlang/swift/releases - swift: [ "5.10.1" ] + swift: [ "6.0.2" ] # https://developer.apple.com/documentation/xcode-release-notes - xcode: [ "15.4" ] + xcode: [ "16.2" ] language: [ swift ] build-mode: [ manual ] destination: - - "platform=iOS Simulator,OS=18.1,name=iPhone 15" + - "platform=iOS Simulator,OS=18.2,name=iPhone 16" # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis, # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning. # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how @@ -113,7 +113,7 @@ jobs: # Perform the build manually. - name: Manual Build - run: set -o pipefail && xcodebuild -workspace FusionAuthSDK.xcworkspace/ -scheme fusionauth-quickstart-swift-ios-native -destination "${{matrix.destination}}" -skipPackagePluginValidation + run: set -o pipefail && xcodebuild -workspace FusionAuthSDK.xcworkspace/ -scheme fusionauth-quickstart-swift-ios-native -destination "${{matrix.destination}}" -skipPackagePluginValidation -parallel-testing-enabled NO # Perform CodeQL Analysis if the build succeeded or failed. - name: Perform CodeQL Analysis diff --git a/.github/workflows/e2e-test-fusionauth-latest-ios-latest.yml b/.github/workflows/e2e-test-fusionauth-latest-ios-latest.yml index 3b50e2a..f853d85 100644 --- a/.github/workflows/e2e-test-fusionauth-latest-ios-latest.yml +++ b/.github/workflows/e2e-test-fusionauth-latest-ios-latest.yml @@ -36,12 +36,12 @@ jobs: strategy: fail-fast: false matrix: - destination: [ "platform=iOS Simulator,OS=18.1,name=iPhone 15" ] - xcode: [ "15.4" ] + destination: [ "platform=iOS Simulator,OS=18.2,name=iPhone 16" ] + xcode: [ "16.2" ] simulator-platform: [ "iOS" ] - simulator-version: [ "18.1" ] - swift: [ "5.10.1" ] - os: [ "macos-14" ] + simulator-version: [ "18.2" ] + swift: [ "6.0.2" ] + os: [ "macos-15" ] postgresql-version: [ "16" ] # Steps represent a sequence of tasks that will be executed as part of the job @@ -184,7 +184,7 @@ jobs: # Perform the tests from the fusionauth-quickstart-swift-ios-native Sample. - name: Perform end to end tests - run: set -o pipefail && xcodebuild test -workspace FusionAuthSDK.xcworkspace/ -scheme fusionauth-quickstart-swift-ios-native -destination "${{matrix.destination}}" -skipPackagePluginValidation + run: set -o pipefail && xcodebuild test -workspace FusionAuthSDK.xcworkspace/ -scheme fusionauth-quickstart-swift-ios-native -destination "${{matrix.destination}}" -skipPackagePluginValidation -parallel-testing-enabled NO - name: Upload recording uses: actions/upload-artifact@v4.6.0 diff --git a/.github/workflows/e2e-test-fusionauth-latest-ios-matrix.yml b/.github/workflows/e2e-test-fusionauth-latest-ios-matrix.yml index ac7455a..fb75b37 100644 --- a/.github/workflows/e2e-test-fusionauth-latest-ios-matrix.yml +++ b/.github/workflows/e2e-test-fusionauth-latest-ios-matrix.yml @@ -36,14 +36,21 @@ jobs: strategy: fail-fast: false matrix: - destination: [ "platform=iOS Simulator,OS=18.1,name=iPhone 15" ] - xcode: [ "15.4" ] + destination: [ "platform=iOS Simulator,OS=18.2,name=iPhone 16" ] + xcode: [ "16.2" ] simulator-platform: [ "iOS" ] - simulator-version: [ "18.1" ] - swift: [ "5.10.1" ] - os: [ "macos-14" ] + simulator-version: [ "18.2" ] + swift: [ "6.0.2" ] + os: [ "macos-15" ] postgresql-version: [ "16" ] include: + - destination: "platform=iOS Simulator,OS=18.1,name=iPhone 15" + xcode: "15.4" + simulator-platform: "iOS" + simulator-version: "18.1" + swift: "5.10.1" + os: "macos-14" + postgresql-version: "16" - destination: "platform=iOS Simulator,OS=17.5,name=iPhone 15" xcode: "15.4" simulator-platform: "iOS" @@ -206,7 +213,7 @@ jobs: # Perform the tests from the fusionauth-quickstart-swift-ios-native Sample. - name: Perform end to end tests - run: set -o pipefail && xcodebuild test -workspace FusionAuthSDK.xcworkspace/ -scheme fusionauth-quickstart-swift-ios-native -destination "${{matrix.destination}}" -skipPackagePluginValidation + run: set -o pipefail && xcodebuild test -workspace FusionAuthSDK.xcworkspace/ -scheme fusionauth-quickstart-swift-ios-native -destination "${{matrix.destination}}" -skipPackagePluginValidation -parallel-testing-enabled NO - name: Upload recording uses: actions/upload-artifact@v4.6.0 diff --git a/.github/workflows/e2e-test-fusionauth-matrix-ios-latest.yml b/.github/workflows/e2e-test-fusionauth-matrix-ios-latest.yml index 9f49bff..b3b6d5e 100644 --- a/.github/workflows/e2e-test-fusionauth-matrix-ios-latest.yml +++ b/.github/workflows/e2e-test-fusionauth-matrix-ios-latest.yml @@ -31,12 +31,12 @@ jobs: strategy: fail-fast: false matrix: - destination: [ "platform=iOS Simulator,OS=18.1,name=iPhone 15" ] - xcode: [ "15.4" ] + destination: [ "platform=iOS Simulator,OS=18.2,name=iPhone 16" ] + xcode: [ "16.2" ] simulator-platform: [ "iOS" ] - simulator-version: [ "18.1" ] - swift: [ "5.10.1" ] - os: [ "macos-14" ] + simulator-version: [ "18.2" ] + swift: [ "6.0.2" ] + os: [ "macos-15" ] postgresql-version: [ "16" ] fusionauth-docker-image-version: [ "1.51.2", "1.52.1", "1.53.3", "1.54.0", "1.55.1" ] @@ -180,7 +180,7 @@ jobs: # Perform the tests from the fusionauth-quickstart-swift-ios-native Sample. - name: Perform end to end tests - run: set -o pipefail && xcodebuild test -workspace FusionAuthSDK.xcworkspace/ -scheme fusionauth-quickstart-swift-ios-native -destination "${{matrix.destination}}" -skipPackagePluginValidation + run: set -o pipefail && xcodebuild test -workspace FusionAuthSDK.xcworkspace/ -scheme fusionauth-quickstart-swift-ios-native -destination "${{matrix.destination}}" -skipPackagePluginValidation -parallel-testing-enabled NO - name: Upload recording uses: actions/upload-artifact@v4.6.0 diff --git a/Samples/Quickstart/QuickstartTests/QuickstartTests.swift b/Samples/Quickstart/QuickstartTests/QuickstartTests.swift index 26c6338..c61f571 100644 --- a/Samples/Quickstart/QuickstartTests/QuickstartTests.swift +++ b/Samples/Quickstart/QuickstartTests/QuickstartTests.swift @@ -57,7 +57,7 @@ final class QuickstartTests: XCTestCase { passwordField.tap() passwordField.typeText("password") - submitButton.tap() + passwordField.typeText("\n") // Check that Welcome message is displayed let welcomeText = app.staticTexts["Welcome Richard Hendricks"] diff --git a/Samples/Quickstart/fusionauth-quickstart-swift-ios-native.xcodeproj/project.pbxproj b/Samples/Quickstart/fusionauth-quickstart-swift-ios-native.xcodeproj/project.pbxproj index 66ab7f3..a686b69 100644 --- a/Samples/Quickstart/fusionauth-quickstart-swift-ios-native.xcodeproj/project.pbxproj +++ b/Samples/Quickstart/fusionauth-quickstart-swift-ios-native.xcodeproj/project.pbxproj @@ -212,7 +212,7 @@ mainGroup = 0E2795EC2BD937B800738892; packageReferences = ( 0E5184912CD6279C004E2416 /* XCLocalSwiftPackageReference "../../../fusionauth-swift-sdk" */, - ); + ); productRefGroup = 0E2795F62BD937B800738892 /* Products */; projectDirPath = ""; projectRoot = "";