-
Notifications
You must be signed in to change notification settings - Fork 24.9k
fix cp command in ReactNativeDependencies.podspec #53136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix cp command in ReactNativeDependencies.podspec #53136
Conversation
Job Summary for GradleTest All :: build_android
|
|
/rebase - this comment automatically rebase on top of main |
There was a problem hiding this 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
There was a problem hiding this 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
There was a problem hiding this 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
There was a problem hiding this 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
|
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this in D79990895. |
|
@cipolleschi merged this pull request in 4c570b5. |
|
This pull request was successfully merged by @vonovak in 4c570b5 When will my fix make it into a release? | How to file a pick request? |
Summary: When running `RCT_USE_PREBUILT_RNCORE=1 RCT_USE_RN_DEP=1 pod install` I'm getting an error: `cp: framework/packages/react-native/..: File exists` This is not seen consistently by everyone but I've seen in reported one more time at Expo. Could be related to running MacOS 26. Somehow, apparently, the `..` is being treated as a literal directory name and cp is trying to create a directory named `..` inside `framework/packages/react-native/` which is not what we want. Using `/.` avoids that. --- What also seemed to work(around) was to change `mkdir -p framework/packages/react-native` to `mkdir -p framework/packages/` and then `cp` can create the `framework/packages/react-native/..` folder. But this is definitely more confusing. ## Changelog: Pick one each for the category and type tags: [IOS] [FIXED] - fix "file exists" error in `ReactNativeDependencies.podspec` Pull Request resolved: facebook#53136 Test Plan: tested locally, and in CI on older macOS: expo/expo#38631 (the ios build succeeds) Reviewed By: rshest Differential Revision: D79990895 Pulled By: cipolleschi fbshipit-source-id: 44ff9034800d3acd4e55ec39aabfb326382372cb
Summary: When running `RCT_USE_PREBUILT_RNCORE=1 RCT_USE_RN_DEP=1 pod install` I'm getting an error: `cp: framework/packages/react-native/..: File exists` This is not seen consistently by everyone but I've seen in reported one more time at Expo. Could be related to running MacOS 26. Somehow, apparently, the `..` is being treated as a literal directory name and cp is trying to create a directory named `..` inside `framework/packages/react-native/` which is not what we want. Using `/.` avoids that. --- What also seemed to work(around) was to change `mkdir -p framework/packages/react-native` to `mkdir -p framework/packages/` and then `cp` can create the `framework/packages/react-native/..` folder. But this is definitely more confusing. ## Changelog: Pick one each for the category and type tags: [IOS] [FIXED] - fix "file exists" error in `ReactNativeDependencies.podspec` Pull Request resolved: #53136 Test Plan: tested locally, and in CI on older macOS: expo/expo#38631 (the ios build succeeds) Reviewed By: rshest Differential Revision: D79990895 Pulled By: cipolleschi fbshipit-source-id: 44ff9034800d3acd4e55ec39aabfb326382372cb
|
This pull request was successfully merged by @vonovak in e6e814c When will my fix make it into a release? | How to file a pick request? |
Summary:
When running
RCT_USE_PREBUILT_RNCORE=1 RCT_USE_RN_DEP=1 pod installI'm getting an error:cp: framework/packages/react-native/..: File existsThis is not seen consistently by everyone but I've seen in reported one more time at Expo. Could be related to running MacOS 26.
Somehow, apparently, the
..is being treated as a literal directory name and cp is trying to create a directory named..insideframework/packages/react-native/which is not what we want. Using/.avoids that.What also seemed to work(around) was to change
mkdir -p framework/packages/react-nativetomkdir -p framework/packages/and thencpcan create theframework/packages/react-native/..folder. But this is definitely more confusing.Changelog:
Pick one each for the category and type tags:
[IOS] [FIXED] - fix "file exists" error in
ReactNativeDependencies.podspecTest Plan:
tested locally, and in CI on older macOS: expo/expo#38631 (the ios build succeeds)