Skip to content

Add SwiftPM package to build dependencies for iOS#49361

Closed
cipolleschi wants to merge 5 commits into
facebook:mainfrom
cipolleschi:export-D69518776
Closed

Add SwiftPM package to build dependencies for iOS#49361
cipolleschi wants to merge 5 commits into
facebook:mainfrom
cipolleschi:export-D69518776

Conversation

@cipolleschi
Copy link
Copy Markdown
Contributor

Summary:
This change adds the Package.swift file that we will use to build the dependencies for React Native

Changelog:

[Internal] - Swift PM file to build ReactNativeDependencies

Differential Revision: D69518776

Summary:

This diff adds a script in the `react-native/script/releases` folder that we will use as base to prepare prebuilds for iOS

The script can be invoked from the repository root with
```
node scripts/releases/prepare-ios-prebuilds.js
```

## Changelog:
[Internal] - Add scripts to prepare ios prebuilds

Reviewed By: cortinico

Differential Revision: D69461691
Summary:

This change adds a function in the prebuild script to download a 3p dependency in the react native monorepo.

## Changelog:
[Internal] - Add function to download 3rd party dependencies

Reviewed By: cortinico

Differential Revision: D69464429
Summary:

This change adds the step to download the glog dependency and run the prepare_glog script that we have in the codebase

## Changelog:
[Internal] - Download Glog and patch it.

Reviewed By: cortinico

Differential Revision: D69466238
Summary:

We don't need the whole dependencies archiveto build the dependencies. But usually we only need a subset of them.

This change add a functionality to the script to remove the unnecessary files.

## Changelog:
[Internal] - Add feature to remove unnecessary files from 3p dependencies.

Differential Revision: D69518656
Summary:
This change adds the Package.swift file that we will use to build the dependencies for React Native

## Changelog:
[Internal] - Swift PM file to build ReactNativeDependencies

Differential Revision: D69518776
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 12, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D69518776

cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Feb 12, 2025
…#49361)

Summary:

This change adds the Package.swift file that we will use to build the dependencies for React Native

## Changelog:
[Internal] - Swift PM file to build ReactNativeDependencies

Differential Revision: D69518776
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Feb 13, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in dd4d4e2.

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants