Skip to content

Fix avoid forcing podspec versions - #35274

Closed
cipolleschi wants to merge 2 commits into
mainfrom
cipolleschi/fix_avoid_forcing_podspec_versions
Closed

Fix avoid forcing podspec versions#35274
cipolleschi wants to merge 2 commits into
mainfrom
cipolleschi/fix_avoid_forcing_podspec_versions

Conversation

@cipolleschi

Copy link
Copy Markdown
Contributor

Summary

This is a backport of this local fix we made on
0.71-stable.

All our podspecs delegates to the main React Native pods script to set up the dependencies properly. The React-Codegen.podspec, which is generated by
the script itself, was generated with hardcoded dependencies. This PR aligns the versioning with the other podspec.

On a side note, this could create issues in CI and when releaseing, because we are changing the versions to prepare the new release and it breaks some
steps.

Changelog

[iOS] [Fixed] - Make sure that the React-Codegen.podspec does not enforce specific versions of its dependencies.

Test Plan

  1. Ruby tests are passing
  2. Manually tested that pods are correctly installed in the following configurations
  • RNTester - Hermes - Old Architecture
  • RNTester - Hermes - New Architecture
  • RNTester - JSC - Old Architecture
  • RNTester - JSC - New Architecture

@facebook-github-botfacebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Nov 9, 2022
@cipolleschicipolleschi changed the title cipolleschi/fix avoid forcing podspec versionsFix avoid forcing podspec versionsNov 9, 2022
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@analysis-bot

analysis-bot commented Nov 9, 2022

Copy link
Copy Markdown
PlatformEngineArchSize (bytes)Diff
ios-universaln/a--

Base commit: c0f06e8
Branch: main

@cipolleschi
cipolleschiforce-pushed the cipolleschi/fix_avoid_forcing_podspec_versions branch from 1062e0f to 91b6d36CompareNovember 14, 2022 15:27
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@analysis-bot

Copy link
Copy Markdown
PlatformEngineArchSize (bytes)Diff
androidhermesarm64-v8a7,070,071-31,264
androidhermesarmeabi-v7a6,442,482-28,552
androidhermesx867,485,463-33,714
androidhermesx86_647,344,874-32,916
androidjscarm64-v8a8,934,550-30,639
androidjscarmeabi-v7a7,668,661-27,919
androidjscx868,994,599-33,091
androidjscx86_649,473,532-32,288

Base commit: c0f06e8
Branch: main

@kelset
kelset deleted the cipolleschi/fix_avoid_forcing_podspec_versions branch November 14, 2022 17:17
kelset pushed a commit that referenced this pull request Nov 22, 2022
Summary:
This is a backport of [this](becb47c) local fix we made on
0.71-stable.
All our podspecs delegates to the main React Native pods script to set up the dependencies properly. The React-Codegen.podspec, which is generated by
the script itself, was generated with hardcoded dependencies. This PR aligns the versioning with the other podspec.
On a side note, this could create issues in CI and when releaseing, because we are changing the versions to prepare the new release and it breaks some
steps.
## Changelog
[iOS] [Fixed] - Make sure that the React-Codegen.podspec does not enforce specific versions of its dependencies.
Pull Request resolved: #35274
Test Plan:
1. Ruby tests are passing
2. Manually tested that pods are correctly installed in the following configurations
- RNTester - Hermes - Old Architecture
- RNTester - Hermes - New Architecture
- RNTester - JSC - Old Architecture
- RNTester - JSC - New Architecture
Reviewed By: christophpurrer
Differential Revision: D41153859
Pulled By: cipolleschi
fbshipit-source-id: 043513866a66ecca3e326f8671bea3ec576422de
# Conflicts:
#	scripts/cocoapods/codegen_utils.rb
@cipolleschicipolleschi mentioned this pull request Oct 11, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BugCLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.p: FacebookPartner: FacebookPartnerPlatform: iOSiOS applications.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@cipolleschi@facebook-github-bot@analysis-bot@react-native-bot