facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
119.06k stars 24.31k forks source link

-X is not a valid cp flag, as a result condition always throws exit 1 #46141

Closed mattmarich closed 1 month ago

mattmarich commented 2 months ago

Description

https://github.com/facebook/react-native/blob/774fe0cf6f22f832b756c166599973d9db6a93de/packages/react-native/scripts/react_native_pods_utils/script_phases.sh#L107

invalid flag for cp, please remove -X

Steps to reproduce

Use script_phases.sh script

React Native Version

na - latest

Affected Platforms

Build - Linux

Output of npx react-native info

System:
  OS: macOS 14.6.1
  CPU: (10) arm64 Apple M2 Pro
  Memory: 1.44 GB / 32.00 GB
  Shell:
    version: 5.2.21
    path: /opt/homebrew/bin/bash
...
npmPackages:
  react-native:
    installed: 0.73.8
    wanted: 0.73.8
...

Stacktrace or Logs

cp: invalid option -- 'X'
Try 'cp --help' for more information.

Reproducer

na

Screenshots and Videos

No response

react-native-bot commented 2 months ago
:warning: Missing Reproducible Example
:information_source: We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.
react-native-bot commented 2 months ago
:warning: Add or Reformat Version Info
:information_source: We could not find or parse the version number of React Native in your issue report. Please use the template, and report your version including major, minor, and patch numbers - e.g. 0.70.2
react-native-bot commented 2 months ago
:warning: Missing Reproducible Example
:information_source: We could not detect a reproducible example in your issue report. Please provide either:
react-native-bot commented 2 months ago
:warning: Add or Reformat Version Info
:information_source: We could not find or parse the version number of React Native in your issue report. Please use the template, and report your version including major, minor, and patch numbers - e.g. 0.70.2
cortinico commented 2 months ago

React Native Version na - latest

Which version are you using. Here you say latest but in the info box you specified 0.73 @mattmarich

react-native-bot commented 1 month ago

This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.

react-native-bot commented 1 month ago

This issue was closed because it has been stalled for 7 days with no activity.

react-native-bot commented 1 month ago

This issue was closed because the author hasn't provided the requested feedback after 7 days.