Skip to content

Fix the Update Glia iOS Widgets SDK Version workflow#143

Merged
Andrii-Horishnii-Glia merged 3 commits intodevelopmentfrom
fix/MOB-5042-ios-sdk-version-workflow
Feb 16, 2026
Merged

Fix the Update Glia iOS Widgets SDK Version workflow#143
Andrii-Horishnii-Glia merged 3 commits intodevelopmentfrom
fix/MOB-5042-ios-sdk-version-workflow

Conversation

@Andrii-Horishnii-Glia
Copy link
Contributor

https://glia.atlassian.net/browse/MOB-5042

Fix the Update Glia iOS Widgets SDK Version workflow

Create a Gemfile in example-app/ to manage CocoaPods via bundler,
following the React Native pattern. This enables reproducible builds
and proper bundler caching in CI workflows.

Phase 1 of MOB-5042 iOS SDK version workflow fix.
Update the workflow to properly update both the podspec and Podfile.lock
when changing the iOS Widgets SDK version:

- Switch from ubuntu-latest to macos-latest runner (required for CocoaPods)
- Add Node.js 20.x setup for npm dependencies
- Add Ruby 3.2 setup with bundler cache for CocoaPods management
- Fix sed syntax for macOS (sed -i '' instead of sed -i)
- Install npm dependencies before updating pods
- Add pod update step using bundler to update Podfile.lock

Phase 2 of MOB-5042 iOS SDK version workflow fix.
Add working-directory parameter to Ruby setup in run-tests.yml iOS job
to enable bundler cache for the Gemfile in example-app/. Capacitor 6
automatically uses 'bundle exec pod install' when bundler is detected,
so no additional bundle install step is needed.

Also commit Gemfile.lock to lock gem versions for reproducible builds.

Phase 3 of MOB-5042 iOS SDK version workflow fix.
@Andrii-Horishnii-Glia Andrii-Horishnii-Glia requested a review from a team as a code owner February 2, 2026 14:37
@Andrii-Horishnii-Glia Andrii-Horishnii-Glia changed the base branch from master to development February 2, 2026 14:37
@glia-snyk-gh
Copy link

glia-snyk-gh commented Feb 2, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@Andrii-Horishnii-Glia Andrii-Horishnii-Glia merged commit eb6b233 into development Feb 16, 2026
10 checks passed
@Andrii-Horishnii-Glia Andrii-Horishnii-Glia deleted the fix/MOB-5042-ios-sdk-version-workflow branch February 16, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants