-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
错误详情
No bundle URL present.
Make sure you're running a packager server or have included a .jsbundle file in your application bundle.
RCTFatal
__28-[RCTCxxBridge handleError:]_block_invoke
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_callback_4CF
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
UIApplicationMain
main
start解决步骤
- 添加host
127.0.0.1 localhost,这是由于mac的localhost并不是指向127.0.0.1,可以使用nslookup localhost查看详情
Server: 192.168.1.1
Address: 192.168.1.1#53因此当启动时就找不到对应的地址:
URL: http://192.168.1.1:8081/index.bundle?platform=ios&dev=true&minify=false
-
删除
/ios/build -
react-native run-ios
Metadata
Metadata
Assignees
Labels
No labels