From 1ab502c9857377f8c85e592d075a95702bc84d0c Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Mon, 13 Jan 2025 13:05:45 -0600 Subject: [PATCH 01/70] feat: Remove support for Xcode 14 --- .github/workflows/ci.yml | 12 +++++------- .github/workflows/release-automated.yml | 8 ++++---- .github/workflows/release-manual-docs.yml | 6 +++--- Rakefile | 4 ++-- 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1103d6b9d..6a9533a35 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,6 @@ on: branches: - "**" env: - CI_XCODE_14: /Applications/Xcode_14.2.app/Contents/Developer CI_XCODE_15: /Applications/Xcode_15.4.0.app/Contents/Developer CI_XCODE_16: /Applications/Xcode_16.0.app/Contents/Developer jobs: @@ -22,11 +21,10 @@ jobs: - test:ios - test:macos - test:parse_live_query:all - - xcode14 # runs build:starters on Xcode 14 - xcode15 # runs build:starters on Xcode 15 - xcode16 # runs build:starters on Xcode 16 fail-fast: false - runs-on: ${{ ((matrix.script == 'xcode15' || matrix.script == 'xcode16') && 'macos-14') || 'macos-13' }} + runs-on: macos-14 steps: - uses: actions/checkout@v4 - name: Cache SPM @@ -49,9 +47,9 @@ jobs: - name: Submodules run: git submodule update --init --recursive - name: Build-Test - run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake ${{ ((matrix.script == 'xcode14' || matrix.script == 'xcode15' || matrix.script == 'xcode16') && 'build:starters') || matrix.script }} + run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake ${{ ((matrix.script == 'xcode15' || matrix.script == 'xcode16') && 'build:starters') || matrix.script }} env: - DEVELOPER_DIR: ${{ (matrix.script == 'xcode15' && env.CI_XCODE_15) || (matrix.script == 'xcode16' && env.CI_XCODE_16) || env.CI_XCODE_14 }} + DEVELOPER_DIR: ${{ (matrix.script == 'xcode15' && env.CI_XCODE_15) || (matrix.script == 'xcode16' && env.CI_XCODE_16) }} - name: Generate Environment Variables if: ${{ always() }} env: @@ -103,7 +101,7 @@ jobs: plugin: xcode file: ${{ env.COVERAGE_PATH }} docs: - runs-on: macos-13 + runs-on: macos-14 timeout-minutes: 15 steps: - uses: actions/checkout@v4 @@ -117,7 +115,7 @@ jobs: run: | ./Scripts/jazzy.sh env: - DEVELOPER_DIR: ${{ env.CI_XCODE_14 }} + DEVELOPER_DIR: ${{ env.CI_XCODE_16 }} concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/release-automated.yml b/.github/workflows/release-automated.yml index 3c6083792..c88848c47 100644 --- a/.github/workflows/release-automated.yml +++ b/.github/workflows/release-automated.yml @@ -3,11 +3,11 @@ on: push: branches: [ master, release, alpha, beta ] env: - CI_XCODE_14: '/Applications/Xcode_14.2.app/Contents/Developer' + CI_XCODE_16: /Applications/Xcode_16.0.app/Contents/Developer jobs: release: - runs-on: macos-13 + runs-on: macos-14 outputs: current_tag: ${{ steps.tag.outputs.current_tag }} steps: @@ -46,7 +46,7 @@ jobs: publish-docs: needs: release if: needs.release.outputs.current_tag != '' - runs-on: macos-13 + runs-on: macos-14 steps: - name: Checkout repository uses: actions/checkout@v4 @@ -62,7 +62,7 @@ jobs: run: | ./Scripts/jazzy.sh env: - DEVELOPER_DIR: ${{ env.CI_XCODE_14 }} + DEVELOPER_DIR: ${{ env.CI_XCODE_16 }} - name: Deploy Jazzy Docs uses: peaceiris/actions-gh-pages@v3 with: diff --git a/.github/workflows/release-manual-docs.yml b/.github/workflows/release-manual-docs.yml index a88ef4faf..fbc85c092 100644 --- a/.github/workflows/release-manual-docs.yml +++ b/.github/workflows/release-manual-docs.yml @@ -6,12 +6,12 @@ on: default: '' description: 'Version tag:' env: - CI_XCODE_14: '/Applications/Xcode_14.2.app/Contents/Developer' + CI_XCODE_16: /Applications/Xcode_16.0.app/Contents/Developer jobs: publish-docs: if: github.event.inputs.tag != '' - runs-on: macos-13 + runs-on: macos-14 steps: - name: Checkout repository uses: actions/checkout@v4 @@ -27,7 +27,7 @@ jobs: run: | ./Scripts/jazzy.sh env: - DEVELOPER_DIR: ${{ env.CI_XCODE_14 }} + DEVELOPER_DIR: ${{ env.CI_XCODE_16 }} - name: Deploy Jazzy Docs uses: peaceiris/actions-gh-pages@v3 with: diff --git a/Rakefile b/Rakefile index 7601b3812..58ca8fcfb 100644 --- a/Rakefile +++ b/Rakefile @@ -12,9 +12,9 @@ require_relative 'Vendor/xctoolchain/Scripts/xctask/build_task' SCRIPT_PATH = File.expand_path(File.dirname(__FILE__)) starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject') -ios_simulator = 'platform="iOS Simulator",name="iPhone 14"' +ios_simulator = 'platform="iOS Simulator",name="iPhone 15"' tvos_simulator = 'platform="tvOS Simulator",name="Apple TV"' -watchos_simulator = 'platform="watchOS Simulator",name="Apple Watch Series 8 (45mm)"' +watchos_simulator = 'platform="watchOS Simulator",name="Apple Watch Series 7 (45mm)"' build_action = [XCTask::BuildAction::CLEAN, XCTask::BuildAction::BUILD]; From f5d9ac7b9a5804ef364e32f25c8255360bd19f3a Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Mon, 13 Jan 2025 13:06:36 -0600 Subject: [PATCH 02/70] bump --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 58ca8fcfb..132a44226 100644 --- a/Rakefile +++ b/Rakefile @@ -12,9 +12,9 @@ require_relative 'Vendor/xctoolchain/Scripts/xctask/build_task' SCRIPT_PATH = File.expand_path(File.dirname(__FILE__)) starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject') -ios_simulator = 'platform="iOS Simulator",name="iPhone 15"' +ios_simulator = 'platform="iOS Simulator",name="iPhone 16"' tvos_simulator = 'platform="tvOS Simulator",name="Apple TV"' -watchos_simulator = 'platform="watchOS Simulator",name="Apple Watch Series 7 (45mm)"' +watchos_simulator = 'platform="watchOS Simulator",name="Apple Watch Series 9 (45mm)"' build_action = [XCTask::BuildAction::CLEAN, XCTask::BuildAction::BUILD]; From 802294511c09fac99234d752ce06e242e47e2fd9 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Wed, 15 Jan 2025 12:19:16 -0600 Subject: [PATCH 03/70] use xcode 16.2 --- .github/workflows/ci.yml | 2 +- .github/workflows/release-automated.yml | 2 +- .github/workflows/release-manual-docs.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a9533a35..51b667dfc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: - "**" env: CI_XCODE_15: /Applications/Xcode_15.4.0.app/Contents/Developer - CI_XCODE_16: /Applications/Xcode_16.0.app/Contents/Developer + CI_XCODE_16: /Applications/Xcode_16.2.0.app/Contents/Developer jobs: tests: env: diff --git a/.github/workflows/release-automated.yml b/.github/workflows/release-automated.yml index c88848c47..029ff6ef8 100644 --- a/.github/workflows/release-automated.yml +++ b/.github/workflows/release-automated.yml @@ -3,7 +3,7 @@ on: push: branches: [ master, release, alpha, beta ] env: - CI_XCODE_16: /Applications/Xcode_16.0.app/Contents/Developer + CI_XCODE_16: /Applications/Xcode_16.2.0.app/Contents/Developer jobs: release: diff --git a/.github/workflows/release-manual-docs.yml b/.github/workflows/release-manual-docs.yml index fbc85c092..144084e60 100644 --- a/.github/workflows/release-manual-docs.yml +++ b/.github/workflows/release-manual-docs.yml @@ -6,7 +6,7 @@ on: default: '' description: 'Version tag:' env: - CI_XCODE_16: /Applications/Xcode_16.0.app/Contents/Developer + CI_XCODE_16: /Applications/Xcode_16.2.0.app/Contents/Developer jobs: publish-docs: From f9308cc4d78291f2fbff0e467f9e726e94373ad3 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Wed, 15 Jan 2025 12:21:30 -0600 Subject: [PATCH 04/70] use xcode 16 as default --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51b667dfc..3a752054b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: - name: Build-Test run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake ${{ ((matrix.script == 'xcode15' || matrix.script == 'xcode16') && 'build:starters') || matrix.script }} env: - DEVELOPER_DIR: ${{ (matrix.script == 'xcode15' && env.CI_XCODE_15) || (matrix.script == 'xcode16' && env.CI_XCODE_16) }} + DEVELOPER_DIR: ${{ (matrix.script == 'xcode15' && env.CI_XCODE_15) || env.CI_XCODE_16 }} - name: Generate Environment Variables if: ${{ always() }} env: From 2c19846e6844ee60232a76b6f18434068d50d21f Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Wed, 15 Jan 2025 12:31:10 -0600 Subject: [PATCH 05/70] use xcode 15 as default --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a752054b..bec3490d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: - name: Build-Test run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake ${{ ((matrix.script == 'xcode15' || matrix.script == 'xcode16') && 'build:starters') || matrix.script }} env: - DEVELOPER_DIR: ${{ (matrix.script == 'xcode15' && env.CI_XCODE_15) || env.CI_XCODE_16 }} + DEVELOPER_DIR: ${{ (matrix.script == 'xcode16' && env.CI_XCODE_16) || env.CI_XCODE_15 }} - name: Generate Environment Variables if: ${{ always() }} env: From e3e69771a00a900f057ee38951edba8b66f58ea6 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Thu, 16 Jan 2025 10:16:34 -0600 Subject: [PATCH 06/70] Downgrade xcpretty to 3.0 --- Gemfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index bcf060416..a22bf78f0 100644 --- a/Gemfile +++ b/Gemfile @@ -1,9 +1,9 @@ source 'https://rubygems.org' # Docs -gem 'jazzy', '~> 0.15.3' +gem 'jazzy', '0.15.3' # Development -gem 'xcpretty', '~> 0.4.0' -gem 'rake', '~> 13.2.1' -gem 'plist', '~> 3.7.1' +gem 'xcpretty', '0.3.0' +gem 'rake', '13.2.1' +gem 'plist', '3.7.1' From ba968e86a50fea2f5f0504d6ac5268234bfbff92 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Thu, 16 Jan 2025 10:22:57 -0600 Subject: [PATCH 07/70] Update Gemfile.lock --- Gemfile.lock | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 255a43c70..7a0834d8f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -103,7 +103,7 @@ GEM rake (13.2.1) redcarpet (3.6.0) rexml (3.3.9) - rouge (3.28.0) + rouge (2.0.7) ruby-macho (2.5.1) sassc (2.4.0) ffi (~> 1.9) @@ -123,18 +123,18 @@ GEM colored2 (~> 3.1) nanaimo (~> 0.4.0) rexml (>= 3.3.6, < 4.0) - xcpretty (0.4.0) - rouge (~> 3.28.0) + xcpretty (0.3.0) + rouge (~> 2.0.7) PLATFORMS arm64-darwin x86_64-darwin DEPENDENCIES - jazzy (~> 0.15.3) - plist (~> 3.7.1) - rake (~> 13.2.1) - xcpretty (~> 0.4.0) + jazzy (= 0.15.3) + plist (= 3.7.1) + rake (= 13.2.1) + xcpretty (= 0.3.0) BUNDLED WITH 2.5.22 From 2bf951e7dc9b60f38356186a036a31af0f092d99 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Thu, 16 Jan 2025 10:26:37 -0600 Subject: [PATCH 08/70] actions/upload-artifact@v4 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bec3490d7..0f1ae6680 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,7 +66,7 @@ jobs: echo "Build Result Location: $BUILD_RESULTS" - name: Upload Artifact Logs if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.ARTIFACT_NAME }} path: | From 449766508ff6953a746c777b89b46abdd7aac069 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Thu, 16 Jan 2025 10:35:06 -0600 Subject: [PATCH 09/70] watch series 10 --- .github/workflows/ci.yml | 2 +- Rakefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f1ae6680..7a1ab6a2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: - "**" env: CI_XCODE_15: /Applications/Xcode_15.4.0.app/Contents/Developer - CI_XCODE_16: /Applications/Xcode_16.2.0.app/Contents/Developer + CI_XCODE_16: /Applications/Xcode_16.1.0.app/Contents/Developer jobs: tests: env: diff --git a/Rakefile b/Rakefile index 132a44226..dba66bfb6 100644 --- a/Rakefile +++ b/Rakefile @@ -14,7 +14,7 @@ starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject') ios_simulator = 'platform="iOS Simulator",name="iPhone 16"' tvos_simulator = 'platform="tvOS Simulator",name="Apple TV"' -watchos_simulator = 'platform="watchOS Simulator",name="Apple Watch Series 9 (45mm)"' +watchos_simulator = 'platform="watchOS Simulator",name="Apple Watch Series 10 (46mm)"' build_action = [XCTask::BuildAction::CLEAN, XCTask::BuildAction::BUILD]; From aab67dc4900ebd94ff6c574cbce120bd1ef39b83 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Thu, 16 Jan 2025 13:56:29 -0600 Subject: [PATCH 10/70] fix tests --- .github/workflows/release-automated.yml | 2 +- .github/workflows/release-manual-docs.yml | 2 +- Parse/Parse/Source/ParseClientConfiguration.m | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-automated.yml b/.github/workflows/release-automated.yml index 029ff6ef8..884501e3a 100644 --- a/.github/workflows/release-automated.yml +++ b/.github/workflows/release-automated.yml @@ -3,7 +3,7 @@ on: push: branches: [ master, release, alpha, beta ] env: - CI_XCODE_16: /Applications/Xcode_16.2.0.app/Contents/Developer + CI_XCODE_16: /Applications/Xcode_16.1.0.app/Contents/Developer jobs: release: diff --git a/.github/workflows/release-manual-docs.yml b/.github/workflows/release-manual-docs.yml index 144084e60..150763731 100644 --- a/.github/workflows/release-manual-docs.yml +++ b/.github/workflows/release-manual-docs.yml @@ -6,7 +6,7 @@ on: default: '' description: 'Version tag:' env: - CI_XCODE_16: /Applications/Xcode_16.2.0.app/Contents/Developer + CI_XCODE_16: /Applications/Xcode_16.1.0.app/Contents/Developer jobs: publish-docs: diff --git a/Parse/Parse/Source/ParseClientConfiguration.m b/Parse/Parse/Source/ParseClientConfiguration.m index 8420224b4..d1ba0859b 100644 --- a/Parse/Parse/Source/ParseClientConfiguration.m +++ b/Parse/Parse/Source/ParseClientConfiguration.m @@ -70,7 +70,8 @@ - (void)setClientKey:(NSString *)clientKey { - (void)setServer:(NSString *)server { PFParameterAssert(server.length, @"Server should not be `nil`."); - PFParameterAssert([NSURL URLWithString:server], @"Server should be a valid URL."); + NSURL *url = [NSURL URLWithString:server]; + PFParameterAssert(url && url.scheme && url.host, @"Server should be a valid URL."); _server = [server copy]; } From 983a65e3c2af131b490ad6024d7a04154e88c02b Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Thu, 16 Jan 2025 14:32:24 -0600 Subject: [PATCH 11/70] Update InstallationUnitTests.m --- Parse/Tests/Unit/InstallationUnitTests.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Parse/Tests/Unit/InstallationUnitTests.m b/Parse/Tests/Unit/InstallationUnitTests.m index e6e0651bd..5a116ecb3 100644 --- a/Parse/Tests/Unit/InstallationUnitTests.m +++ b/Parse/Tests/Unit/InstallationUnitTests.m @@ -90,6 +90,7 @@ - (void)testInstallationHasApplicationBadge { [[NSApplication sharedApplication] dockTile].badgeLabel = @"10"; #endif PFInstallation *installation = [PFInstallation currentInstallation]; + NSLog(@"iconBadgeNumber, %@", @([PFApplication currentApplication].iconBadgeNumber)); PFAssertEqualInts(installation.badge, 10, @"Installation should have the same badge as application"); } From bc4975644066a60734df7aaeeaa68a6f00e17d55 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Thu, 16 Jan 2025 14:44:27 -0600 Subject: [PATCH 12/70] Improve test --- Parse/Tests/Unit/InstallationUnitTests.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parse/Tests/Unit/InstallationUnitTests.m b/Parse/Tests/Unit/InstallationUnitTests.m index 5a116ecb3..e931b0509 100644 --- a/Parse/Tests/Unit/InstallationUnitTests.m +++ b/Parse/Tests/Unit/InstallationUnitTests.m @@ -90,7 +90,7 @@ - (void)testInstallationHasApplicationBadge { [[NSApplication sharedApplication] dockTile].badgeLabel = @"10"; #endif PFInstallation *installation = [PFInstallation currentInstallation]; - NSLog(@"iconBadgeNumber, %@", @([PFApplication currentApplication].iconBadgeNumber)); + PFAssertEqualInts([PFApplication currentApplication].iconBadgeNumber, 10, @"iconBadgeNumber should have the same badge as application"); PFAssertEqualInts(installation.badge, 10, @"Installation should have the same badge as application"); } From a6d2bf03aa9eeb0b0fb6e114208dd9dc7098a01d Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Thu, 16 Jan 2025 14:57:36 -0600 Subject: [PATCH 13/70] disable test --- .../Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme b/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme index c7e38565f..c4a2cee18 100644 --- a/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme +++ b/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme @@ -81,6 +81,9 @@ + + From df39c1716c5c6a291004eeb2fe77f5e21f4ab15a Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Thu, 16 Jan 2025 15:04:31 -0600 Subject: [PATCH 14/70] Revert "disable test" This reverts commit a6d2bf03aa9eeb0b0fb6e114208dd9dc7098a01d. --- .../Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme | 3 --- 1 file changed, 3 deletions(-) diff --git a/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme b/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme index c4a2cee18..c7e38565f 100644 --- a/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme +++ b/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme @@ -81,9 +81,6 @@ - - From 46dd4ef2aa16736b2c29acaa5f50bcb719b3fbc2 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Thu, 16 Jan 2025 15:05:15 -0600 Subject: [PATCH 15/70] test against 16 by default --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a1ab6a2c..5304ac60f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: - name: Build-Test run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake ${{ ((matrix.script == 'xcode15' || matrix.script == 'xcode16') && 'build:starters') || matrix.script }} env: - DEVELOPER_DIR: ${{ (matrix.script == 'xcode16' && env.CI_XCODE_16) || env.CI_XCODE_15 }} + DEVELOPER_DIR: ${{ (matrix.script == 'xcode15' && env.CI_XCODE_15) || env.CI_XCODE_16 }} - name: Generate Environment Variables if: ${{ always() }} env: From 749c802155a75632a7f79cacfadd8b0ddb7b6980 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Thu, 16 Jan 2025 15:50:52 -0600 Subject: [PATCH 16/70] disable tests --- .../xcshareddata/xcschemes/Parse-iOS.xcscheme | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme b/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme index c7e38565f..cec359cae 100644 --- a/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme +++ b/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme @@ -81,6 +81,12 @@ + + + + From 230c000cc88a10e3eff8d49090986c3447847867 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Thu, 16 Jan 2025 19:31:47 -0600 Subject: [PATCH 17/70] clean up --- .../Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme | 3 +++ Parse/Parse/Source/ParseClientConfiguration.m | 3 +-- Parse/Tests/Unit/InstallationUnitTests.m | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme b/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme index cec359cae..9e5527268 100644 --- a/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme +++ b/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme @@ -96,6 +96,9 @@ + + diff --git a/Parse/Parse/Source/ParseClientConfiguration.m b/Parse/Parse/Source/ParseClientConfiguration.m index d1ba0859b..8420224b4 100644 --- a/Parse/Parse/Source/ParseClientConfiguration.m +++ b/Parse/Parse/Source/ParseClientConfiguration.m @@ -70,8 +70,7 @@ - (void)setClientKey:(NSString *)clientKey { - (void)setServer:(NSString *)server { PFParameterAssert(server.length, @"Server should not be `nil`."); - NSURL *url = [NSURL URLWithString:server]; - PFParameterAssert(url && url.scheme && url.host, @"Server should be a valid URL."); + PFParameterAssert([NSURL URLWithString:server], @"Server should be a valid URL."); _server = [server copy]; } diff --git a/Parse/Tests/Unit/InstallationUnitTests.m b/Parse/Tests/Unit/InstallationUnitTests.m index e931b0509..e6e0651bd 100644 --- a/Parse/Tests/Unit/InstallationUnitTests.m +++ b/Parse/Tests/Unit/InstallationUnitTests.m @@ -90,7 +90,6 @@ - (void)testInstallationHasApplicationBadge { [[NSApplication sharedApplication] dockTile].badgeLabel = @"10"; #endif PFInstallation *installation = [PFInstallation currentInstallation]; - PFAssertEqualInts([PFApplication currentApplication].iconBadgeNumber, 10, @"iconBadgeNumber should have the same badge as application"); PFAssertEqualInts(installation.badge, 10, @"Installation should have the same badge as application"); } From 7f5da1447de749a59e62720a3c12e4c73966195a Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Thu, 16 Jan 2025 19:44:01 -0600 Subject: [PATCH 18/70] Update Parse-macOS.xcscheme --- .../xcshareddata/xcschemes/Parse-macOS.xcscheme | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-macOS.xcscheme b/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-macOS.xcscheme index 2b3c0355f..f2a1764f4 100644 --- a/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-macOS.xcscheme +++ b/Parse/Parse.xcodeproj/xcshareddata/xcschemes/Parse-macOS.xcscheme @@ -62,6 +62,11 @@ BlueprintName = "ParseUnitTests-macOS" ReferencedContainer = "container:Parse.xcodeproj"> + + + + From e4d1ce531f30ff1972848745ae1c08e45a67f71e Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 18:06:57 +0100 Subject: [PATCH 19/70] refactor CI --- .github/workflows/ci.yml | 60 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5304ac60f..467f25430 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -100,6 +100,66 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} plugin: xcode file: ${{ env.COVERAGE_PATH }} + test-xcode: + env: + GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} + timeout-minutes: 45 + strategy: + matrix: + include: + - name: Xcode 15 + developerDir: 'CI_XCODE_15' + - name: Xcode 16 + developerDir: 'CI_XCODE_16' + fail-fast: false + runs-on: macos-14 + steps: + - uses: actions/checkout@v4 + - name: Cache SPM + uses: actions/cache@v4 + with: + path: ~/Library/Developer/Xcode/DerivedData/Parse*/SourcePackages/ + key: ${{ runner.os }}-spm-${{ hashFiles('Parse.xcworkspace/xcshareddata/swiftpm/Package.resolved') }} + restore-keys: | + ${{ runner.os }}-spm- + - name: Setup Ruby + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + - name: Create and set the default keychain + run: | + security create-keychain -p "" temporary + security default-keychain -s temporary + security unlock-keychain -p "" temporary + security set-keychain-settings -lut 7200 temporary + - name: Submodules + run: git submodule update --init --recursive + - name: Build-Test + run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake 'build:starters' + env: + DEVELOPER_DIR: ${{ env[matrix.developerDir] }} + - name: Generate Environment Variables + if: ${{ always() }} + env: + ARTIFACT_NAME: ${{ matrix.developerDir }}-logs + TEST_RESULTS: ${{ matrix.developerDir }}.xcresult + run: | + ARTIFACT_NAME=${{ env.ARTIFACT_NAME }} + TEST_RESULTS=$(find ~/Library/Developer/Xcode/DerivedData -name "*.xcresult") + BUILD_RESULTS=$(find ~/Library/Developer/Xcode/DerivedData -name "*.xcactivitylog") + echo ARTIFACT_NAME=${ARTIFACT_NAME//:/-} >> $GITHUB_ENV # replace colon with dashes + echo TEST_RESULTS=${TEST_RESULTS} >> $GITHUB_ENV + echo "Artifact Name: $ARTIFACT_NAME" + echo "Test Result Location: $TEST_RESULTS" + echo "Build Result Location: $BUILD_RESULTS" + - name: Upload Artifact Logs + if: ${{ failure() }} + uses: actions/upload-artifact@v4 + with: + name: ${{ env.ARTIFACT_NAME }} + path: | + ~/Library/Developer/Xcode/DerivedData/Parse-*/Logs/Test + ~/Library/Developer/Xcode/DerivedData/**/Logs/Build docs: runs-on: macos-14 timeout-minutes: 15 From 9e45358f0a679b6c548648946bc970dc8013cebe Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 18:08:15 +0100 Subject: [PATCH 20/70] refactor CI --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 467f25430..45b227363 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -113,6 +113,7 @@ jobs: developerDir: 'CI_XCODE_16' fail-fast: false runs-on: macos-14 + name: ${{ matrix.name }} steps: - uses: actions/checkout@v4 - name: Cache SPM From 59af721a5e6cc42865aa69385b58af926f129867 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 18:24:57 +0100 Subject: [PATCH 21/70] refactor CI --- .github/workflows/ci.yml | 52 ++++++++++++++++++++++++++++++++++++---- Rakefile | 2 +- 2 files changed, 48 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 45b227363..607fb374d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,9 +108,23 @@ jobs: matrix: include: - name: Xcode 15 - developerDir: 'CI_XCODE_15' + script: build:starters + developerDir: CI_XCODE_15 - name: Xcode 16 - developerDir: 'CI_XCODE_16' + script: build:starters + developerDir: CI_XCODE_16 + - name: iOS 17, iPhone 16 + script: test:ios + iosVersion: 17 + developerDir: CI_XCODE_16 + - name: iOS 18, iPhone 16 + script: test:ios + iosVersion: 18 + developerDir: CI_XCODE_16 + - name: macOS 14 + script: test:macos + macosVersion: 14 + developerDir: CI_XCODE_16 fail-fast: false runs-on: macos-14 name: ${{ matrix.name }} @@ -136,14 +150,14 @@ jobs: - name: Submodules run: git submodule update --init --recursive - name: Build-Test - run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake 'build:starters' + run: set -o pipefail && env NSUnbufferedIO=YES IOS_VERSION=${{ matrix.iosVersion }} bundle exec rake ${{ matrix.script }} env: DEVELOPER_DIR: ${{ env[matrix.developerDir] }} - name: Generate Environment Variables if: ${{ always() }} env: - ARTIFACT_NAME: ${{ matrix.developerDir }}-logs - TEST_RESULTS: ${{ matrix.developerDir }}.xcresult + ARTIFACT_NAME: ${{ matrix.script }}-logs + TEST_RESULTS: ${{ matrix.script }}.xcresult run: | ARTIFACT_NAME=${{ env.ARTIFACT_NAME }} TEST_RESULTS=$(find ~/Library/Developer/Xcode/DerivedData -name "*.xcresult") @@ -161,6 +175,34 @@ jobs: path: | ~/Library/Developer/Xcode/DerivedData/Parse-*/Logs/Test ~/Library/Developer/Xcode/DerivedData/**/Logs/Build + - name: Install test parsing dependencies + if: matrix.script == 'test:ios' + # Workaround as codecov cannot parse xcresult files; + # https://github.com/codecov/uploader/issues/1078 + # https://github.com/codecov/codecov-action/issues/1367 + run: | + brew install a7ex/homebrew-formulae/xcresultparser + - name: Convert Xcode test results for code coverage upload + if: matrix.script == 'test:ios' + env: + COVERAGE_PATH: ${{ github.workspace }}/build/${{ matrix.script }}-coverage.xml + run: | + COVERAGE_PATH=${COVERAGE_PATH//:/-} + echo COVERAGE_PATH=$COVERAGE_PATH >> $GITHUB_ENV + echo "TEST_RESULTS: $TEST_RESULTS" + echo "COVERAGE_PATH: $COVERAGE_PATH" + set -o pipefail && \ + xcresultparser --output-format cobertura \ + "$TEST_RESULTS" >"$COVERAGE_PATH" + - name: Upload code coverage + if: matrix.script == 'test:ios' + uses: codecov/codecov-action@v4 + with: + # Set to `true` once codecov token bug is fixed; https://github.com/parse-community/parse-server/issues/9129 + fail_ci_if_error: false + token: ${{ secrets.CODECOV_TOKEN }} + plugin: xcode + file: ${{ env.COVERAGE_PATH }} docs: runs-on: macos-14 timeout-minutes: 15 diff --git a/Rakefile b/Rakefile index dba66bfb6..d20ea4123 100644 --- a/Rakefile +++ b/Rakefile @@ -12,7 +12,7 @@ require_relative 'Vendor/xctoolchain/Scripts/xctask/build_task' SCRIPT_PATH = File.expand_path(File.dirname(__FILE__)) starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject') -ios_simulator = 'platform="iOS Simulator",name="iPhone 16"' +ios_simulator = 'platform="iOS Simulator",name="iPhone 16",OS=#{ENV["IOS_VERSION"]}' tvos_simulator = 'platform="tvOS Simulator",name="Apple TV"' watchos_simulator = 'platform="watchOS Simulator",name="Apple Watch Series 10 (46mm)"' From 9897520dc94446d5d73e81d5dc65d0d44e6bce0f Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 18:33:41 +0100 Subject: [PATCH 22/70] refactor CI --- .github/workflows/ci.yml | 2 ++ Rakefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 607fb374d..e7009e84e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,10 +116,12 @@ jobs: - name: iOS 17, iPhone 16 script: test:ios iosVersion: 17 + deviceModel: iPhone 16 developerDir: CI_XCODE_16 - name: iOS 18, iPhone 16 script: test:ios iosVersion: 18 + deviceModel: iPhone 16 developerDir: CI_XCODE_16 - name: macOS 14 script: test:macos diff --git a/Rakefile b/Rakefile index d20ea4123..d26aa04a6 100644 --- a/Rakefile +++ b/Rakefile @@ -12,7 +12,7 @@ require_relative 'Vendor/xctoolchain/Scripts/xctask/build_task' SCRIPT_PATH = File.expand_path(File.dirname(__FILE__)) starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject') -ios_simulator = 'platform="iOS Simulator",name="iPhone 16",OS=#{ENV["IOS_VERSION"]}' +ios_simulator = "platform=\"iOS Simulator\",name=\"iPhone 16\",OS=#{ENV['IOS_VERSION'] || '17.0'}" tvos_simulator = 'platform="tvOS Simulator",name="Apple TV"' watchos_simulator = 'platform="watchOS Simulator",name="Apple Watch Series 10 (46mm)"' From 56ec1363624924435dc98c7ed574f72e4afb7a5b Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 18:34:25 +0100 Subject: [PATCH 23/70] Update ci.yml --- .github/workflows/ci.yml | 178 +++++++++++++++++++-------------------- 1 file changed, 89 insertions(+), 89 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7009e84e..882a6aec0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,95 +11,95 @@ env: CI_XCODE_15: /Applications/Xcode_15.4.0.app/Contents/Developer CI_XCODE_16: /Applications/Xcode_16.1.0.app/Contents/Developer jobs: - tests: - env: - GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - timeout-minutes: 45 - strategy: - matrix: - script: - - test:ios - - test:macos - - test:parse_live_query:all - - xcode15 # runs build:starters on Xcode 15 - - xcode16 # runs build:starters on Xcode 16 - fail-fast: false - runs-on: macos-14 - steps: - - uses: actions/checkout@v4 - - name: Cache SPM - uses: actions/cache@v4 - with: - path: ~/Library/Developer/Xcode/DerivedData/Parse*/SourcePackages/ - key: ${{ runner.os }}-spm-${{ hashFiles('Parse.xcworkspace/xcshareddata/swiftpm/Package.resolved') }} - restore-keys: | - ${{ runner.os }}-spm- - - name: Setup Ruby - uses: ruby/setup-ruby@v1 - with: - bundler-cache: true - - name: Create and set the default keychain - run: | - security create-keychain -p "" temporary - security default-keychain -s temporary - security unlock-keychain -p "" temporary - security set-keychain-settings -lut 7200 temporary - - name: Submodules - run: git submodule update --init --recursive - - name: Build-Test - run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake ${{ ((matrix.script == 'xcode15' || matrix.script == 'xcode16') && 'build:starters') || matrix.script }} - env: - DEVELOPER_DIR: ${{ (matrix.script == 'xcode15' && env.CI_XCODE_15) || env.CI_XCODE_16 }} - - name: Generate Environment Variables - if: ${{ always() }} - env: - ARTIFACT_NAME: ${{ matrix.script }}-logs - TEST_RESULTS: ${{ matrix.script }}.xcresult - run: | - ARTIFACT_NAME=${{ env.ARTIFACT_NAME }} - TEST_RESULTS=$(find ~/Library/Developer/Xcode/DerivedData -name "*.xcresult") - BUILD_RESULTS=$(find ~/Library/Developer/Xcode/DerivedData -name "*.xcactivitylog") - echo ARTIFACT_NAME=${ARTIFACT_NAME//:/-} >> $GITHUB_ENV # replace colon with dashes - echo TEST_RESULTS=${TEST_RESULTS} >> $GITHUB_ENV - echo "Artifact Name: $ARTIFACT_NAME" - echo "Test Result Location: $TEST_RESULTS" - echo "Build Result Location: $BUILD_RESULTS" - - name: Upload Artifact Logs - if: ${{ failure() }} - uses: actions/upload-artifact@v4 - with: - name: ${{ env.ARTIFACT_NAME }} - path: | - ~/Library/Developer/Xcode/DerivedData/Parse-*/Logs/Test - ~/Library/Developer/Xcode/DerivedData/**/Logs/Build - - name: Install test parsing dependencies - if: matrix.script == 'test:ios' - # Workaround as codecov cannot parse xcresult files; - # https://github.com/codecov/uploader/issues/1078 - # https://github.com/codecov/codecov-action/issues/1367 - run: | - brew install a7ex/homebrew-formulae/xcresultparser - - name: Convert Xcode test results for code coverage upload - if: matrix.script == 'test:ios' - env: - COVERAGE_PATH: ${{ github.workspace }}/build/${{ matrix.script }}-coverage.xml - run: | - COVERAGE_PATH=${COVERAGE_PATH//:/-} - echo COVERAGE_PATH=$COVERAGE_PATH >> $GITHUB_ENV - echo "TEST_RESULTS: $TEST_RESULTS" - echo "COVERAGE_PATH: $COVERAGE_PATH" - set -o pipefail && \ - xcresultparser --output-format cobertura \ - "$TEST_RESULTS" >"$COVERAGE_PATH" - - name: Upload code coverage - if: matrix.script == 'test:ios' - uses: codecov/codecov-action@v4 - with: - # Set to `true` once codecov token bug is fixed; https://github.com/parse-community/parse-server/issues/9129 - fail_ci_if_error: false - token: ${{ secrets.CODECOV_TOKEN }} - plugin: xcode - file: ${{ env.COVERAGE_PATH }} + # tests: + # env: + # GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # timeout-minutes: 45 + # strategy: + # matrix: + # script: + # - test:ios + # - test:macos + # - test:parse_live_query:all + # - xcode15 # runs build:starters on Xcode 15 + # - xcode16 # runs build:starters on Xcode 16 + # fail-fast: false + # runs-on: macos-14 + # steps: + # - uses: actions/checkout@v4 + # - name: Cache SPM + # uses: actions/cache@v4 + # with: + # path: ~/Library/Developer/Xcode/DerivedData/Parse*/SourcePackages/ + # key: ${{ runner.os }}-spm-${{ hashFiles('Parse.xcworkspace/xcshareddata/swiftpm/Package.resolved') }} + # restore-keys: | + # ${{ runner.os }}-spm- + # - name: Setup Ruby + # uses: ruby/setup-ruby@v1 + # with: + # bundler-cache: true + # - name: Create and set the default keychain + # run: | + # security create-keychain -p "" temporary + # security default-keychain -s temporary + # security unlock-keychain -p "" temporary + # security set-keychain-settings -lut 7200 temporary + # - name: Submodules + # run: git submodule update --init --recursive + # - name: Build-Test + # run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake ${{ ((matrix.script == 'xcode15' || matrix.script == 'xcode16') && 'build:starters') || matrix.script }} + # env: + # DEVELOPER_DIR: ${{ (matrix.script == 'xcode15' && env.CI_XCODE_15) || env.CI_XCODE_16 }} + # - name: Generate Environment Variables + # if: ${{ always() }} + # env: + # ARTIFACT_NAME: ${{ matrix.script }}-logs + # TEST_RESULTS: ${{ matrix.script }}.xcresult + # run: | + # ARTIFACT_NAME=${{ env.ARTIFACT_NAME }} + # TEST_RESULTS=$(find ~/Library/Developer/Xcode/DerivedData -name "*.xcresult") + # BUILD_RESULTS=$(find ~/Library/Developer/Xcode/DerivedData -name "*.xcactivitylog") + # echo ARTIFACT_NAME=${ARTIFACT_NAME//:/-} >> $GITHUB_ENV # replace colon with dashes + # echo TEST_RESULTS=${TEST_RESULTS} >> $GITHUB_ENV + # echo "Artifact Name: $ARTIFACT_NAME" + # echo "Test Result Location: $TEST_RESULTS" + # echo "Build Result Location: $BUILD_RESULTS" + # - name: Upload Artifact Logs + # if: ${{ failure() }} + # uses: actions/upload-artifact@v4 + # with: + # name: ${{ env.ARTIFACT_NAME }} + # path: | + # ~/Library/Developer/Xcode/DerivedData/Parse-*/Logs/Test + # ~/Library/Developer/Xcode/DerivedData/**/Logs/Build + # - name: Install test parsing dependencies + # if: matrix.script == 'test:ios' + # # Workaround as codecov cannot parse xcresult files; + # # https://github.com/codecov/uploader/issues/1078 + # # https://github.com/codecov/codecov-action/issues/1367 + # run: | + # brew install a7ex/homebrew-formulae/xcresultparser + # - name: Convert Xcode test results for code coverage upload + # if: matrix.script == 'test:ios' + # env: + # COVERAGE_PATH: ${{ github.workspace }}/build/${{ matrix.script }}-coverage.xml + # run: | + # COVERAGE_PATH=${COVERAGE_PATH//:/-} + # echo COVERAGE_PATH=$COVERAGE_PATH >> $GITHUB_ENV + # echo "TEST_RESULTS: $TEST_RESULTS" + # echo "COVERAGE_PATH: $COVERAGE_PATH" + # set -o pipefail && \ + # xcresultparser --output-format cobertura \ + # "$TEST_RESULTS" >"$COVERAGE_PATH" + # - name: Upload code coverage + # if: matrix.script == 'test:ios' + # uses: codecov/codecov-action@v4 + # with: + # # Set to `true` once codecov token bug is fixed; https://github.com/parse-community/parse-server/issues/9129 + # fail_ci_if_error: false + # token: ${{ secrets.CODECOV_TOKEN }} + # plugin: xcode + # file: ${{ env.COVERAGE_PATH }} test-xcode: env: GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 1c22f1b687776bc0b4c5cea4521a86b3a29b90bf Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 18:37:14 +0100 Subject: [PATCH 24/70] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 882a6aec0..ced29674c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -115,12 +115,12 @@ jobs: developerDir: CI_XCODE_16 - name: iOS 17, iPhone 16 script: test:ios - iosVersion: 17 + iosVersion: '17.5' deviceModel: iPhone 16 developerDir: CI_XCODE_16 - name: iOS 18, iPhone 16 script: test:ios - iosVersion: 18 + iosVersion: '18.1' deviceModel: iPhone 16 developerDir: CI_XCODE_16 - name: macOS 14 From 53bb10a47557536235c85f62a59dfa602600790b Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 18:44:42 +0100 Subject: [PATCH 25/70] fix ci --- .github/workflows/ci.yml | 12 ++++++------ Rakefile | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ced29674c..382168955 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -113,19 +113,19 @@ jobs: - name: Xcode 16 script: build:starters developerDir: CI_XCODE_16 - - name: iOS 17, iPhone 16 + - name: iOS 17, iPhone 15 script: test:ios - iosVersion: '17.5' - deviceModel: iPhone 16 + osVersion: '17.5' + deviceModel: iPhone 15 developerDir: CI_XCODE_16 - name: iOS 18, iPhone 16 script: test:ios - iosVersion: '18.1' + osVersion: '18.1' deviceModel: iPhone 16 developerDir: CI_XCODE_16 - name: macOS 14 script: test:macos - macosVersion: 14 + osVersion: 14 developerDir: CI_XCODE_16 fail-fast: false runs-on: macos-14 @@ -152,7 +152,7 @@ jobs: - name: Submodules run: git submodule update --init --recursive - name: Build-Test - run: set -o pipefail && env NSUnbufferedIO=YES IOS_VERSION=${{ matrix.iosVersion }} bundle exec rake ${{ matrix.script }} + run: set -o pipefail && env NSUnbufferedIO=YES OS_VERSION=${{ matrix.osVersion }} DEVICE_MODEL=${{ matrix.deviceModel }} bundle exec rake ${{ matrix.script }} env: DEVELOPER_DIR: ${{ env[matrix.developerDir] }} - name: Generate Environment Variables diff --git a/Rakefile b/Rakefile index d26aa04a6..98b5f702c 100644 --- a/Rakefile +++ b/Rakefile @@ -12,7 +12,7 @@ require_relative 'Vendor/xctoolchain/Scripts/xctask/build_task' SCRIPT_PATH = File.expand_path(File.dirname(__FILE__)) starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject') -ios_simulator = "platform=\"iOS Simulator\",name=\"iPhone 16\",OS=#{ENV['IOS_VERSION'] || '17.0'}" +ios_simulator = "platform=\"iOS Simulator\",name=#{ENV['DEVICE_MODEL'] || 'iPhone 16'},OS=#{ENV['OS_VERSION'] || '17.0'}" tvos_simulator = 'platform="tvOS Simulator",name="Apple TV"' watchos_simulator = 'platform="watchOS Simulator",name="Apple Watch Series 10 (46mm)"' From e10a3f53d5c5c38332940fa4016792808cfb3f78 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 18:52:58 +0100 Subject: [PATCH 26/70] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 382168955..ffc25c408 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -152,7 +152,7 @@ jobs: - name: Submodules run: git submodule update --init --recursive - name: Build-Test - run: set -o pipefail && env NSUnbufferedIO=YES OS_VERSION=${{ matrix.osVersion }} DEVICE_MODEL=${{ matrix.deviceModel }} bundle exec rake ${{ matrix.script }} + run: set -o pipefail && env NSUnbufferedIO=YES OS_VERSION="${{ matrix.osVersion }}" DEVICE_MODEL="${{ matrix.deviceModel }}" bundle exec rake ${{ matrix.script }} env: DEVELOPER_DIR: ${{ env[matrix.developerDir] }} - name: Generate Environment Variables From 6dbbf7fded155c50a7be13ff993e5273310529ae Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 18:59:38 +0100 Subject: [PATCH 27/70] Update Rakefile --- Rakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Rakefile b/Rakefile index 98b5f702c..ed7a00652 100644 --- a/Rakefile +++ b/Rakefile @@ -12,6 +12,9 @@ require_relative 'Vendor/xctoolchain/Scripts/xctask/build_task' SCRIPT_PATH = File.expand_path(File.dirname(__FILE__)) starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject') +puts "Device model: #{ENV['DEVICE_MODEL']}" +puts "OS version: #{ENV['OS_VERSION']}" + ios_simulator = "platform=\"iOS Simulator\",name=#{ENV['DEVICE_MODEL'] || 'iPhone 16'},OS=#{ENV['OS_VERSION'] || '17.0'}" tvos_simulator = 'platform="tvOS Simulator",name="Apple TV"' watchos_simulator = 'platform="watchOS Simulator",name="Apple Watch Series 10 (46mm)"' From 40c9f40de89d0e7bfe36d6e1df534cc822615253 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 19:04:10 +0100 Subject: [PATCH 28/70] fix --- .github/workflows/ci.yml | 4 ++-- Rakefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ffc25c408..df08569cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,12 +116,12 @@ jobs: - name: iOS 17, iPhone 15 script: test:ios osVersion: '17.5' - deviceModel: iPhone 15 + deviceModel: 'iPhone 15' developerDir: CI_XCODE_16 - name: iOS 18, iPhone 16 script: test:ios osVersion: '18.1' - deviceModel: iPhone 16 + deviceModel: 'iPhone 16' developerDir: CI_XCODE_16 - name: macOS 14 script: test:macos diff --git a/Rakefile b/Rakefile index ed7a00652..8c5a99490 100644 --- a/Rakefile +++ b/Rakefile @@ -15,7 +15,7 @@ starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject') puts "Device model: #{ENV['DEVICE_MODEL']}" puts "OS version: #{ENV['OS_VERSION']}" -ios_simulator = "platform=\"iOS Simulator\",name=#{ENV['DEVICE_MODEL'] || 'iPhone 16'},OS=#{ENV['OS_VERSION'] || '17.0'}" +ios_simulator = "platform=\"iOS Simulator\",name=\"#{ENV['DEVICE_MODEL'] || 'iPhone 16'}\",OS=\"#{ENV['OS_VERSION'] || '17.0'}\"" tvos_simulator = 'platform="tvOS Simulator",name="Apple TV"' watchos_simulator = 'platform="watchOS Simulator",name="Apple Watch Series 10 (46mm)"' From e953477e4e9b89ca16331c9080cdda401b1cf173 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 19:10:45 +0100 Subject: [PATCH 29/70] ci --- .github/workflows/ci.yml | 18 +++++++++++------- Rakefile | 5 +---- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df08569cc..cbc8da922 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -115,20 +115,24 @@ jobs: developerDir: CI_XCODE_16 - name: iOS 17, iPhone 15 script: test:ios - osVersion: '17.5' - deviceModel: 'iPhone 15' + iosVersion: '17.5' + deviceModel: iPhone 15 developerDir: CI_XCODE_16 - name: iOS 18, iPhone 16 script: test:ios - osVersion: '18.1' - deviceModel: 'iPhone 16' + iosVersion: '18.1' + deviceModel: iPhone 16 developerDir: CI_XCODE_16 - name: macOS 14 script: test:macos - osVersion: 14 + macosVersion: 14 + developerDir: CI_XCODE_16 + - name: macOS 15 + script: test:macos + macosVersion: 15 developerDir: CI_XCODE_16 fail-fast: false - runs-on: macos-14 + runs-on: macos-${{ matrix.macosVersion || 14 }} name: ${{ matrix.name }} steps: - uses: actions/checkout@v4 @@ -152,7 +156,7 @@ jobs: - name: Submodules run: git submodule update --init --recursive - name: Build-Test - run: set -o pipefail && env NSUnbufferedIO=YES OS_VERSION="${{ matrix.osVersion }}" DEVICE_MODEL="${{ matrix.deviceModel }}" bundle exec rake ${{ matrix.script }} + run: set -o pipefail && env NSUnbufferedIO=YES IOS_VERSION="${{ matrix.iosVersion }}" DEVICE_MODEL="${{ matrix.deviceModel }}" bundle exec rake ${{ matrix.script }} env: DEVELOPER_DIR: ${{ env[matrix.developerDir] }} - name: Generate Environment Variables diff --git a/Rakefile b/Rakefile index 8c5a99490..dc8548cb7 100644 --- a/Rakefile +++ b/Rakefile @@ -12,10 +12,7 @@ require_relative 'Vendor/xctoolchain/Scripts/xctask/build_task' SCRIPT_PATH = File.expand_path(File.dirname(__FILE__)) starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject') -puts "Device model: #{ENV['DEVICE_MODEL']}" -puts "OS version: #{ENV['OS_VERSION']}" - -ios_simulator = "platform=\"iOS Simulator\",name=\"#{ENV['DEVICE_MODEL'] || 'iPhone 16'}\",OS=\"#{ENV['OS_VERSION'] || '17.0'}\"" +ios_simulator = "platform=\"iOS Simulator\",name=\"#{ENV['DEVICE_MODEL'] || 'iPhone 16'}\",OS=\"#{ENV['IOS_VERSION'] || '17.0'}\"" tvos_simulator = 'platform="tvOS Simulator",name="Apple TV"' watchos_simulator = 'platform="watchOS Simulator",name="Apple Watch Series 10 (46mm)"' From c2bdb8bc9bf274b1d28dacc42428f3daa6f48cf0 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 19:23:37 +0100 Subject: [PATCH 30/70] Update ci.yml --- .github/workflows/ci.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cbc8da922..02a540421 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -113,16 +113,26 @@ jobs: - name: Xcode 16 script: build:starters developerDir: CI_XCODE_16 - - name: iOS 17, iPhone 15 + - name: Core Module, iOS 17, iPhone 15 script: test:ios iosVersion: '17.5' deviceModel: iPhone 15 developerDir: CI_XCODE_16 - - name: iOS 18, iPhone 16 + - name: LiveQuery Module, iOS 17, iPhone 15 + script: test:parse_live_query:ios + iosVersion: '17.5' + deviceModel: iPhone 15 + developerDir: CI_XCODE_16 + - name: Core Module, iOS 18, iPhone 16 script: test:ios iosVersion: '18.1' deviceModel: iPhone 16 developerDir: CI_XCODE_16 + - name: LiveQuery Module, iOS 18, iPhone 16 + script: test:parse_live_query:ios + iosVersion: '18.1' + deviceModel: iPhone 16 + developerDir: CI_XCODE_16 - name: macOS 14 script: test:macos macosVersion: 14 From de8f6f0ae9e9e98568566dac44a04f48191a873d Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 19:24:39 +0100 Subject: [PATCH 31/70] Update ci.yml --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02a540421..811e4ed79 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -113,6 +113,8 @@ jobs: - name: Xcode 16 script: build:starters developerDir: CI_XCODE_16 + iosVersion: '18.1' + deviceModel: iPhone 15 - name: Core Module, iOS 17, iPhone 15 script: test:ios iosVersion: '17.5' From ccd1d2eeb871ab8801100b7f3e166e5a64e729b0 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 19:35:56 +0100 Subject: [PATCH 32/70] ci --- .github/workflows/ci.yml | 20 +++++++++++++++++--- Rakefile | 4 ++-- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 811e4ed79..6eb2e7ca0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -135,14 +135,28 @@ jobs: iosVersion: '18.1' deviceModel: iPhone 16 developerDir: CI_XCODE_16 - - name: macOS 14 + - name: Core Module, macOS 14 script: test:macos macosVersion: 14 developerDir: CI_XCODE_16 - - name: macOS 15 + - name: LiveQuery Module, macOS 14 + script: test:parse_live_query:osx + macosVersion: 14 + developerDir: CI_XCODE_16 + - name: Core Module, macOS 15 script: test:macos macosVersion: 15 developerDir: CI_XCODE_16 + - name: LiveQuery Module, macOS 15 + script: test:parse_live_query:osx + macosVersion: 15 + developerDir: CI_XCODE_16 + - name: LiveQuery Module, watchOS + script: test:parse_live_query:osx + macosVersion: 15 + watchOsVersion: '8.0' + watchDeviceModel: Apple Watch Series 10 (46mm) + developerDir: CI_XCODE_16 fail-fast: false runs-on: macos-${{ matrix.macosVersion || 14 }} name: ${{ matrix.name }} @@ -168,7 +182,7 @@ jobs: - name: Submodules run: git submodule update --init --recursive - name: Build-Test - run: set -o pipefail && env NSUnbufferedIO=YES IOS_VERSION="${{ matrix.iosVersion }}" DEVICE_MODEL="${{ matrix.deviceModel }}" bundle exec rake ${{ matrix.script }} + run: set -o pipefail && env NSUnbufferedIO=YES IOS_VERSION="${{ matrix.iosVersion }}" DEVICE_MODEL="${{ matrix.deviceModel }}" WATCH_DEVICE_MODEL="${{ matrix.watchDeviceModel }}" WATCH_OS_VERSION="${{ matrix.watchOsVersion }}" bundle exec rake ${{ matrix.script }} env: DEVELOPER_DIR: ${{ env[matrix.developerDir] }} - name: Generate Environment Variables diff --git a/Rakefile b/Rakefile index dc8548cb7..359f3e5c8 100644 --- a/Rakefile +++ b/Rakefile @@ -13,8 +13,8 @@ SCRIPT_PATH = File.expand_path(File.dirname(__FILE__)) starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject') ios_simulator = "platform=\"iOS Simulator\",name=\"#{ENV['DEVICE_MODEL'] || 'iPhone 16'}\",OS=\"#{ENV['IOS_VERSION'] || '17.0'}\"" -tvos_simulator = 'platform="tvOS Simulator",name="Apple TV"' -watchos_simulator = 'platform="watchOS Simulator",name="Apple Watch Series 10 (46mm)"' +tvos_simulator = "platform=\"tvOS Simulator\",name=\"Apple TV\"" +watchos_simulator = "platform=\"watchOS Simulator\",name=\"#{ENV['WATCH_DEVICE_MODEL'] || 'Apple Watch Series 10 (46mm)'}\",OS=\"#{ENV['WATCH_OS_VERSION'] || '8.0'}\"" build_action = [XCTask::BuildAction::CLEAN, XCTask::BuildAction::BUILD]; From b67ac441d3ae1c232d02f9de5106668b16e64a81 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 19:38:25 +0100 Subject: [PATCH 33/70] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6eb2e7ca0..1a20057a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -151,8 +151,8 @@ jobs: script: test:parse_live_query:osx macosVersion: 15 developerDir: CI_XCODE_16 - - name: LiveQuery Module, watchOS - script: test:parse_live_query:osx + - name: LiveQuery Module, watchOS + script: test:parse_live_query:watchos macosVersion: 15 watchOsVersion: '8.0' watchDeviceModel: Apple Watch Series 10 (46mm) From 6bfd70238707a79489fb40a36f19d20ef9080283 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 19:40:36 +0100 Subject: [PATCH 34/70] Update ci.yml --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a20057a9..59945a02e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,12 +109,14 @@ jobs: include: - name: Xcode 15 script: build:starters + iosVersion: '17.5' + deviceModel: iPhone 15 developerDir: CI_XCODE_15 - name: Xcode 16 script: build:starters - developerDir: CI_XCODE_16 iosVersion: '18.1' - deviceModel: iPhone 15 + deviceModel: iPhone 16 + developerDir: CI_XCODE_16 - name: Core Module, iOS 17, iPhone 15 script: test:ios iosVersion: '17.5' @@ -151,7 +153,7 @@ jobs: script: test:parse_live_query:osx macosVersion: 15 developerDir: CI_XCODE_16 - - name: LiveQuery Module, watchOS + - name: LiveQuery Module, watchOS 8 script: test:parse_live_query:watchos macosVersion: 15 watchOsVersion: '8.0' From 313bb37405797b160fbcd93553c96409e112f5f6 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 19:48:38 +0100 Subject: [PATCH 35/70] Update ci.yml --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59945a02e..5f6961760 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -153,12 +153,16 @@ jobs: script: test:parse_live_query:osx macosVersion: 15 developerDir: CI_XCODE_16 - - name: LiveQuery Module, watchOS 8 + - name: LiveQuery Module, watchOS 11 script: test:parse_live_query:watchos - macosVersion: 15 - watchOsVersion: '8.0' + watchOsVersion: '11.2' watchDeviceModel: Apple Watch Series 10 (46mm) developerDir: CI_XCODE_16 + - name: LiveQuery Module, watchOS 10 + script: test:parse_live_query:watchos + watchOsVersion: '10.5' + watchDeviceModel: Apple Watch Series 9 (45mm) + developerDir: CI_XCODE_15 fail-fast: false runs-on: macos-${{ matrix.macosVersion || 14 }} name: ${{ matrix.name }} From cdf319a85155d3a4f34e232187ccb7633d48ef5b Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 19:54:06 +0100 Subject: [PATCH 36/70] add tvos --- .github/workflows/ci.yml | 15 ++++++++++----- Rakefile | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f6961760..aa05a509d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,22 +117,22 @@ jobs: iosVersion: '18.1' deviceModel: iPhone 16 developerDir: CI_XCODE_16 - - name: Core Module, iOS 17, iPhone 15 + - name: Core Module, iOS 17 script: test:ios iosVersion: '17.5' deviceModel: iPhone 15 developerDir: CI_XCODE_16 - - name: LiveQuery Module, iOS 17, iPhone 15 + - name: LiveQuery Module, iOS 17 script: test:parse_live_query:ios iosVersion: '17.5' deviceModel: iPhone 15 developerDir: CI_XCODE_16 - - name: Core Module, iOS 18, iPhone 16 + - name: Core Module, iOS 18 script: test:ios iosVersion: '18.1' deviceModel: iPhone 16 developerDir: CI_XCODE_16 - - name: LiveQuery Module, iOS 18, iPhone 16 + - name: LiveQuery Module, iOS 18 script: test:parse_live_query:ios iosVersion: '18.1' deviceModel: iPhone 16 @@ -163,6 +163,11 @@ jobs: watchOsVersion: '10.5' watchDeviceModel: Apple Watch Series 9 (45mm) developerDir: CI_XCODE_15 + - name: LiveQuery Module, tvOS 10 + script: test:parse_live_query:tvos + tvOsVersion: '10.5' + tvDeviceModel: Apple TV + developerDir: CI_XCODE_16 fail-fast: false runs-on: macos-${{ matrix.macosVersion || 14 }} name: ${{ matrix.name }} @@ -188,7 +193,7 @@ jobs: - name: Submodules run: git submodule update --init --recursive - name: Build-Test - run: set -o pipefail && env NSUnbufferedIO=YES IOS_VERSION="${{ matrix.iosVersion }}" DEVICE_MODEL="${{ matrix.deviceModel }}" WATCH_DEVICE_MODEL="${{ matrix.watchDeviceModel }}" WATCH_OS_VERSION="${{ matrix.watchOsVersion }}" bundle exec rake ${{ matrix.script }} + run: set -o pipefail && env NSUnbufferedIO=YES IOS_VERSION="${{ matrix.iosVersion }}" DEVICE_MODEL="${{ matrix.deviceModel }}" WATCH_DEVICE_MODEL="${{ matrix.watchDeviceModel }}" WATCH_OS_VERSION="${{ matrix.watchOsVersion }}" TV_DEVICE_MODEL="${{ matrix.tvDeviceModel }}" TV_OS_VERSION="${{ matrix.tvOsVersion }}" bundle exec rake ${{ matrix.script }} env: DEVELOPER_DIR: ${{ env[matrix.developerDir] }} - name: Generate Environment Variables diff --git a/Rakefile b/Rakefile index 359f3e5c8..716edf6bf 100644 --- a/Rakefile +++ b/Rakefile @@ -13,7 +13,7 @@ SCRIPT_PATH = File.expand_path(File.dirname(__FILE__)) starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject') ios_simulator = "platform=\"iOS Simulator\",name=\"#{ENV['DEVICE_MODEL'] || 'iPhone 16'}\",OS=\"#{ENV['IOS_VERSION'] || '17.0'}\"" -tvos_simulator = "platform=\"tvOS Simulator\",name=\"Apple TV\"" +tvos_simulator = "platform=\"tvOS Simulator\",name=\"#{ENV['TV_DEVICE_MODEL'] || 'Apple TV'}\",OS=\"#{ENV['TV_OS_VERSION'] || 'latest'}\"" watchos_simulator = "platform=\"watchOS Simulator\",name=\"#{ENV['WATCH_DEVICE_MODEL'] || 'Apple Watch Series 10 (46mm)'}\",OS=\"#{ENV['WATCH_OS_VERSION'] || '8.0'}\"" build_action = [XCTask::BuildAction::CLEAN, XCTask::BuildAction::BUILD]; From 095b2f1d57e65ff24dac40deab195cf834f675fc Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 20:03:03 +0100 Subject: [PATCH 37/70] Update ci.yml --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa05a509d..37152710e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -163,9 +163,14 @@ jobs: watchOsVersion: '10.5' watchDeviceModel: Apple Watch Series 9 (45mm) developerDir: CI_XCODE_15 - - name: LiveQuery Module, tvOS 10 + - name: LiveQuery Module, tvOS 17.5 script: test:parse_live_query:tvos - tvOsVersion: '10.5' + tvOsVersion: '17.5' + tvDeviceModel: Apple TV + developerDir: CI_XCODE_16 + - name: LiveQuery Module, tvOS 18.1 + script: test:parse_live_query:tvos + tvOsVersion: '18.1' tvDeviceModel: Apple TV developerDir: CI_XCODE_16 fail-fast: false From d69ff7afcf680df16fdb3607234cb1fce1b589c7 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 20:05:48 +0100 Subject: [PATCH 38/70] ios rename --- .github/workflows/ci.yml | 16 +++++++++------- Rakefile | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37152710e..b1722f364 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,32 +110,34 @@ jobs: - name: Xcode 15 script: build:starters iosVersion: '17.5' - deviceModel: iPhone 15 + iosDeviceModel: iPhone 15 + watchOsVersion: '11.2' + watchDeviceModel: Apple Watch Series 10 (46mm) developerDir: CI_XCODE_15 - name: Xcode 16 script: build:starters iosVersion: '18.1' - deviceModel: iPhone 16 + iosDeviceModel: iPhone 16 developerDir: CI_XCODE_16 - name: Core Module, iOS 17 script: test:ios iosVersion: '17.5' - deviceModel: iPhone 15 + iosDeviceModel: iPhone 15 developerDir: CI_XCODE_16 - name: LiveQuery Module, iOS 17 script: test:parse_live_query:ios iosVersion: '17.5' - deviceModel: iPhone 15 + iosDeviceModel: iPhone 15 developerDir: CI_XCODE_16 - name: Core Module, iOS 18 script: test:ios iosVersion: '18.1' - deviceModel: iPhone 16 + iosDeviceModel: iPhone 16 developerDir: CI_XCODE_16 - name: LiveQuery Module, iOS 18 script: test:parse_live_query:ios iosVersion: '18.1' - deviceModel: iPhone 16 + iosDeviceModel: iPhone 16 developerDir: CI_XCODE_16 - name: Core Module, macOS 14 script: test:macos @@ -198,7 +200,7 @@ jobs: - name: Submodules run: git submodule update --init --recursive - name: Build-Test - run: set -o pipefail && env NSUnbufferedIO=YES IOS_VERSION="${{ matrix.iosVersion }}" DEVICE_MODEL="${{ matrix.deviceModel }}" WATCH_DEVICE_MODEL="${{ matrix.watchDeviceModel }}" WATCH_OS_VERSION="${{ matrix.watchOsVersion }}" TV_DEVICE_MODEL="${{ matrix.tvDeviceModel }}" TV_OS_VERSION="${{ matrix.tvOsVersion }}" bundle exec rake ${{ matrix.script }} + run: set -o pipefail && env NSUnbufferedIO=YES IOS_VERSION="${{ matrix.iosVersion }}" IOS_DEVICE_MODEL="${{ matrix.iosDeviceModel }}" WATCH_DEVICE_MODEL="${{ matrix.watchDeviceModel }}" WATCH_OS_VERSION="${{ matrix.watchOsVersion }}" TV_DEVICE_MODEL="${{ matrix.tvDeviceModel }}" TV_OS_VERSION="${{ matrix.tvOsVersion }}" bundle exec rake ${{ matrix.script }} env: DEVELOPER_DIR: ${{ env[matrix.developerDir] }} - name: Generate Environment Variables diff --git a/Rakefile b/Rakefile index 716edf6bf..118a2e8bc 100644 --- a/Rakefile +++ b/Rakefile @@ -12,7 +12,7 @@ require_relative 'Vendor/xctoolchain/Scripts/xctask/build_task' SCRIPT_PATH = File.expand_path(File.dirname(__FILE__)) starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject') -ios_simulator = "platform=\"iOS Simulator\",name=\"#{ENV['DEVICE_MODEL'] || 'iPhone 16'}\",OS=\"#{ENV['IOS_VERSION'] || '17.0'}\"" +ios_simulator = "platform=\"iOS Simulator\",name=\"#{ENV['IOS_DEVICE_MODEL'] || 'iPhone 16'}\",OS=\"#{ENV['IOS_VERSION'] || '17.0'}\"" tvos_simulator = "platform=\"tvOS Simulator\",name=\"#{ENV['TV_DEVICE_MODEL'] || 'Apple TV'}\",OS=\"#{ENV['TV_OS_VERSION'] || 'latest'}\"" watchos_simulator = "platform=\"watchOS Simulator\",name=\"#{ENV['WATCH_DEVICE_MODEL'] || 'Apple Watch Series 10 (46mm)'}\",OS=\"#{ENV['WATCH_OS_VERSION'] || '8.0'}\"" From 23b730e72cd390dc7a86f995123a4a2f65bbf473 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 20:07:28 +0100 Subject: [PATCH 39/70] Update Rakefile --- Rakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 118a2e8bc..7b8f1889d 100644 --- a/Rakefile +++ b/Rakefile @@ -12,9 +12,9 @@ require_relative 'Vendor/xctoolchain/Scripts/xctask/build_task' SCRIPT_PATH = File.expand_path(File.dirname(__FILE__)) starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject') -ios_simulator = "platform=\"iOS Simulator\",name=\"#{ENV['IOS_DEVICE_MODEL'] || 'iPhone 16'}\",OS=\"#{ENV['IOS_VERSION'] || '17.0'}\"" -tvos_simulator = "platform=\"tvOS Simulator\",name=\"#{ENV['TV_DEVICE_MODEL'] || 'Apple TV'}\",OS=\"#{ENV['TV_OS_VERSION'] || 'latest'}\"" -watchos_simulator = "platform=\"watchOS Simulator\",name=\"#{ENV['WATCH_DEVICE_MODEL'] || 'Apple Watch Series 10 (46mm)'}\",OS=\"#{ENV['WATCH_OS_VERSION'] || '8.0'}\"" +ios_simulator = "platform=\"iOS Simulator\",name=\"#{ENV['IOS_DEVICE_MODEL'] || 'iPhone 16'}\",OS=\"#{ENV['IOS_VERSION'] || '17.5'}\"" +tvos_simulator = "platform=\"tvOS Simulator\",name=\"#{ENV['TV_DEVICE_MODEL'] || 'Apple TV'}\",OS=\"#{ENV['TV_OS_VERSION'] || '18.1'}\"" +watchos_simulator = "platform=\"watchOS Simulator\",name=\"#{ENV['WATCH_DEVICE_MODEL'] || 'Apple Watch Series 10 (46mm)'}\",OS=\"#{ENV['WATCH_OS_VERSION'] || '11.2'}\"" build_action = [XCTask::BuildAction::CLEAN, XCTask::BuildAction::BUILD]; From ba6e844b499f9f4219cb64ddecf2f3673b832dcd Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 20:08:59 +0100 Subject: [PATCH 40/70] Update README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 08243bb99..824823d4b 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,9 @@ A library that gives you access to the powerful Parse Server backend from your i --- - [Getting Started](#getting-started) +- [Compatibility](#compatibility) + - [Parse Server](#parse-server) + - [Xcode, iOS, macOS](#xcode-ios-macos) - [How Do I Contribute?](#how-do-i-contribute) - [Dependencies](#dependencies) @@ -49,6 +52,27 @@ The easiest way to install the SDK is via Swift Package Manager. Take a look at the public [documentation][docs] & [API][api] and start building. +## Compatibility + +### Parse Server + +Parse Apple SDK is compatible with the following versions of Parse Server. + +| Parse Apple SDK | Parse Server | +|-----------------|--------------| +| 1.0.0 | >= 1.0.0 | + +### Xcode, iOS, macOS + +The Parse Apple SDK is continuously tested with the most recent releases of Xcode to ensure compatibility. We follow the annual release schedule of Xcode to support the current and previous major Xcode version. + +| Xcode Version | iOS Version | macOS Version | macOS Version | Release Date | End-of-Support Date | Parse Apple SDK Support | +|---------------|-------------|---------------|---------------|----------------|---------------------|-------------------------| +| Xcode 13 | iOS 15 | macOS 12 | watchOS 8 | September 2021 | October 2022 | >= 1.19.3 <2.7.2 | +| Xcode 14 | iOS 16 | macOS 13 | watchOS 9 | September 2022 | October 2023 | >= 2.7.2 | +| Xcode 15 | iOS 17 | macOS 14 | watchOS 10 | September 2023 | October 2024 | >= 3.0.0 | +| Xcode 16 | iOS 18 | macOS 15 | watchOS 11 | September 2024 | tbd | >= 4.2.0 | + ## How Do I Contribute? We want to make contributing to this project as easy and transparent as possible. Please refer to the [Contribution Guidelines][contributing]. From fde516912de227937a3016b139ae9cb75aea7984 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 20:10:16 +0100 Subject: [PATCH 41/70] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 824823d4b..5d183c61c 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ The Parse Apple SDK is continuously tested with the most recent releases of Xcod | Xcode Version | iOS Version | macOS Version | macOS Version | Release Date | End-of-Support Date | Parse Apple SDK Support | |---------------|-------------|---------------|---------------|----------------|---------------------|-------------------------| | Xcode 13 | iOS 15 | macOS 12 | watchOS 8 | September 2021 | October 2022 | >= 1.19.3 <2.7.2 | -| Xcode 14 | iOS 16 | macOS 13 | watchOS 9 | September 2022 | October 2023 | >= 2.7.2 | +| Xcode 14 | iOS 16 | macOS 13 | watchOS 9 | September 2022 | October 2023 | >= 2.7.2 <= 5.0.0 | | Xcode 15 | iOS 17 | macOS 14 | watchOS 10 | September 2023 | October 2024 | >= 3.0.0 | | Xcode 16 | iOS 18 | macOS 15 | watchOS 11 | September 2024 | tbd | >= 4.2.0 | From d98574df7a2a9d3224194c53260f3ca21cb952f9 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 20:10:44 +0100 Subject: [PATCH 42/70] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5d183c61c..124696956 100644 --- a/README.md +++ b/README.md @@ -68,9 +68,9 @@ The Parse Apple SDK is continuously tested with the most recent releases of Xcod | Xcode Version | iOS Version | macOS Version | macOS Version | Release Date | End-of-Support Date | Parse Apple SDK Support | |---------------|-------------|---------------|---------------|----------------|---------------------|-------------------------| -| Xcode 13 | iOS 15 | macOS 12 | watchOS 8 | September 2021 | October 2022 | >= 1.19.3 <2.7.2 | -| Xcode 14 | iOS 16 | macOS 13 | watchOS 9 | September 2022 | October 2023 | >= 2.7.2 <= 5.0.0 | -| Xcode 15 | iOS 17 | macOS 14 | watchOS 10 | September 2023 | October 2024 | >= 3.0.0 | +| Xcode 13 | iOS 15 | macOS 12 | watchOS 8 | September 2021 | October 2023 | >= 1.19.3 <2.7.2 | +| Xcode 14 | iOS 16 | macOS 13 | watchOS 9 | September 2022 | October 2024 | >= 2.7.2 <= 5.0.0 | +| Xcode 15 | iOS 17 | macOS 14 | watchOS 10 | September 2023 | October 2025 | >= 3.0.0 | | Xcode 16 | iOS 18 | macOS 15 | watchOS 11 | September 2024 | tbd | >= 4.2.0 | ## How Do I Contribute? From 996f565903bdd756253dd31592b3ac37e984d26d Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 20:21:23 +0100 Subject: [PATCH 43/70] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1722f364..9bed838e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,7 +111,7 @@ jobs: script: build:starters iosVersion: '17.5' iosDeviceModel: iPhone 15 - watchOsVersion: '11.2' + watchOsVersion: '11.1' watchDeviceModel: Apple Watch Series 10 (46mm) developerDir: CI_XCODE_15 - name: Xcode 16 @@ -157,7 +157,7 @@ jobs: developerDir: CI_XCODE_16 - name: LiveQuery Module, watchOS 11 script: test:parse_live_query:watchos - watchOsVersion: '11.2' + watchOsVersion: '11.1' watchDeviceModel: Apple Watch Series 10 (46mm) developerDir: CI_XCODE_16 - name: LiveQuery Module, watchOS 10 From 1b61bf7322a83bf7f4b64df0606628ec7e9d5974 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 20:23:33 +0100 Subject: [PATCH 44/70] Update ci.yml --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9bed838e0..c39be4ccf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,13 +111,19 @@ jobs: script: build:starters iosVersion: '17.5' iosDeviceModel: iPhone 15 - watchOsVersion: '11.1' - watchDeviceModel: Apple Watch Series 10 (46mm) + watchOsVersion: '10.5' + watchDeviceModel: Apple Watch Series 9 (45mm) + tvOsVersion: '17.5' + tvDeviceModel: Apple TV developerDir: CI_XCODE_15 - name: Xcode 16 script: build:starters iosVersion: '18.1' iosDeviceModel: iPhone 16 + watchOsVersion: '11.1' + watchDeviceModel: Apple Watch Series 10 (46mm) + tvOsVersion: '18.1' + tvDeviceModel: Apple TV developerDir: CI_XCODE_16 - name: Core Module, iOS 17 script: test:ios From 5eae43bc5d9b413950b012b6002603d0b19b7423 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 20:44:29 +0100 Subject: [PATCH 45/70] refactor rake --- .github/workflows/ci.yml | 4 ++-- Rakefile | 13 ++++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c39be4ccf..587da7007 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -171,12 +171,12 @@ jobs: watchOsVersion: '10.5' watchDeviceModel: Apple Watch Series 9 (45mm) developerDir: CI_XCODE_15 - - name: LiveQuery Module, tvOS 17.5 + - name: LiveQuery Module, tvOS 17 script: test:parse_live_query:tvos tvOsVersion: '17.5' tvDeviceModel: Apple TV developerDir: CI_XCODE_16 - - name: LiveQuery Module, tvOS 18.1 + - name: LiveQuery Module, tvOS 18 script: test:parse_live_query:tvos tvOsVersion: '18.1' tvDeviceModel: Apple TV diff --git a/Rakefile b/Rakefile index 7b8f1889d..34ecb18f0 100644 --- a/Rakefile +++ b/Rakefile @@ -12,9 +12,16 @@ require_relative 'Vendor/xctoolchain/Scripts/xctask/build_task' SCRIPT_PATH = File.expand_path(File.dirname(__FILE__)) starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject') -ios_simulator = "platform=\"iOS Simulator\",name=\"#{ENV['IOS_DEVICE_MODEL'] || 'iPhone 16'}\",OS=\"#{ENV['IOS_VERSION'] || '17.5'}\"" -tvos_simulator = "platform=\"tvOS Simulator\",name=\"#{ENV['TV_DEVICE_MODEL'] || 'Apple TV'}\",OS=\"#{ENV['TV_OS_VERSION'] || '18.1'}\"" -watchos_simulator = "platform=\"watchOS Simulator\",name=\"#{ENV['WATCH_DEVICE_MODEL'] || 'Apple Watch Series 10 (46mm)'}\",OS=\"#{ENV['WATCH_OS_VERSION'] || '11.2'}\"" +ios_version = ENV.fetch('IOS_VERSION') +tvos_version = ENV.fetch('TV_OS_VERSION') +watchos_version = ENV.fetch('WATCH_OS_VERSION') +ios_device_model = ENV.fetch('IOS_DEVICE_MODEL') +tv_device_model = ENV.fetch('TV_DEVICE_MODEL') +watch_device_model = ENV.fetch('WATCH_DEVICE_MODEL') + +ios_simulator = "platform=\"iOS Simulator\",name=\"#{ios_device_model}\",OS=\"#{ios_version}\"" +tvos_simulator = "platform=\"tvOS Simulator\",name=\"#{tv_device_model}\",OS=\"#{tvos_version}\"" +watchos_simulator = "platform=\"watchOS Simulator\",name=\"#{watch_device_model}\",OS=\"#{watchos_version}\"" build_action = [XCTask::BuildAction::CLEAN, XCTask::BuildAction::BUILD]; From dc9088b91a8a35940f43f9aec1b811a19145ccb9 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 20:46:10 +0100 Subject: [PATCH 46/70] Update Rakefile --- Rakefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Rakefile b/Rakefile index 34ecb18f0..7aa55a1a7 100644 --- a/Rakefile +++ b/Rakefile @@ -19,6 +19,13 @@ ios_device_model = ENV.fetch('IOS_DEVICE_MODEL') tv_device_model = ENV.fetch('TV_DEVICE_MODEL') watch_device_model = ENV.fetch('WATCH_DEVICE_MODEL') +puts "IOS_VERSION: #{ios_version}" +puts "TV_OS_VERSION: #{tvos_version}" +puts "WATCH_OS_VERSION: #{watchos_version}" +puts "IOS_DEVICE_MODEL: #{ios_device_model}" +puts "TV_DEVICE_MODEL: #{tv_device_model}" +puts "WATCH_DEVICE_MODEL: #{watch_device_model}" + ios_simulator = "platform=\"iOS Simulator\",name=\"#{ios_device_model}\",OS=\"#{ios_version}\"" tvos_simulator = "platform=\"tvOS Simulator\",name=\"#{tv_device_model}\",OS=\"#{tvos_version}\"" watchos_simulator = "platform=\"watchOS Simulator\",name=\"#{watch_device_model}\",OS=\"#{watchos_version}\"" From 5a8b8a0d5203da82bf8e656c226dde60ca489f71 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 20:51:54 +0100 Subject: [PATCH 47/70] Update Rakefile --- Rakefile | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/Rakefile b/Rakefile index 7aa55a1a7..e7950d677 100644 --- a/Rakefile +++ b/Rakefile @@ -13,17 +13,17 @@ SCRIPT_PATH = File.expand_path(File.dirname(__FILE__)) starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject') ios_version = ENV.fetch('IOS_VERSION') -tvos_version = ENV.fetch('TV_OS_VERSION') -watchos_version = ENV.fetch('WATCH_OS_VERSION') ios_device_model = ENV.fetch('IOS_DEVICE_MODEL') +tvos_version = ENV.fetch('TV_OS_VERSION') tv_device_model = ENV.fetch('TV_DEVICE_MODEL') +watchos_version = ENV.fetch('WATCH_OS_VERSION') watch_device_model = ENV.fetch('WATCH_DEVICE_MODEL') puts "IOS_VERSION: #{ios_version}" -puts "TV_OS_VERSION: #{tvos_version}" -puts "WATCH_OS_VERSION: #{watchos_version}" puts "IOS_DEVICE_MODEL: #{ios_device_model}" +puts "TV_OS_VERSION: #{tvos_version}" puts "TV_DEVICE_MODEL: #{tv_device_model}" +puts "WATCH_OS_VERSION: #{watchos_version}" puts "WATCH_DEVICE_MODEL: #{watch_device_model}" ios_simulator = "platform=\"iOS Simulator\",name=\"#{ios_device_model}\",OS=\"#{ios_version}\"" @@ -115,6 +115,9 @@ namespace :build do end task :swift do + puts 'Running iOS Swift Starter Project' + puts "IOS_VERSION: #{ios_version}" + puts "IOS_DEVICE_MODEL: #{ios_device_model}" project = 'ParseStarterProject-Swift' ios_starters_path = File.join(starters_path, 'iOS', project) task = XCTask::BuildTask.new do |t| @@ -141,6 +144,7 @@ namespace :build do end task :objc do + puts 'Running macOS ObjC Starter Project' macos_starter_folder = File.join(starters_path, 'OSX', 'ParseOSXStarterProject') task = XCTask::BuildTask.new do |t| t.directory = macos_starter_folder @@ -158,6 +162,7 @@ namespace :build do end task :swift do + puts 'Running macOS Swift Starter Project' macos_starter_folder = File.join(starters_path, 'OSX', 'ParseOSXStarterProject-Swift') task = XCTask::BuildTask.new do |t| t.directory = macos_starter_folder @@ -183,6 +188,9 @@ namespace :build do end task :swift do + puts 'Running tvOS Swift Starter Project' + puts "TV_OS_VERSION: #{tvos_version}" + puts "TV_DEVICE_MODEL: #{tv_device_model}" tvos_starter_folder = File.join(starters_path, 'tvOS', 'ParseStarterProject-Swift') task = XCTask::BuildTask.new do |t| t.directory = tvos_starter_folder @@ -208,6 +216,9 @@ namespace :build do end task :swift do + puts 'Running watchOS Swift Starter Project' + puts "WATCH_OS_VERSION: #{watchos_version}" + puts "WATCH_DEVICE_MODEL: #{watch_device_model}" watchos_starter_folder = File.join(starters_path, 'watchOS', 'ParseStarterProject-Swift') task = XCTask::BuildTask.new do |t| t.directory = watchos_starter_folder @@ -232,6 +243,7 @@ namespace :build do end task :objc do + puts 'Running Live Query ObjC Starter Project' live_query_starter_folder = File.join(SCRIPT_PATH, 'ParseLiveQuery', 'Examples') task = XCTask::BuildTask.new do |t| t.directory = live_query_starter_folder @@ -249,6 +261,7 @@ namespace :build do end task :swift do + puts 'Running Live Query Swift Starter Project' live_query_starter_folder = File.join(SCRIPT_PATH, 'ParseLiveQuery', 'Examples') task = XCTask::BuildTask.new do |t| t.directory = live_query_starter_folder From 8ef9be657d8bff79b5adf5e9e0873c73f0597c89 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 21:03:38 +0100 Subject: [PATCH 48/70] Update ci.yml --- .github/workflows/ci.yml | 54 +++++++++++++--------------------------- 1 file changed, 17 insertions(+), 37 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 587da7007..20e4efe28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -125,13 +125,26 @@ jobs: tvOsVersion: '18.1' tvDeviceModel: Apple TV developerDir: CI_XCODE_16 - - name: Core Module, iOS 17 - script: test:ios + - name: LiveQuery Module Build, iOS 17, watchOS 10, tvOS 17 + script: build:starters iosVersion: '17.5' iosDeviceModel: iPhone 15 + watchOsVersion: '10.5' + watchDeviceModel: Apple Watch Series 9 (45mm) + tvOsVersion: '17.5' + tvDeviceModel: Apple TV + developerDir: CI_XCODE_15 + - name: LiveQuery Module Build, iOS 18, watchOS 11, tvOS 18 + script: build:starters + iosVersion: '18.1' + iosDeviceModel: iPhone 16 + watchOsVersion: '11.1' + watchDeviceModel: Apple Watch Series 10 (46mm) + tvOsVersion: '18.1' + tvDeviceModel: Apple TV developerDir: CI_XCODE_16 - - name: LiveQuery Module, iOS 17 - script: test:parse_live_query:ios + - name: Core Module, iOS 17 + script: test:ios iosVersion: '17.5' iosDeviceModel: iPhone 15 developerDir: CI_XCODE_16 @@ -140,47 +153,14 @@ jobs: iosVersion: '18.1' iosDeviceModel: iPhone 16 developerDir: CI_XCODE_16 - - name: LiveQuery Module, iOS 18 - script: test:parse_live_query:ios - iosVersion: '18.1' - iosDeviceModel: iPhone 16 - developerDir: CI_XCODE_16 - name: Core Module, macOS 14 script: test:macos macosVersion: 14 developerDir: CI_XCODE_16 - - name: LiveQuery Module, macOS 14 - script: test:parse_live_query:osx - macosVersion: 14 - developerDir: CI_XCODE_16 - name: Core Module, macOS 15 script: test:macos macosVersion: 15 developerDir: CI_XCODE_16 - - name: LiveQuery Module, macOS 15 - script: test:parse_live_query:osx - macosVersion: 15 - developerDir: CI_XCODE_16 - - name: LiveQuery Module, watchOS 11 - script: test:parse_live_query:watchos - watchOsVersion: '11.1' - watchDeviceModel: Apple Watch Series 10 (46mm) - developerDir: CI_XCODE_16 - - name: LiveQuery Module, watchOS 10 - script: test:parse_live_query:watchos - watchOsVersion: '10.5' - watchDeviceModel: Apple Watch Series 9 (45mm) - developerDir: CI_XCODE_15 - - name: LiveQuery Module, tvOS 17 - script: test:parse_live_query:tvos - tvOsVersion: '17.5' - tvDeviceModel: Apple TV - developerDir: CI_XCODE_16 - - name: LiveQuery Module, tvOS 18 - script: test:parse_live_query:tvos - tvOsVersion: '18.1' - tvDeviceModel: Apple TV - developerDir: CI_XCODE_16 fail-fast: false runs-on: macos-${{ matrix.macosVersion || 14 }} name: ${{ matrix.name }} From 97eba189734ccef9671db8ca91c259d784f5544c Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 21:08:32 +0100 Subject: [PATCH 49/70] Update ci.yml --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20e4efe28..65906f43c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -115,6 +115,7 @@ jobs: watchDeviceModel: Apple Watch Series 9 (45mm) tvOsVersion: '17.5' tvDeviceModel: Apple TV + macosVersion: 14 developerDir: CI_XCODE_15 - name: Xcode 16 script: build:starters @@ -124,8 +125,9 @@ jobs: watchDeviceModel: Apple Watch Series 10 (46mm) tvOsVersion: '18.1' tvDeviceModel: Apple TV + macosVersion: 15 developerDir: CI_XCODE_16 - - name: LiveQuery Module Build, iOS 17, watchOS 10, tvOS 17 + - name: LiveQuery Module Build, iOS 17, macOS 14, watchOS 10, tvOS 17 script: build:starters iosVersion: '17.5' iosDeviceModel: iPhone 15 @@ -133,8 +135,9 @@ jobs: watchDeviceModel: Apple Watch Series 9 (45mm) tvOsVersion: '17.5' tvDeviceModel: Apple TV + macosVersion: 14 developerDir: CI_XCODE_15 - - name: LiveQuery Module Build, iOS 18, watchOS 11, tvOS 18 + - name: LiveQuery Module Build, iOS 18, macOS 15, watchOS 11, tvOS 18 script: build:starters iosVersion: '18.1' iosDeviceModel: iPhone 16 @@ -142,6 +145,7 @@ jobs: watchDeviceModel: Apple Watch Series 10 (46mm) tvOsVersion: '18.1' tvDeviceModel: Apple TV + macosVersion: 15 developerDir: CI_XCODE_16 - name: Core Module, iOS 17 script: test:ios From ebd5246178bdebc1a4d2aeec4036a6e1f37476b8 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 21:18:52 +0100 Subject: [PATCH 50/70] add logs --- .github/workflows/ci.yml | 4 ++-- Rakefile | 21 +++++++++++++++++++-- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65906f43c..78252deaf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -127,7 +127,7 @@ jobs: tvDeviceModel: Apple TV macosVersion: 15 developerDir: CI_XCODE_16 - - name: LiveQuery Module Build, iOS 17, macOS 14, watchOS 10, tvOS 17 + - name: LiveQuery Module Build, Xcode 15, iOS 17, macOS 14, watchOS 10, tvOS 17 script: build:starters iosVersion: '17.5' iosDeviceModel: iPhone 15 @@ -137,7 +137,7 @@ jobs: tvDeviceModel: Apple TV macosVersion: 14 developerDir: CI_XCODE_15 - - name: LiveQuery Module Build, iOS 18, macOS 15, watchOS 11, tvOS 18 + - name: LiveQuery Module Build, Xcode 16, iOS 18, macOS 15, watchOS 11, tvOS 18 script: build:starters iosVersion: '18.1' iosDeviceModel: iPhone 16 diff --git a/Rakefile b/Rakefile index e7950d677..1058d38c1 100644 --- a/Rakefile +++ b/Rakefile @@ -96,6 +96,9 @@ namespace :build do end task :objc do + puts 'Running iOS ObjC Starter Project' + puts "IOS_VERSION: #{ios_version}" + puts "IOS_DEVICE_MODEL: #{ios_device_model}" project = 'ParseStarterProject' ios_starters_path = File.join(starters_path, 'iOS', project) task = XCTask::BuildTask.new do |t| @@ -243,7 +246,7 @@ namespace :build do end task :objc do - puts 'Running Live Query ObjC Starter Project' + puts 'Running Live Query macOS ObjC Starter Project' live_query_starter_folder = File.join(SCRIPT_PATH, 'ParseLiveQuery', 'Examples') task = XCTask::BuildTask.new do |t| t.directory = live_query_starter_folder @@ -261,7 +264,7 @@ namespace :build do end task :swift do - puts 'Running Live Query Swift Starter Project' + puts 'Running Live Query macOS Swift Starter Project' live_query_starter_folder = File.join(SCRIPT_PATH, 'ParseLiveQuery', 'Examples') task = XCTask::BuildTask.new do |t| t.directory = live_query_starter_folder @@ -292,6 +295,9 @@ end namespace :test do desc 'Run iOS Tests' task :ios do |_, args| + puts 'Running iOS Tests' + puts "IOS_VERSION: #{ios_version}" + puts "IOS_DEVICE_MODEL: #{ios_device_model}" task = XCTask::BuildTask.new do |t| t.directory = SCRIPT_PATH t.workspace = 'Parse.xcworkspace' @@ -310,6 +316,7 @@ namespace :test do desc 'Run macOS Tests' task :macos do |_, args| + puts 'Running macOS Tests' task = XCTask::BuildTask.new do |t| t.directory = SCRIPT_PATH t.workspace = 'Parse.xcworkspace' @@ -334,6 +341,9 @@ namespace :test do end task :ios do + puts 'Running ParseLiveQuery iOS Tests' + puts "IOS_VERSION: #{ios_version}" + puts "IOS_DEVICE_MODEL: #{ios_device_model}" task = XCTask::BuildTask.new do |t| t.directory = SCRIPT_PATH t.workspace = 'Parse.xcworkspace' @@ -351,6 +361,9 @@ namespace :test do end task :tvos do + puts 'Running ParseLiveQuery tvOS Tests' + puts "TV_OS_VERSION: #{tvos_version}" + puts "TV_DEVICE_MODEL: #{tv_device_model}" task = XCTask::BuildTask.new do |t| t.directory = SCRIPT_PATH t.workspace = 'Parse.xcworkspace' @@ -367,6 +380,9 @@ namespace :test do end task :watchos do + puts 'Running ParseLiveQuery watchOS Tests' + puts "WATCH_OS_VERSION: #{watchos_version}" + puts "WATCH_DEVICE_MODEL: #{watch_device_model}" task = XCTask::BuildTask.new do |t| t.directory = SCRIPT_PATH t.workspace = 'Parse.xcworkspace' @@ -383,6 +399,7 @@ namespace :test do end task :osx do + puts 'Running ParseLiveQuery macOS Tests' task = XCTask::BuildTask.new do |t| t.directory = SCRIPT_PATH t.workspace = 'Parse.xcworkspace' From a09f5da9cc171df88c0b81c6e04d86b864770e65 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 21:28:36 +0100 Subject: [PATCH 51/70] Update ci.yml --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78252deaf..7320770e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -119,9 +119,9 @@ jobs: developerDir: CI_XCODE_15 - name: Xcode 16 script: build:starters - iosVersion: '18.1' - iosDeviceModel: iPhone 16 - watchOsVersion: '11.1' + iosVersion: '18.2' + iosDeviceModel: iPhone 16 Pro Max + watchOsVersion: '11.2' watchDeviceModel: Apple Watch Series 10 (46mm) tvOsVersion: '18.1' tvDeviceModel: Apple TV @@ -139,8 +139,8 @@ jobs: developerDir: CI_XCODE_15 - name: LiveQuery Module Build, Xcode 16, iOS 18, macOS 15, watchOS 11, tvOS 18 script: build:starters - iosVersion: '18.1' - iosDeviceModel: iPhone 16 + iosVersion: '18.2' + iosDeviceModel: iPhone 16 Pro Max watchOsVersion: '11.1' watchDeviceModel: Apple Watch Series 10 (46mm) tvOsVersion: '18.1' From a8adb21843fce4c879ac28a5111ecee201b91a8e Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 21:36:03 +0100 Subject: [PATCH 52/70] Update ci.yml --- .github/workflows/ci.yml | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7320770e0..dcf091911 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -141,30 +141,30 @@ jobs: script: build:starters iosVersion: '18.2' iosDeviceModel: iPhone 16 Pro Max - watchOsVersion: '11.1' + watchOsVersion: '11.2' watchDeviceModel: Apple Watch Series 10 (46mm) tvOsVersion: '18.1' tvDeviceModel: Apple TV macosVersion: 15 developerDir: CI_XCODE_16 - - name: Core Module, iOS 17 - script: test:ios - iosVersion: '17.5' - iosDeviceModel: iPhone 15 - developerDir: CI_XCODE_16 - - name: Core Module, iOS 18 - script: test:ios - iosVersion: '18.1' - iosDeviceModel: iPhone 16 - developerDir: CI_XCODE_16 - - name: Core Module, macOS 14 - script: test:macos - macosVersion: 14 - developerDir: CI_XCODE_16 - - name: Core Module, macOS 15 - script: test:macos - macosVersion: 15 - developerDir: CI_XCODE_16 + # - name: Core Module, iOS 17 + # script: test:ios + # iosVersion: '17.5' + # iosDeviceModel: iPhone 15 + # developerDir: CI_XCODE_16 + # - name: Core Module, iOS 18 + # script: test:ios + # iosVersion: '18.1' + # iosDeviceModel: iPhone 16 + # developerDir: CI_XCODE_16 + # - name: Core Module, macOS 14 + # script: test:macos + # macosVersion: 14 + # developerDir: CI_XCODE_16 + # - name: Core Module, macOS 15 + # script: test:macos + # macosVersion: 15 + # developerDir: CI_XCODE_16 fail-fast: false runs-on: macos-${{ matrix.macosVersion || 14 }} name: ${{ matrix.name }} From 7c078893eea70709548781b5a53a8fa4970e0338 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 21:41:45 +0100 Subject: [PATCH 53/70] Update Rakefile --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 1058d38c1..0a14a9206 100644 --- a/Rakefile +++ b/Rakefile @@ -228,7 +228,7 @@ namespace :build do t.project = 'ParseStarter-Swift.xcodeproj' t.scheme = 'ParseStarter' t.configuration = 'Debug' - t.destinations = [watchos_simulator] + t.destinations = [watchos_simulator, ios_simulator] t.actions = build_action t.formatter = XCTask::BuildFormatter::XCPRETTY end From 75288ad20f8dd21cb03ad7be88d75bf62c6d5c78 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Mon, 27 Jan 2025 21:43:16 +0100 Subject: [PATCH 54/70] Update Rakefile --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 0a14a9206..c5fa7a9f4 100644 --- a/Rakefile +++ b/Rakefile @@ -387,7 +387,7 @@ namespace :test do t.directory = SCRIPT_PATH t.workspace = 'Parse.xcworkspace' t.scheme = 'ParseLiveQuery-watchOS' - t.destinations = [watchos_simulator] + t.destinations = [watchos_simulator, ios_simulator] t.configuration = 'Debug' t.actions = build_action t.formatter = XCTask::BuildFormatter::XCPRETTY From aad05cbc54747d43d5d12f6070ba5210d48b20d4 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 00:33:08 +0100 Subject: [PATCH 55/70] Update Rakefile --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index c5fa7a9f4..1058d38c1 100644 --- a/Rakefile +++ b/Rakefile @@ -228,7 +228,7 @@ namespace :build do t.project = 'ParseStarter-Swift.xcodeproj' t.scheme = 'ParseStarter' t.configuration = 'Debug' - t.destinations = [watchos_simulator, ios_simulator] + t.destinations = [watchos_simulator] t.actions = build_action t.formatter = XCTask::BuildFormatter::XCPRETTY end @@ -387,7 +387,7 @@ namespace :test do t.directory = SCRIPT_PATH t.workspace = 'Parse.xcworkspace' t.scheme = 'ParseLiveQuery-watchOS' - t.destinations = [watchos_simulator, ios_simulator] + t.destinations = [watchos_simulator] t.configuration = 'Debug' t.actions = build_action t.formatter = XCTask::BuildFormatter::XCPRETTY From cce4c8f373c811ef55f0b6747b36db4258f6ad6a Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 00:36:51 +0100 Subject: [PATCH 56/70] Update ci.yml --- .github/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dcf091911..202743a68 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,7 +117,17 @@ jobs: tvDeviceModel: Apple TV macosVersion: 14 developerDir: CI_XCODE_15 - - name: Xcode 16 + - name: Xcode 16 old + script: build:starters + iosVersion: '18.1' + iosDeviceModel: iPhone 16 + watchOsVersion: '11.1' + watchDeviceModel: Apple Watch Series 10 (46mm) + tvOsVersion: '18.1' + tvDeviceModel: Apple TV + macosVersion: 15 + developerDir: CI_XCODE_16 + - name: Xcode 16 new script: build:starters iosVersion: '18.2' iosDeviceModel: iPhone 16 Pro Max From 6d3681db0eb3de089f955b9642d1f180ad79b4df Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 00:43:08 +0100 Subject: [PATCH 57/70] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 202743a68..21967e9fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -125,7 +125,7 @@ jobs: watchDeviceModel: Apple Watch Series 10 (46mm) tvOsVersion: '18.1' tvDeviceModel: Apple TV - macosVersion: 15 + # macosVersion: 15 developerDir: CI_XCODE_16 - name: Xcode 16 new script: build:starters From bd26d912a6a8e18bed2ca76ea00f6883b9b8f07d Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 00:51:34 +0100 Subject: [PATCH 58/70] Update ci.yml --- .github/workflows/ci.yml | 45 +++++++++++++++++++++++++++------------- 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 21967e9fa..a5431e502 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,7 +117,7 @@ jobs: tvDeviceModel: Apple TV macosVersion: 14 developerDir: CI_XCODE_15 - - name: Xcode 16 old + - name: Xcode 16 script: build:starters iosVersion: '18.1' iosDeviceModel: iPhone 16 @@ -125,7 +125,7 @@ jobs: watchDeviceModel: Apple Watch Series 10 (46mm) tvOsVersion: '18.1' tvDeviceModel: Apple TV - # macosVersion: 15 + macosVersion: 14 developerDir: CI_XCODE_16 - name: Xcode 16 new script: build:starters @@ -135,27 +135,44 @@ jobs: watchDeviceModel: Apple Watch Series 10 (46mm) tvOsVersion: '18.1' tvDeviceModel: Apple TV - macosVersion: 15 + macosVersion: 14 developerDir: CI_XCODE_16 - - name: LiveQuery Module Build, Xcode 15, iOS 17, macOS 14, watchOS 10, tvOS 17 - script: build:starters + - name: LiveQuery Module, iOS 17 + script: test:parse_live_query:ios iosVersion: '17.5' iosDeviceModel: iPhone 15 + developerDir: CI_XCODE_16 + - name: LiveQuery Module, iOS 18 + script: test:parse_live_query:ios + iosVersion: '18.1' + iosDeviceModel: iPhone 16 + developerDir: CI_XCODE_16 + - name: LiveQuery Module, macOS 14 + script: test:parse_live_query:osx + macosVersion: 14 + - name: LiveQuery Module, macOS 15 + script: test:parse_live_query:osx + macosVersion: 15 + developerDir: CI_XCODE_16 + - name: LiveQuery Module, watchOS 11 + script: test:parse_live_query:watchos + watchOsVersion: '11.1' + watchDeviceModel: Apple Watch Series 10 (46mm) + developerDir: CI_XCODE_16 + - name: LiveQuery Module, watchOS 10 + script: test:parse_live_query:watchos watchOsVersion: '10.5' watchDeviceModel: Apple Watch Series 9 (45mm) + developerDir: CI_XCODE_15 + - name: LiveQuery Module, tvOS 17.5 + script: test:parse_live_query:tvos tvOsVersion: '17.5' tvDeviceModel: Apple TV - macosVersion: 14 - developerDir: CI_XCODE_15 - - name: LiveQuery Module Build, Xcode 16, iOS 18, macOS 15, watchOS 11, tvOS 18 - script: build:starters - iosVersion: '18.2' - iosDeviceModel: iPhone 16 Pro Max - watchOsVersion: '11.2' - watchDeviceModel: Apple Watch Series 10 (46mm) + developerDir: CI_XCODE_16 + - name: LiveQuery Module, tvOS 18.1 + script: test:parse_live_query:tvos tvOsVersion: '18.1' tvDeviceModel: Apple TV - macosVersion: 15 developerDir: CI_XCODE_16 # - name: Core Module, iOS 17 # script: test:ios From 72a71b001064f7f331fb75ddac42bc708fbd0ec1 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 01:03:14 +0100 Subject: [PATCH 59/70] Update ci.yml --- .github/workflows/ci.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5431e502..dd8f9f385 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -127,16 +127,6 @@ jobs: tvDeviceModel: Apple TV macosVersion: 14 developerDir: CI_XCODE_16 - - name: Xcode 16 new - script: build:starters - iosVersion: '18.2' - iosDeviceModel: iPhone 16 Pro Max - watchOsVersion: '11.2' - watchDeviceModel: Apple Watch Series 10 (46mm) - tvOsVersion: '18.1' - tvDeviceModel: Apple TV - macosVersion: 14 - developerDir: CI_XCODE_16 - name: LiveQuery Module, iOS 17 script: test:parse_live_query:ios iosVersion: '17.5' @@ -150,6 +140,7 @@ jobs: - name: LiveQuery Module, macOS 14 script: test:parse_live_query:osx macosVersion: 14 + developerDir: CI_XCODE_15 - name: LiveQuery Module, macOS 15 script: test:parse_live_query:osx macosVersion: 15 From d1f96f22d76220b0d58bb8bf5f3c5dd5d1e8c62a Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 01:04:34 +0100 Subject: [PATCH 60/70] Update ci.yml --- .github/workflows/ci.yml | 80 ++++++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd8f9f385..a9eaa9f10 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,9 +109,9 @@ jobs: include: - name: Xcode 15 script: build:starters - iosVersion: '17.5' + iosVersion: '17.0' iosDeviceModel: iPhone 15 - watchOsVersion: '10.5' + watchOsVersion: '10.0' watchDeviceModel: Apple Watch Series 9 (45mm) tvOsVersion: '17.5' tvDeviceModel: Apple TV @@ -127,44 +127,44 @@ jobs: tvDeviceModel: Apple TV macosVersion: 14 developerDir: CI_XCODE_16 - - name: LiveQuery Module, iOS 17 - script: test:parse_live_query:ios - iosVersion: '17.5' - iosDeviceModel: iPhone 15 - developerDir: CI_XCODE_16 - - name: LiveQuery Module, iOS 18 - script: test:parse_live_query:ios - iosVersion: '18.1' - iosDeviceModel: iPhone 16 - developerDir: CI_XCODE_16 - - name: LiveQuery Module, macOS 14 - script: test:parse_live_query:osx - macosVersion: 14 - developerDir: CI_XCODE_15 - - name: LiveQuery Module, macOS 15 - script: test:parse_live_query:osx - macosVersion: 15 - developerDir: CI_XCODE_16 - - name: LiveQuery Module, watchOS 11 - script: test:parse_live_query:watchos - watchOsVersion: '11.1' - watchDeviceModel: Apple Watch Series 10 (46mm) - developerDir: CI_XCODE_16 - - name: LiveQuery Module, watchOS 10 - script: test:parse_live_query:watchos - watchOsVersion: '10.5' - watchDeviceModel: Apple Watch Series 9 (45mm) - developerDir: CI_XCODE_15 - - name: LiveQuery Module, tvOS 17.5 - script: test:parse_live_query:tvos - tvOsVersion: '17.5' - tvDeviceModel: Apple TV - developerDir: CI_XCODE_16 - - name: LiveQuery Module, tvOS 18.1 - script: test:parse_live_query:tvos - tvOsVersion: '18.1' - tvDeviceModel: Apple TV - developerDir: CI_XCODE_16 + # - name: LiveQuery Module, iOS 17 + # script: test:parse_live_query:ios + # iosVersion: '17.5' + # iosDeviceModel: iPhone 15 + # developerDir: CI_XCODE_16 + # - name: LiveQuery Module, iOS 18 + # script: test:parse_live_query:ios + # iosVersion: '18.1' + # iosDeviceModel: iPhone 16 + # developerDir: CI_XCODE_16 + # - name: LiveQuery Module, macOS 14 + # script: test:parse_live_query:osx + # macosVersion: 14 + # developerDir: CI_XCODE_15 + # - name: LiveQuery Module, macOS 15 + # script: test:parse_live_query:osx + # macosVersion: 15 + # developerDir: CI_XCODE_16 + # - name: LiveQuery Module, watchOS 11 + # script: test:parse_live_query:watchos + # watchOsVersion: '11.1' + # watchDeviceModel: Apple Watch Series 10 (46mm) + # developerDir: CI_XCODE_16 + # - name: LiveQuery Module, watchOS 10 + # script: test:parse_live_query:watchos + # watchOsVersion: '10.5' + # watchDeviceModel: Apple Watch Series 9 (45mm) + # developerDir: CI_XCODE_15 + # - name: LiveQuery Module, tvOS 17.5 + # script: test:parse_live_query:tvos + # tvOsVersion: '17.5' + # tvDeviceModel: Apple TV + # developerDir: CI_XCODE_16 + # - name: LiveQuery Module, tvOS 18.1 + # script: test:parse_live_query:tvos + # tvOsVersion: '18.1' + # tvDeviceModel: Apple TV + # developerDir: CI_XCODE_16 # - name: Core Module, iOS 17 # script: test:ios # iosVersion: '17.5' From 1f9ef4aa3fadf8c644e084835c672aafb25821e2 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 01:13:53 +0100 Subject: [PATCH 61/70] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9eaa9f10..53eaf0a28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,9 +110,9 @@ jobs: - name: Xcode 15 script: build:starters iosVersion: '17.0' - iosDeviceModel: iPhone 15 + iosDeviceModel: iPhone 16 watchOsVersion: '10.0' - watchDeviceModel: Apple Watch Series 9 (45mm) + watchDeviceModel: Apple Watch Series 10 (46mm) tvOsVersion: '17.5' tvDeviceModel: Apple TV macosVersion: 14 From 514c99b9e1d25a4051783a67aa4574327bf446c9 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 01:17:19 +0100 Subject: [PATCH 62/70] Update ci.yml --- .github/workflows/ci.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53eaf0a28..dc6ecf105 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,7 +109,7 @@ jobs: include: - name: Xcode 15 script: build:starters - iosVersion: '17.0' + iosVersion: '18.1' iosDeviceModel: iPhone 16 watchOsVersion: '10.0' watchDeviceModel: Apple Watch Series 10 (46mm) @@ -117,16 +117,16 @@ jobs: tvDeviceModel: Apple TV macosVersion: 14 developerDir: CI_XCODE_15 - - name: Xcode 16 - script: build:starters - iosVersion: '18.1' - iosDeviceModel: iPhone 16 - watchOsVersion: '11.1' - watchDeviceModel: Apple Watch Series 10 (46mm) - tvOsVersion: '18.1' - tvDeviceModel: Apple TV - macosVersion: 14 - developerDir: CI_XCODE_16 + # - name: Xcode 16 + # script: build:starters + # iosVersion: '18.1' + # iosDeviceModel: iPhone 16 + # watchOsVersion: '11.1' + # watchDeviceModel: Apple Watch Series 10 (46mm) + # tvOsVersion: '18.1' + # tvDeviceModel: Apple TV + # macosVersion: 14 + # developerDir: CI_XCODE_16 # - name: LiveQuery Module, iOS 17 # script: test:parse_live_query:ios # iosVersion: '17.5' From d2007af11c2fc09c3da61872e166637513fe7e03 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 01:19:04 +0100 Subject: [PATCH 63/70] Update ci.yml --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc6ecf105..13672d3cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,6 +107,7 @@ jobs: strategy: matrix: include: + # Xcode - name: Xcode 15 script: build:starters iosVersion: '18.1' @@ -127,6 +128,7 @@ jobs: # tvDeviceModel: Apple TV # macosVersion: 14 # developerDir: CI_XCODE_16 + # LiveQuery Module # - name: LiveQuery Module, iOS 17 # script: test:parse_live_query:ios # iosVersion: '17.5' @@ -165,6 +167,7 @@ jobs: # tvOsVersion: '18.1' # tvDeviceModel: Apple TV # developerDir: CI_XCODE_16 + # Core Module # - name: Core Module, iOS 17 # script: test:ios # iosVersion: '17.5' From 5713baa21449376b5ed1df7e789f4445e054b5d4 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 01:23:25 +0100 Subject: [PATCH 64/70] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13672d3cc..c7989cf13 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,7 +114,7 @@ jobs: iosDeviceModel: iPhone 16 watchOsVersion: '10.0' watchDeviceModel: Apple Watch Series 10 (46mm) - tvOsVersion: '17.5' + tvOsVersion: '18.1' tvDeviceModel: Apple TV macosVersion: 14 developerDir: CI_XCODE_15 From 80b412be94abf9053833739fb31f4bbcb0ce8288 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 01:31:36 +0100 Subject: [PATCH 65/70] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c7989cf13..8d2e51366 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -112,7 +112,7 @@ jobs: script: build:starters iosVersion: '18.1' iosDeviceModel: iPhone 16 - watchOsVersion: '10.0' + watchOsVersion: '11.1' watchDeviceModel: Apple Watch Series 10 (46mm) tvOsVersion: '18.1' tvDeviceModel: Apple TV From a6d99a284f37aaadc017477f6aecc27cb6400f24 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 01:38:30 +0100 Subject: [PATCH 66/70] Update ci.yml --- .github/workflows/ci.yml | 132 +++++++++++++++++++-------------------- 1 file changed, 66 insertions(+), 66 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d2e51366..806fea942 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -118,74 +118,74 @@ jobs: tvDeviceModel: Apple TV macosVersion: 14 developerDir: CI_XCODE_15 - # - name: Xcode 16 - # script: build:starters - # iosVersion: '18.1' - # iosDeviceModel: iPhone 16 - # watchOsVersion: '11.1' - # watchDeviceModel: Apple Watch Series 10 (46mm) - # tvOsVersion: '18.1' - # tvDeviceModel: Apple TV - # macosVersion: 14 - # developerDir: CI_XCODE_16 + - name: Xcode 16 + script: build:starters + iosVersion: '18.1' + iosDeviceModel: iPhone 16 + watchOsVersion: '11.1' + watchDeviceModel: Apple Watch Series 10 (46mm) + tvOsVersion: '18.1' + tvDeviceModel: Apple TV + macosVersion: 14 + developerDir: CI_XCODE_16 # LiveQuery Module - # - name: LiveQuery Module, iOS 17 - # script: test:parse_live_query:ios - # iosVersion: '17.5' - # iosDeviceModel: iPhone 15 - # developerDir: CI_XCODE_16 - # - name: LiveQuery Module, iOS 18 - # script: test:parse_live_query:ios - # iosVersion: '18.1' - # iosDeviceModel: iPhone 16 - # developerDir: CI_XCODE_16 - # - name: LiveQuery Module, macOS 14 - # script: test:parse_live_query:osx - # macosVersion: 14 - # developerDir: CI_XCODE_15 - # - name: LiveQuery Module, macOS 15 - # script: test:parse_live_query:osx - # macosVersion: 15 - # developerDir: CI_XCODE_16 - # - name: LiveQuery Module, watchOS 11 - # script: test:parse_live_query:watchos - # watchOsVersion: '11.1' - # watchDeviceModel: Apple Watch Series 10 (46mm) - # developerDir: CI_XCODE_16 - # - name: LiveQuery Module, watchOS 10 - # script: test:parse_live_query:watchos - # watchOsVersion: '10.5' - # watchDeviceModel: Apple Watch Series 9 (45mm) - # developerDir: CI_XCODE_15 - # - name: LiveQuery Module, tvOS 17.5 - # script: test:parse_live_query:tvos - # tvOsVersion: '17.5' - # tvDeviceModel: Apple TV - # developerDir: CI_XCODE_16 - # - name: LiveQuery Module, tvOS 18.1 - # script: test:parse_live_query:tvos - # tvOsVersion: '18.1' - # tvDeviceModel: Apple TV - # developerDir: CI_XCODE_16 + - name: LiveQuery Module, iOS 17 + script: test:parse_live_query:ios + iosVersion: '17.5' + iosDeviceModel: iPhone 15 + developerDir: CI_XCODE_16 + - name: LiveQuery Module, iOS 18 + script: test:parse_live_query:ios + iosVersion: '18.1' + iosDeviceModel: iPhone 16 + developerDir: CI_XCODE_16 + - name: LiveQuery Module, macOS 14 + script: test:parse_live_query:osx + macosVersion: 14 + developerDir: CI_XCODE_15 + - name: LiveQuery Module, macOS 15 + script: test:parse_live_query:osx + macosVersion: 15 + developerDir: CI_XCODE_16 + - name: LiveQuery Module, watchOS 11 + script: test:parse_live_query:watchos + watchOsVersion: '11.1' + watchDeviceModel: Apple Watch Series 10 (46mm) + developerDir: CI_XCODE_16 + - name: LiveQuery Module, watchOS 10 + script: test:parse_live_query:watchos + watchOsVersion: '10.5' + watchDeviceModel: Apple Watch Series 9 (45mm) + developerDir: CI_XCODE_15 + - name: LiveQuery Module, tvOS 17.5 + script: test:parse_live_query:tvos + tvOsVersion: '17.5' + tvDeviceModel: Apple TV + developerDir: CI_XCODE_16 + - name: LiveQuery Module, tvOS 18.1 + script: test:parse_live_query:tvos + tvOsVersion: '18.1' + tvDeviceModel: Apple TV + developerDir: CI_XCODE_16 # Core Module - # - name: Core Module, iOS 17 - # script: test:ios - # iosVersion: '17.5' - # iosDeviceModel: iPhone 15 - # developerDir: CI_XCODE_16 - # - name: Core Module, iOS 18 - # script: test:ios - # iosVersion: '18.1' - # iosDeviceModel: iPhone 16 - # developerDir: CI_XCODE_16 - # - name: Core Module, macOS 14 - # script: test:macos - # macosVersion: 14 - # developerDir: CI_XCODE_16 - # - name: Core Module, macOS 15 - # script: test:macos - # macosVersion: 15 - # developerDir: CI_XCODE_16 + - name: Core Module, iOS 17 + script: test:ios + iosVersion: '17.5' + iosDeviceModel: iPhone 15 + developerDir: CI_XCODE_16 + - name: Core Module, iOS 18 + script: test:ios + iosVersion: '18.1' + iosDeviceModel: iPhone 16 + developerDir: CI_XCODE_16 + - name: Core Module, macOS 14 + script: test:macos + macosVersion: 14 + developerDir: CI_XCODE_16 + - name: Core Module, macOS 15 + script: test:macos + macosVersion: 15 + developerDir: CI_XCODE_16 fail-fast: false runs-on: macos-${{ matrix.macosVersion || 14 }} name: ${{ matrix.name }} From 2b44d71ba5076d44b8e3d64e933f0f840646b5c1 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 02:04:16 +0100 Subject: [PATCH 67/70] Update ci.yml --- .github/workflows/ci.yml | 44 ++++++++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 806fea942..3f8b249f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -128,16 +128,39 @@ jobs: tvDeviceModel: Apple TV macosVersion: 14 developerDir: CI_XCODE_16 + # Core Module + - name: Core Module, iOS 17 + script: test:ios + iosVersion: '17.5' + iosDeviceModel: iPhone 15 + macosVersion: 15 + developerDir: CI_XCODE_16 + - name: Core Module, iOS 18 + script: test:ios + iosVersion: '18.1' + iosDeviceModel: iPhone 16 + macosVersion: 15 + developerDir: CI_XCODE_16 + - name: Core Module, macOS 14 + script: test:macos + macosVersion: 14 + developerDir: CI_XCODE_16 + - name: Core Module, macOS 15 + script: test:macos + macosVersion: 15 + developerDir: CI_XCODE_16 # LiveQuery Module - name: LiveQuery Module, iOS 17 script: test:parse_live_query:ios iosVersion: '17.5' iosDeviceModel: iPhone 15 + macosVersion: 15 developerDir: CI_XCODE_16 - name: LiveQuery Module, iOS 18 script: test:parse_live_query:ios iosVersion: '18.1' iosDeviceModel: iPhone 16 + macosVersion: 15 developerDir: CI_XCODE_16 - name: LiveQuery Module, macOS 14 script: test:parse_live_query:osx @@ -151,39 +174,24 @@ jobs: script: test:parse_live_query:watchos watchOsVersion: '11.1' watchDeviceModel: Apple Watch Series 10 (46mm) + macosVersion: 15 developerDir: CI_XCODE_16 - name: LiveQuery Module, watchOS 10 script: test:parse_live_query:watchos watchOsVersion: '10.5' watchDeviceModel: Apple Watch Series 9 (45mm) + macosVersion: 15 developerDir: CI_XCODE_15 - name: LiveQuery Module, tvOS 17.5 script: test:parse_live_query:tvos tvOsVersion: '17.5' tvDeviceModel: Apple TV + macosVersion: 15 developerDir: CI_XCODE_16 - name: LiveQuery Module, tvOS 18.1 script: test:parse_live_query:tvos tvOsVersion: '18.1' tvDeviceModel: Apple TV - developerDir: CI_XCODE_16 - # Core Module - - name: Core Module, iOS 17 - script: test:ios - iosVersion: '17.5' - iosDeviceModel: iPhone 15 - developerDir: CI_XCODE_16 - - name: Core Module, iOS 18 - script: test:ios - iosVersion: '18.1' - iosDeviceModel: iPhone 16 - developerDir: CI_XCODE_16 - - name: Core Module, macOS 14 - script: test:macos - macosVersion: 14 - developerDir: CI_XCODE_16 - - name: Core Module, macOS 15 - script: test:macos macosVersion: 15 developerDir: CI_XCODE_16 fail-fast: false From f8eb7427669aafac40bf8dcd386ccf7809916396 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 02:28:53 +0100 Subject: [PATCH 68/70] Update ci.yml --- .github/workflows/ci.yml | 91 +--------------------------------------- 1 file changed, 1 insertion(+), 90 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f8b249f3..87948ebab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,95 +11,6 @@ env: CI_XCODE_15: /Applications/Xcode_15.4.0.app/Contents/Developer CI_XCODE_16: /Applications/Xcode_16.1.0.app/Contents/Developer jobs: - # tests: - # env: - # GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # timeout-minutes: 45 - # strategy: - # matrix: - # script: - # - test:ios - # - test:macos - # - test:parse_live_query:all - # - xcode15 # runs build:starters on Xcode 15 - # - xcode16 # runs build:starters on Xcode 16 - # fail-fast: false - # runs-on: macos-14 - # steps: - # - uses: actions/checkout@v4 - # - name: Cache SPM - # uses: actions/cache@v4 - # with: - # path: ~/Library/Developer/Xcode/DerivedData/Parse*/SourcePackages/ - # key: ${{ runner.os }}-spm-${{ hashFiles('Parse.xcworkspace/xcshareddata/swiftpm/Package.resolved') }} - # restore-keys: | - # ${{ runner.os }}-spm- - # - name: Setup Ruby - # uses: ruby/setup-ruby@v1 - # with: - # bundler-cache: true - # - name: Create and set the default keychain - # run: | - # security create-keychain -p "" temporary - # security default-keychain -s temporary - # security unlock-keychain -p "" temporary - # security set-keychain-settings -lut 7200 temporary - # - name: Submodules - # run: git submodule update --init --recursive - # - name: Build-Test - # run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake ${{ ((matrix.script == 'xcode15' || matrix.script == 'xcode16') && 'build:starters') || matrix.script }} - # env: - # DEVELOPER_DIR: ${{ (matrix.script == 'xcode15' && env.CI_XCODE_15) || env.CI_XCODE_16 }} - # - name: Generate Environment Variables - # if: ${{ always() }} - # env: - # ARTIFACT_NAME: ${{ matrix.script }}-logs - # TEST_RESULTS: ${{ matrix.script }}.xcresult - # run: | - # ARTIFACT_NAME=${{ env.ARTIFACT_NAME }} - # TEST_RESULTS=$(find ~/Library/Developer/Xcode/DerivedData -name "*.xcresult") - # BUILD_RESULTS=$(find ~/Library/Developer/Xcode/DerivedData -name "*.xcactivitylog") - # echo ARTIFACT_NAME=${ARTIFACT_NAME//:/-} >> $GITHUB_ENV # replace colon with dashes - # echo TEST_RESULTS=${TEST_RESULTS} >> $GITHUB_ENV - # echo "Artifact Name: $ARTIFACT_NAME" - # echo "Test Result Location: $TEST_RESULTS" - # echo "Build Result Location: $BUILD_RESULTS" - # - name: Upload Artifact Logs - # if: ${{ failure() }} - # uses: actions/upload-artifact@v4 - # with: - # name: ${{ env.ARTIFACT_NAME }} - # path: | - # ~/Library/Developer/Xcode/DerivedData/Parse-*/Logs/Test - # ~/Library/Developer/Xcode/DerivedData/**/Logs/Build - # - name: Install test parsing dependencies - # if: matrix.script == 'test:ios' - # # Workaround as codecov cannot parse xcresult files; - # # https://github.com/codecov/uploader/issues/1078 - # # https://github.com/codecov/codecov-action/issues/1367 - # run: | - # brew install a7ex/homebrew-formulae/xcresultparser - # - name: Convert Xcode test results for code coverage upload - # if: matrix.script == 'test:ios' - # env: - # COVERAGE_PATH: ${{ github.workspace }}/build/${{ matrix.script }}-coverage.xml - # run: | - # COVERAGE_PATH=${COVERAGE_PATH//:/-} - # echo COVERAGE_PATH=$COVERAGE_PATH >> $GITHUB_ENV - # echo "TEST_RESULTS: $TEST_RESULTS" - # echo "COVERAGE_PATH: $COVERAGE_PATH" - # set -o pipefail && \ - # xcresultparser --output-format cobertura \ - # "$TEST_RESULTS" >"$COVERAGE_PATH" - # - name: Upload code coverage - # if: matrix.script == 'test:ios' - # uses: codecov/codecov-action@v4 - # with: - # # Set to `true` once codecov token bug is fixed; https://github.com/parse-community/parse-server/issues/9129 - # fail_ci_if_error: false - # token: ${{ secrets.CODECOV_TOKEN }} - # plugin: xcode - # file: ${{ env.COVERAGE_PATH }} test-xcode: env: GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -195,7 +106,7 @@ jobs: macosVersion: 15 developerDir: CI_XCODE_16 fail-fast: false - runs-on: macos-${{ matrix.macosVersion || 14 }} + runs-on: macos-${{ matrix.macosVersion }} name: ${{ matrix.name }} steps: - uses: actions/checkout@v4 From 6fcf347f7abaed197f306b550fa9c45f77702bba Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 02:31:49 +0100 Subject: [PATCH 69/70] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 87948ebab..377f2bfeb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,13 +93,13 @@ jobs: watchDeviceModel: Apple Watch Series 9 (45mm) macosVersion: 15 developerDir: CI_XCODE_15 - - name: LiveQuery Module, tvOS 17.5 + - name: LiveQuery Module, tvOS 17 script: test:parse_live_query:tvos tvOsVersion: '17.5' tvDeviceModel: Apple TV macosVersion: 15 developerDir: CI_XCODE_16 - - name: LiveQuery Module, tvOS 18.1 + - name: LiveQuery Module, tvOS 18 script: test:parse_live_query:tvos tvOsVersion: '18.1' tvDeviceModel: Apple TV From b53dfa74a36d04b3bf506855c2d3be31c33c9b87 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 28 Jan 2025 02:36:33 +0100 Subject: [PATCH 70/70] Update ci.yml --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 377f2bfeb..344736312 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,18 +81,18 @@ jobs: script: test:parse_live_query:osx macosVersion: 15 developerDir: CI_XCODE_16 - - name: LiveQuery Module, watchOS 11 - script: test:parse_live_query:watchos - watchOsVersion: '11.1' - watchDeviceModel: Apple Watch Series 10 (46mm) - macosVersion: 15 - developerDir: CI_XCODE_16 - name: LiveQuery Module, watchOS 10 script: test:parse_live_query:watchos watchOsVersion: '10.5' watchDeviceModel: Apple Watch Series 9 (45mm) macosVersion: 15 developerDir: CI_XCODE_15 + - name: LiveQuery Module, watchOS 11 + script: test:parse_live_query:watchos + watchOsVersion: '11.1' + watchDeviceModel: Apple Watch Series 10 (46mm) + macosVersion: 15 + developerDir: CI_XCODE_16 - name: LiveQuery Module, tvOS 17 script: test:parse_live_query:tvos tvOsVersion: '17.5'