No Bundle URL present
来源:1-1 课前必读(不看会错过一个亿)
慕粉1903497574
2023-06-14
报No Bundle URL present 错误,自己试了很久弄不好
1.重新npm install ,重新react-native run-ios
结果不行
2.删除ios目录下的build,重新react-native run-ios
还是不行;
3.host配置127.0.0.1
看了下我的127.0.0.1还是在host里面的。。。
Xcode版本14
系统版本12.6.6
2回答
-
先看下是不是环境问题带来的,你新创建一个项目,然后运行试试看会不会有这个问题?00
-
慕粉1903497574
提问者
2023-06-14
System:
OS: macOS 12.6.6
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 2.63 GB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.20.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.19.4 - /usr/local/bin/npm
Watchman: 2023.06.08.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.12.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
Android SDK: Not Found
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.10121639
Xcode: 14.0/14A309 - /usr/bin/xcodebuild
Languages:
Java: 17.0.1 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.10 => 0.71.10
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
00
相似问题