Skip to content

Conversation

@ribamarsantos
Copy link

Summary:

This PR updates the template's Gemfile dependencies:

  • Updates CocoaPods from >= 1.13 to 1.16.2
  • Updates xcodeproj from < 1.26.0 to 1.27.0

References:

Changelog:

[IOS][CHANGED] - Update Gemfile: CocoaPods 1.16.2 and xcodeproj 1.27.0

Test Plan:

Screenshot 2025-10-12 at 12 46 18 PM

@ribamarsantos ribamarsantos marked this pull request as ready for review October 12, 2025 18:47
@cortinico cortinico requested a review from cipolleschi October 13, 2025 14:43
@cortinico
Copy link
Member

I'm unsure we want to merge this, unless we have a strong reason to restrict the cocoapods version

@liamjones
Copy link

If not merging, you may want to at least do something like gem 'xcodeproj', '!= 1.26.0' so it can continue to pull new versions? It was only 1.26.0 specifically that was broken.

@ribamarsantos
Copy link
Author

ribamarsantos commented Oct 13, 2025

I'm unsure we want to merge this, unless we have a strong reason to restrict the cocoapods version

@cortinico @cipolleschi
I adjusted it to be '>=1.16.2' and '>=1.27.0'


# Exclude problematic versions of cocoapods and activesupport that causes build failures.
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
gem 'cocoapods', '>=1.16.2'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this? Can't we keep the previous setups? Otherwise we are forcing everyone to use at least 1.16.2. We try to be as flexible as possible with cocoapods.

gem 'cocoapods', '>=1.16.2'
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
gem 'xcodeproj', '< 1.26.0'
gem 'xcodeproj', '>=1.27.0'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if only 1.26.0 was broken, can we replace this with != 1.26.0 instead?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main motivation to bump the min xcode proj version to >= 1.27 was to be compatible with the most updated cocoapods 1.16.2.
https://rubygems.org/gems/cocoapods.

That been said, What would be the reason to keep older cocoapods / xcodeproj compatible version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants