[SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")

xcode 14.2 on macOS ventura 13.2.1, run react native project for ios

cd ios open MyReactNative.xcworkspace

build the project

it gives me this error

MyReactNative[15716:175392] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
2023-02-20 14:24:37.978938+0800 MyReactNative[15716:175392] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
2023-02-20 14:24:37.985835+0800 MyReactNative[15716:175392] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
2023-02-20 14:24:37.985947+0800 MyReactNative[15716:175392] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
2023-02-20 14:24:38.193484+0800 MyReactNative[15716:175690] [connection] nw_socket_handle_socket_event [C1.1.1:2] Socket SO_ERROR [61: Connection refused]
2023-02-20 14:24:38.195158+0800 MyReactNative[15716:175690] [connection] nw_socket_handle_socket_event [C1.1.2:2] Socket SO_ERROR [61: Connection refused]
2023-02-20 14:24:38.195957+0800 MyReactNative[15716:175690] Connection 1: received failure notification
2023-02-20 14:24:38.196059+0800 MyReactNative[15716:175690] Connection 1: failed to connect 1:61, reason -1
2023-02-20 14:24:38.196118+0800 MyReactNative[15716:175690] Connection 1: encountered error(1:61)
2023-02-20 14:24:38.197311+0800 MyReactNative[15716:175690] Task <F70D2BF5-A43E-4A53-A047-044B94C2E8D1>.<1> HTTP load failed, 0/0 bytes (error code: -1004 [1:61])
2023-02-20 14:24:38.223511+0800 MyReactNative[15716:175687] Task <F70D2BF5-A43E-4A53-A047-044B94C2E8D1>.<1> finished with error [-1004] Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={_kCFStreamErrorCodeKey=61, NSUnderlyingError=0x600001c82ca0 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_NSURLErrorNWPathKey=satisfied (Path is satisfied), interface: en0[802.11], _kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <F70D2BF5-A43E-4A53-A047-044B94C2E8D1>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
  "LocalDataTask <F70D2BF5-A43E-4A53-A047-044B94C2E8D1>.<1>"
), NSLocalizedDescription=Could not connect to the server., NSErrorFailingURLStringKey=http://localhost:8081/status, NSErrorFailingURLKey=http://localhost:8081/status, _kCFStreamErrorDomainKey=1}
2023-02-20 14:24:38.301222+0800 MyReactNative[15716:175392] [native] No bundle URL present.

Make sure you're running a packager server or have included a .jsbundle file in your application bundle.

Question has been asked several times on the forum. It is a bug or a superfluous error message.

Just open info.plist (select it in the left panel).

Select Application Scene Manifest. Add the Scene Configuration entry That creates a Dictionary that you should leave empty.

[SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
 
 
Q