Skip to content

Conversation

@cipolleschi
Copy link
Contributor

@cipolleschi cipolleschi commented Jul 15, 2025

Summary:

THe test-e2e-local script was failing to execute the npx rreact-native run-ios command for some issues with cocoapods.
That command tries to reinstall the pods so there might be some issues when testing.

As an alternative, we can avoid duplicated work by dropping the npx react-native command and, instead, build the app with xcodebuild and install it in the simulator with xcrun.

Changelog:

[Internal] -

Test Plan:

Tested locally by running

yarn test-e2e-local

@meta-cla meta-cla 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 Jul 15, 2025
@cipolleschi cipolleschi changed the base branch from main to 0.81-stable July 15, 2025 13:39
@cipolleschi cipolleschi force-pushed the cipolleschi/fix-e2e-script-no-ci branch from 62cd4bd to d46e709 Compare July 15, 2025 13:39
@cipolleschi cipolleschi marked this pull request as ready for review July 15, 2025 13:40
cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Jul 15, 2025
Summary:
The `test-release-local` script was failing to execute the npx rreact-native run-ios command for some issues with cocoapods.
That command tries to reinstall the pods so there might be some issues when testing.

As an alternative, we can avoid duplicated work by dropping the npx react-native command and, instead, build the app with xcodebuild and install it in the simulator with xcrun.

This is a backport of [this PR](facebook#52609)

## Changelog:
[Internal] -

Differential Revision: D78344397
@cipolleschi cipolleschi force-pushed the cipolleschi/fix-e2e-script-no-ci branch from d46e709 to a81f6be Compare July 15, 2025 15:01
cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Jul 15, 2025
Summary:

The `test-release-local` script was failing to execute the npx rreact-native run-ios command for some issues with cocoapods.
That command tries to reinstall the pods so there might be some issues when testing.

As an alternative, we can avoid duplicated work by dropping the npx react-native command and, instead, build the app with xcodebuild and install it in the simulator with xcrun.

This is a backport of [this PR](facebook#52609)

## Changelog:
[Internal] -

Reviewed By: vzaidman

Differential Revision: D78344397
cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Jul 15, 2025
Summary:

The `test-release-local` script was failing to execute the npx rreact-native run-ios command for some issues with cocoapods.
That command tries to reinstall the pods so there might be some issues when testing.

As an alternative, we can avoid duplicated work by dropping the npx react-native command and, instead, build the app with xcodebuild and install it in the simulator with xcrun.

This is a backport of [this PR](facebook#52609)

## Changelog:
[Internal] -

Reviewed By: vzaidman

Differential Revision: D78344397
facebook-github-bot pushed a commit that referenced this pull request Jul 15, 2025
Summary:
Pull Request resolved: #52617

The `test-release-local` script was failing to execute the npx rreact-native run-ios command for some issues with cocoapods.
That command tries to reinstall the pods so there might be some issues when testing.

As an alternative, we can avoid duplicated work by dropping the npx react-native command and, instead, build the app with xcodebuild and install it in the simulator with xcrun.

This is a backport of [this PR](#52609)

## Changelog:
[Internal] -

Reviewed By: vzaidman

Differential Revision: D78344397

fbshipit-source-id: cf2d9c032966a9be05670259e9532789829349f2
@motiz88 motiz88 merged commit cdd7f99 into 0.81-stable Jul 21, 2025
62 of 63 checks passed
kikoso pushed a commit to kikoso/react-native that referenced this pull request Aug 26, 2025
Summary:
Pull Request resolved: facebook#52617

The `test-release-local` script was failing to execute the npx rreact-native run-ios command for some issues with cocoapods.
That command tries to reinstall the pods so there might be some issues when testing.

As an alternative, we can avoid duplicated work by dropping the npx react-native command and, instead, build the app with xcodebuild and install it in the simulator with xcrun.

This is a backport of [this PR](facebook#52609)

## Changelog:
[Internal] -

Reviewed By: vzaidman

Differential Revision: D78344397

fbshipit-source-id: cf2d9c032966a9be05670259e9532789829349f2
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. p: Facebook Partner: Facebook Partner Pick Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants