-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[🐛] 🔥 Can't run pod install --repo-update --project-directory=ios with react native 0.75.2 #7993
Comments
Not sure what is happening, at least it works when you run in the It does appear that this path is incorrect:
It seems |
We're also seeing this behaviour after upgrading to 0.75, |
+1 |
+1, i am not able to archive to xcode cloud due to this. Error is:
|
This could be related: reactwg/react-native-releases#341 |
I have a problem on Xcode Cloud and this is my solution: |
Adding the line
UPDATE: We see no error on when installing pods, but this change removes |
looks like RN v0.75.3 has fixed the "install from outside the ios folder using --project-directory" issue: https://github.com/facebook/react-native/releases/tag/v0.75.3 Will try and let you guys know |
I had this problem in Xcloud and fixed it with this
|
Can confirm that the issue is resolved with 0.75.3 react native. #7993 (comment) |
I Got an issue In RNFBmessaging like My podefile def node_require(script) Resolve script with node to allow for hoistingrequire Pod::Executable.execute_command('node', ['-p', Use it to require both react-native's and this package's scripts:node_require('react-native/scripts/react_native_pods.rb') rn_maps_path = '../node_modules/react-native-maps'pod 'react-native-google-maps', :path => rn_maps_pathpod 'rn-fetch-blob', :path => '../node_modules/rn-fetch-blob' platform :ios, '14' setup_permissions([ 'LocationAlways', ]) linkage = ENV['USE_FRAMEWORKS'] target 'Pingle_User' do use_frameworks! :linkage => :static use_react_native!( target 'Pingle_UserTests' do end post_install do |installer| installer.pods_project.build_configurations.each do |config| and also got RCTConvert issues in various packages. am I missed anything? |
@IndrakumarR with apologies, I can't really read your comment, the formatting is very difficult to follow and it doesn't seem to be asking a coherent question with an easily recognizable set of facts (https://stackoverflow.com/help/how-to-ask) Further, it is on a closed issue, so I would not expect further support on this issue |
Issue
I am trying to migrate from react native 0.74.5 to 0.75.2 using https://react-native-community.github.io/upgrade-helper/?from=0.74.5&to=0.75.2.
Now all was good until I ran
pod install --repo-update --project-directory=ios
It gives the below error:
Going to iOS and manually running pod install works fine. But the problem is running from the root directory, it just doesn't like it.
I have tried to delete node modules / cleaning yarn cache etc. this works fine with react native v0.74.5.
Project Files
Javascript
Click To Expand
package.json
:iOS
Click To Expand
ios/Podfile
:The text was updated successfully, but these errors were encountered: