-
Notifications
You must be signed in to change notification settings - Fork 637
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
unable to connect to metro with ios simulator while upgrading to RN 0.72.0 #1012
Comments
This happens for me also. Any solution on this? |
This comment was marked as resolved.
This comment was marked as resolved.
@billnbell Please see #1010 (comment) ( @sarthakgdeveloper Can you share your Metro config and the commands run? |
// /** const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config'); const config = {}; module.exports = mergeConfig(getDefaultConfig(__dirname), config); Command: npm react-native run-ios |
Any update? |
Same here |
@sarthakgdeveloper can you share with us your I believe the issue is related to the |
Hi, I'm also facing the same issue and here is my AppDelegate.mm file content:
|
@thib-info, I am not sure because your - return [super application:application didFinishLaunchingWithOptions:launchOptions];
+ [super application:application didFinishLaunchingWithOptions:launchOptions];
+ return YES |
Sorry for the delay @3imed-jaberi, but even with the version you've provided me, metro can't connect to the IOS simulator. |
Any update on this issue ? It's impossible to develop if metro can't send us the logs of our application or refresh it …. |
New Version
0.72.0
Old Version
0.70.5
Build Target(s)
iOS simulator version 16.2
Output of
react-native info
System:
OS: macOS 12.6
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 97.25 MB / 16.00 GB
Shell:
version: 5.8.1
path: /bin/zsh
Binaries:
Node:
version: 16.16.0
path: /usr/local/bin/node
Yarn:
version: 1.22.19
path: /usr/local/bin/yarn
npm:
version: 8.11.0
path: /usr/local/bin/npm
Watchman:
version: 2023.06.12.00
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.12.1
path: /Users/sarthakgupta/.rvm/gems/ruby-2.7.4/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 22.2
- iOS 16.2
- macOS 13.1
- tvOS 16.1
- watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8815526
Xcode:
version: 14.2/14C18
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.16
path: /usr/bin/javac
Ruby:
version: 2.7.4
path: /Users/sarthakgupta/.rvm/rubies/ruby-2.7.4/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.0
wanted: 0.72.0
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
Issue and Reproduction Steps
unable to connect with the react native metro, on android its working fine, but not working on ios, also app is getting build successfully
The text was updated successfully, but these errors were encountered: