Closed hungfhp closed 1 year ago
Yes I know, the same appear to me and I found this issue : https://github.com/facebook/react-native/issues/35801. I will investigate if it's caused by our template or the cli. Let me know if you find a solution in the previous link
I am facing the same issue.
I'm having the same issue. Using the following thread: https://github.com/facebook/react-native/issues/35801
I did these steps.
This give the following error.
[!] CocoaPods could not find compatible versions for pod "hermes-engine":
In snapshot (Podfile.lock):
hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`)
In Podfile:
hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`)
It seems like you've changed the version of the dependency `hermes-engine` and it differs from the version stored in `Pods/Local Podspecs`.
You should run `pod update hermes-engine --no-repo-update` to apply changes made locally.
Then I ran pod update hermes-engine --no-repo-update
as suggested. Then I could run the project via xcode.
As a note you have to open the file MyApp\ios\MyApp.xcworkspace
in xcode and set the team, otherwise you cannot run the app.
react-native environment setup
Description
When i init project with this template. It occur an error:
error warn Multiple Podfiles were found: ios/Podfile,vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/Podfile.
Version
3.6.5
On which OS this issue appear on?
Desktop OS
Mac OS Ventuna 13.2