From ad7e48b771c74446c8a7c22e9521fa8ed80a7687 Mon Sep 17 00:00:00 2001 From: Seraj Ahmad Date: Fri, 25 Jul 2025 18:49:53 +0530 Subject: [PATCH 01/15] chore: updating workflow file --- .github/workflows/ci.yml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03df0e6..d71437d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: workflow_dispatch: inputs: frameworkVersion: - description: 'Framework Version' + description: 'Framework Version' required: true default: '24.12.0' iOSVersion: @@ -18,7 +18,7 @@ on: jobs: verify-podspec-install: - runs-on: macos-14 + runs-on: macos-15 steps: - uses: actions/checkout@v4 @@ -68,9 +68,10 @@ jobs: elif [ "$majorMinorVersion" = "24.8" ] || [ "$majorMinorVersion" = "24.4" ] || [ "$majorMinorVersion" = "10.0" ]; then iOSVersion="16.0" else - iOSVersion="16.0" # Default fallback + iOSVersion="17.0" # Default fallback fi echo "Framework version: $frameworkVersion -> iOS version: $iOSVersion" + echo "majorMinorVersion=$majorMinorVersion" >> $GITHUB_ENV echo "iOSVersion=$iOSVersion" >> $GITHUB_ENV - name: Create Podfile with latest podspecs @@ -111,13 +112,17 @@ jobs: run: sudo xcode-select -p - name: Determine Xcode version based on iOS version run: | - if [ -z "${{ env.iOSVersion }}" ]; then - echo "iOSVersion is not set. Using latest Xcode version." - neededXcode='Xcode_16.1' - elif [[ ${{ env.iOSVersion }} == '17.0' ]]; then + frameworkVersion=${{ env.majorMinorVersion }} + if [ "$sdkVersion" = "25.8" ]; then + neededXcode='Xcode_16.4' + elif [ "$frameworkVersion" = "25.4" ]; then + neededXcode='Xcode_16.2' + elif [ "$frameworkVersion" = "24.12" ]; then neededXcode='Xcode_16.1' + elif [ "$frameworkVersion" = "24.8" ] || [ "$frameworkVersion" = "24.4" ] || [ "$frameworkVersion" = "10.0" ]; then + neededXcode='Xcode_16.0' else - neededXcode='Xcode_15.4' + neededXcode='Xcode_16.4' # Default fallback fi echo "neededXcode=$neededXcode" >> $GITHUB_ENV - name: "Set Xcode version" @@ -126,7 +131,7 @@ jobs: - name: Create test application run: | cd .testing - xcodegen generate + xcodegen generate - name: Install pods for test application run: | cd .testing @@ -134,4 +139,4 @@ jobs: - name: Build test application (which uses the frameworks) run: | cd .testing - xcodebuild -workspace TestApp.xcworkspace -scheme 'TestApp' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 15' clean build + xcodebuild -workspace TestApp.xcworkspace -scheme 'TestApp' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 16' clean build From 848406d380391c1722a1c0e4af2851822075a316 Mon Sep 17 00:00:00 2001 From: Seraj Ahmad Date: Fri, 25 Jul 2025 18:51:38 +0530 Subject: [PATCH 02/15] chore: updating workflow file --- .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 d71437d..91d829c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ on: frameworkVersion: description: 'Framework Version' required: true - default: '24.12.0' + default: '25.4.0' iOSVersion: description: 'iOS Version' required: true From 49246bf7225c18845509896ab05c999731c595dd Mon Sep 17 00:00:00 2001 From: Seraj Ahmad Date: Fri, 25 Jul 2025 18:54:43 +0530 Subject: [PATCH 03/15] chore: updating workflow file --- .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 91d829c..e8718b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: id: frameworkVersion if: github.event_name != 'workflow_dispatch' run: | - relevantVersion=24.12.0 # safeguard in case no podspec file(s) were changed + relevantVersion=${{ env.determinedFrameworkVersion }} # safeguard in case no podspec file(s) were changed for file in ${{ steps.changed-files.outputs.all_changed_files }}; do lastVersion=`echo ${file} | cut -d / -f 2` [[ $lastVersion == [0-9]* ]] && relevantVersion=$lastVersion From 07ef4bef17c7587f5bbb8d3d5d8e1b5236908272 Mon Sep 17 00:00:00 2001 From: Seraj Ahmad Date: Fri, 25 Jul 2025 19:00:33 +0530 Subject: [PATCH 04/15] chore: updating workflow file --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8718b4..93c57bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: id: frameworkVersion if: github.event_name != 'workflow_dispatch' run: | - relevantVersion=${{ env.determinedFrameworkVersion }} # safeguard in case no podspec file(s) were changed + relevantVersion=${{ env.frameworkVersion }} # safeguard in case no podspec file(s) were changed for file in ${{ steps.changed-files.outputs.all_changed_files }}; do lastVersion=`echo ${file} | cut -d / -f 2` [[ $lastVersion == [0-9]* ]] && relevantVersion=$lastVersion @@ -63,12 +63,12 @@ jobs: run: | frameworkVersion=${{ env.determinedFrameworkVersion }} majorMinorVersion=$(echo $frameworkVersion | cut -d '.' -f 1-2) - if [ "$majorMinorVersion" = "24.12" ] || [ "$majorMinorVersion" = "25.4" ]; then + if [ "$majorMinorVersion" = "24.12" ] || [ "$majorMinorVersion" = "25.4" ] || [ "$majorMinorVersion" = "25.8" ]; then iOSVersion="17.0" elif [ "$majorMinorVersion" = "24.8" ] || [ "$majorMinorVersion" = "24.4" ] || [ "$majorMinorVersion" = "10.0" ]; then iOSVersion="16.0" else - iOSVersion="17.0" # Default fallback + iOSVersion="${{ env.iOSVersion }}" # Default fallback fi echo "Framework version: $frameworkVersion -> iOS version: $iOSVersion" echo "majorMinorVersion=$majorMinorVersion" >> $GITHUB_ENV From 99007aabf744d51a4e122e0458cefcf2daefc39e Mon Sep 17 00:00:00 2001 From: Seraj Ahmad Date: Fri, 25 Jul 2025 19:07:59 +0530 Subject: [PATCH 05/15] chore: updating workflow file --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93c57bc..27387a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,6 +37,8 @@ jobs: - name: Determine relevant podspec versions (based on changed files) id: frameworkVersion if: github.event_name != 'workflow_dispatch' + env: + frameworkVersion: '25.4.0' run: | relevantVersion=${{ env.frameworkVersion }} # safeguard in case no podspec file(s) were changed for file in ${{ steps.changed-files.outputs.all_changed_files }}; do From a717897f9701951c7c9ca1f121c94cb509e3b27e Mon Sep 17 00:00:00 2001 From: Seraj Ahmad Date: Fri, 25 Jul 2025 19:17:11 +0530 Subject: [PATCH 06/15] chore: updating workflow file --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27387a8..0aa1f8f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,10 +37,8 @@ jobs: - name: Determine relevant podspec versions (based on changed files) id: frameworkVersion if: github.event_name != 'workflow_dispatch' - env: - frameworkVersion: '25.4.0' run: | - relevantVersion=${{ env.frameworkVersion }} # safeguard in case no podspec file(s) were changed + relevantVersion="${{ env.frameworkVersion }}" # safeguard in case no podspec file(s) were changed for file in ${{ steps.changed-files.outputs.all_changed_files }}; do lastVersion=`echo ${file} | cut -d / -f 2` [[ $lastVersion == [0-9]* ]] && relevantVersion=$lastVersion From cf57d4bab2a53f015feca6e9ca98438a30054e97 Mon Sep 17 00:00:00 2001 From: Seraj Ahmad Date: Fri, 25 Jul 2025 19:20:33 +0530 Subject: [PATCH 07/15] chore: updating workflow file --- .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 0aa1f8f..e0fe59b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: id: frameworkVersion if: github.event_name != 'workflow_dispatch' run: | - relevantVersion="${{ env.frameworkVersion }}" # safeguard in case no podspec file(s) were changed + relevantVersion="25.4.0" # safeguard in case no podspec file(s) were changed for file in ${{ steps.changed-files.outputs.all_changed_files }}; do lastVersion=`echo ${file} | cut -d / -f 2` [[ $lastVersion == [0-9]* ]] && relevantVersion=$lastVersion From 43046b2bf7b33d4697d6bc1d1d9980e74b8ae198 Mon Sep 17 00:00:00 2001 From: Seraj Ahmad Date: Fri, 25 Jul 2025 19:29:08 +0530 Subject: [PATCH 08/15] chore: updating workflow file --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0fe59b..d72c219 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,7 +68,7 @@ jobs: elif [ "$majorMinorVersion" = "24.8" ] || [ "$majorMinorVersion" = "24.4" ] || [ "$majorMinorVersion" = "10.0" ]; then iOSVersion="16.0" else - iOSVersion="${{ env.iOSVersion }}" # Default fallback + iOSVersion="17.0" # Default fallback fi echo "Framework version: $frameworkVersion -> iOS version: $iOSVersion" echo "majorMinorVersion=$majorMinorVersion" >> $GITHUB_ENV @@ -113,10 +113,10 @@ jobs: - name: Determine Xcode version based on iOS version run: | frameworkVersion=${{ env.majorMinorVersion }} - if [ "$sdkVersion" = "25.8" ]; then + if [ "$frameworkVersion" = "25.8" ]; then neededXcode='Xcode_16.4' elif [ "$frameworkVersion" = "25.4" ]; then - neededXcode='Xcode_16.2' + neededXcode='Xcode_16.4' elif [ "$frameworkVersion" = "24.12" ]; then neededXcode='Xcode_16.1' elif [ "$frameworkVersion" = "24.8" ] || [ "$frameworkVersion" = "24.4" ] || [ "$frameworkVersion" = "10.0" ]; then From 6c6a1714a963733d6de486d3a9f5876ee1470cfc Mon Sep 17 00:00:00 2001 From: Seraj Ahmad Date: Fri, 25 Jul 2025 19:32:40 +0530 Subject: [PATCH 09/15] chore: updating workflow file --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d72c219..429d00f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,6 +110,8 @@ jobs: cat Podfile - name: "Displays Xcode current version" run: sudo xcode-select -p + - name: "List installed Xcode versions" + run: ls /Applications | grep Xcode - name: Determine Xcode version based on iOS version run: | frameworkVersion=${{ env.majorMinorVersion }} From e430ee049053d39cd15b76818d3ba36e42aa1275 Mon Sep 17 00:00:00 2001 From: Seraj Ahmad Date: Fri, 25 Jul 2025 19:36:08 +0530 Subject: [PATCH 10/15] chore: updating workflow file --- .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 429d00f..6399b25 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,15 +116,15 @@ jobs: run: | frameworkVersion=${{ env.majorMinorVersion }} if [ "$frameworkVersion" = "25.8" ]; then - neededXcode='Xcode_16.4' + neededXcode='Xcode_16.4.0' elif [ "$frameworkVersion" = "25.4" ]; then - neededXcode='Xcode_16.4' + neededXcode='Xcode_16.4.0' elif [ "$frameworkVersion" = "24.12" ]; then - neededXcode='Xcode_16.1' + neededXcode='Xcode_16.1.0' elif [ "$frameworkVersion" = "24.8" ] || [ "$frameworkVersion" = "24.4" ] || [ "$frameworkVersion" = "10.0" ]; then - neededXcode='Xcode_16.0' + neededXcode='Xcode_16.0.0' else - neededXcode='Xcode_16.4' # Default fallback + neededXcode='Xcode_16.4.0' # Default fallback fi echo "neededXcode=$neededXcode" >> $GITHUB_ENV - name: "Set Xcode version" From bdc0b8733d68485cdc3481797544ffd700510092 Mon Sep 17 00:00:00 2001 From: Seraj Ahmad Date: Fri, 25 Jul 2025 19:39:53 +0530 Subject: [PATCH 11/15] chore: updating workflow file --- .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 6399b25..b67c2cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,15 +116,15 @@ jobs: run: | frameworkVersion=${{ env.majorMinorVersion }} if [ "$frameworkVersion" = "25.8" ]; then - neededXcode='Xcode_16.4.0' + neededXcode="Xcode_16.4.0" elif [ "$frameworkVersion" = "25.4" ]; then - neededXcode='Xcode_16.4.0' + neededXcode="Xcode_16.4.0" elif [ "$frameworkVersion" = "24.12" ]; then - neededXcode='Xcode_16.1.0' + neededXcode="Xcode_16.1.0" elif [ "$frameworkVersion" = "24.8" ] || [ "$frameworkVersion" = "24.4" ] || [ "$frameworkVersion" = "10.0" ]; then - neededXcode='Xcode_16.0.0' + neededXcode="Xcode_16.0.0" else - neededXcode='Xcode_16.4.0' # Default fallback + neededXcode="Xcode_16.4.0" # Default fallback fi echo "neededXcode=$neededXcode" >> $GITHUB_ENV - name: "Set Xcode version" From 557ada363cf925c7c22c0ccacdd5a4e67ec5b3b5 Mon Sep 17 00:00:00 2001 From: Seraj Ahmad Date: Fri, 25 Jul 2025 19:45:53 +0530 Subject: [PATCH 12/15] chore: updating workflow file --- .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 b67c2cd..e588ff6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,15 +116,15 @@ jobs: run: | frameworkVersion=${{ env.majorMinorVersion }} if [ "$frameworkVersion" = "25.8" ]; then - neededXcode="Xcode_16.4.0" + neededXcode="Xcode_16.4" elif [ "$frameworkVersion" = "25.4" ]; then - neededXcode="Xcode_16.4.0" + neededXcode="Xcode_16.4" elif [ "$frameworkVersion" = "24.12" ]; then - neededXcode="Xcode_16.1.0" + neededXcode="Xcode_16.1" elif [ "$frameworkVersion" = "24.8" ] || [ "$frameworkVersion" = "24.4" ] || [ "$frameworkVersion" = "10.0" ]; then - neededXcode="Xcode_16.0.0" + neededXcode="Xcode_16.0" else - neededXcode="Xcode_16.4.0" # Default fallback + neededXcode="Xcode_16.4" # Default fallback fi echo "neededXcode=$neededXcode" >> $GITHUB_ENV - name: "Set Xcode version" From 7f7474292f010ed887b03ef2cb926e82706c195c Mon Sep 17 00:00:00 2001 From: Seraj Ahmad Date: Fri, 25 Jul 2025 19:59:39 +0530 Subject: [PATCH 13/15] chore: updating workflow file --- .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 e588ff6..e8bb040 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,7 +109,9 @@ jobs: echo "end" >> Podfile cat Podfile - name: "Displays Xcode current version" - run: sudo xcode-select -p + run: | + sudo xcode-select -p + xcodebuild -version - name: "List installed Xcode versions" run: ls /Applications | grep Xcode - name: Determine Xcode version based on iOS version @@ -129,7 +131,9 @@ jobs: echo "neededXcode=$neededXcode" >> $GITHUB_ENV - name: "Set Xcode version" if: env.neededXcode != '' - run: sudo xcode-select -s /Applications/${{ env.neededXcode }}.app/Contents/Developer + run: | + sudo xcode-select -s /Applications/${{ env.neededXcode }}.app/Contents/Developer + xcodebuild -version - name: Create test application run: | cd .testing From 35dc7b36ed75a14c7adf466c7bc1d28f57fdc150 Mon Sep 17 00:00:00 2001 From: Seraj Ahmad Date: Fri, 25 Jul 2025 20:08:18 +0530 Subject: [PATCH 14/15] chore: updating workflow file --- .github/workflows/ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8bb040..499831a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,16 +117,14 @@ jobs: - name: Determine Xcode version based on iOS version run: | frameworkVersion=${{ env.majorMinorVersion }} - if [ "$frameworkVersion" = "25.8" ]; then - neededXcode="Xcode_16.4" - elif [ "$frameworkVersion" = "25.4" ]; then - neededXcode="Xcode_16.4" + if [ "$frameworkVersion" = "25.8" ] || [ "$frameworkVersion" = "25.4" ]; then + neededXcode="Xcode_16.3" elif [ "$frameworkVersion" = "24.12" ]; then neededXcode="Xcode_16.1" elif [ "$frameworkVersion" = "24.8" ] || [ "$frameworkVersion" = "24.4" ] || [ "$frameworkVersion" = "10.0" ]; then neededXcode="Xcode_16.0" else - neededXcode="Xcode_16.4" # Default fallback + neededXcode="Xcode_16.3" # Default fallback fi echo "neededXcode=$neededXcode" >> $GITHUB_ENV - name: "Set Xcode version" From 7dd3cabd587910e19468a49e18ec6c3e01801447 Mon Sep 17 00:00:00 2001 From: Seraj Ahmad Date: Fri, 25 Jul 2025 20:25:29 +0530 Subject: [PATCH 15/15] chore: updating workflow file --- .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 499831a..020a1a5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -135,7 +135,7 @@ jobs: - name: Create test application run: | cd .testing - xcodegen generate + XCODEGEN_PROJECT_OBJECT_VERSION=60 xcodegen generate - name: Install pods for test application run: | cd .testing