Skip to content

[ios][prebuild] replaced use of rsync with cp in prebuild scripts#51095

Closed
chrfalch wants to merge 1 commit into
facebook:mainfrom
chrfalch:fix/replace-rsync-with-cp
Closed

[ios][prebuild] replaced use of rsync with cp in prebuild scripts#51095
chrfalch wants to merge 1 commit into
facebook:mainfrom
chrfalch:fix/replace-rsync-with-cp

Conversation

@chrfalch
Copy link
Copy Markdown
Collaborator

@chrfalch chrfalch commented May 5, 2025

Summary:

When building the RNDependencies XCFrameworks we saw some errors in the CI servers about rsync failing:

rsync(3031): error: poll: hangup on nonblocking write

We decided to fix this by changing from using rsync to cp.

This commit fixes this by replacing rsync with cp, and adding a cleanup step after copying the XCFramework files.

Changelog:

[INTERNAL] [FIXED] - Replacing rsync with cp, and adding a cleanup step after copying the XCFramework files.

Test Plan:

Run RNDependencies scripts on CI and verify that they're working as expected.

When building the RNDependencies XCFrameworks we saw some errors in the CI servers about rsync failing:

`rsync(3031): error: poll: hangup on nonblocking write`

We decided to fix this by changing from using rsync to cp.

This commit fixes this by replacing rsync with cp, and adding a cleanup step after copying the XCFramework files.
@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 May 5, 2025
@chrfalch chrfalch marked this pull request as ready for review May 6, 2025 06:49
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label May 6, 2025
Copy link
Copy Markdown
Contributor

@cipolleschi cipolleschi left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

@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.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@cipolleschi merged this pull request in 3ac16dd.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label May 6, 2025
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @chrfalch in 3ac16dd

When will my fix make it into a release? | How to file a pick request?

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. Merged This PR has been merged. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants