The React-Native app freezes on the splash screen when running on iOS, while it functions perfectly on Android

My React-Native 0.62.3 app is not working on iOS. It launches, receives the bundle from metro, and then just displays the splash screen without any further action. Here's the run log:

flipper: FlipperClient::addPlugin Inspector
flipper: FlipperClient::addPlugin Preferences
flipper: FlipperClient::addPlugin React
flipper: FlipperClient::addPlugin Network
2020-10-15 15:30:32.116261+0300 fastboss_mobile_rn[60669:792251] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600000aebe00> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2020-10-15 15:30:32.326978+0300 fastboss_mobile_rn[60669:793032] [] nw_protocol_get_quic_image_block_invoke dlopen libquic failed
2020-10-15 15:30:32.410529+0300 fastboss_mobile_rn[60669:792251] [native] Running application fastboss_mobile_rn ({
    initialProps =     {
    };
    rootTag = 1;
})
2020-10-15 15:30:39.443156+0300 fastboss_mobile_rn[60669:793034] [connection] nw_socket_handle_socket_event [C6.1:1] Socket SO_ERROR [61: Connection refused]
2020-10-15 15:30:39.450465+0300 fastboss_mobile_rn[60669:793034] [connection] nw_socket_handle_socket_event [C6.2:1] Socket SO_ERROR [61: Connection refused]
2020-10-15 15:30:39.452317+0300 fastboss_mobile_rn[60669:793033] [connection] nw_connection_get_connected_socket [C6] Client called nw_connection_get_connected_socket on unconnected nw_connection
2020-10-15 15:30:39.452482+0300 fastboss_mobile_rn[60669:793033] TCP Conn 0x600003cf4a50 Failed : error 0:61 [61]
... (truncated for brevity)

I've searched online for information about

nw_socket_handle_socket_event [C6.1:1] Socket SO_ERROR [61: Connection refused]
, but most results mention it being in a loop, whereas in my case it only appears twice.

The final log string is a console.log() statement from the app, suggesting that it may be attempting to work. However, I'm unsure of what steps to take next.

I would greatly appreciate any insights into what could be causing this issue, as I am running out of ideas on how to troubleshoot it.

Environment details: xcode v12.0.1, iOS 14 simulator

If you need any additional information from me, please let me know

Answer №1

Encountered a problem and realized it was due to my iPhone and Mac running XCode being connected to different WiFi networks. Make sure both devices are on the same network.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Having trouble accessing the div element inserted by the Angular application

I've encountered an issue while trying to access a div that is injected into the DOM by an Angular app on the page. Below is the script I have placed at the end of the HTML page: $(document).ready(function () { var targetNode = document.querySelect ...

React beautiful dnd and Material UI list encountering compatibility problem

I recently encountered an issue while using react beautiful dnd to create a rearrangeable Material UI List. Everything was working correctly, except for the ListItemSecondaryAction within the list. When dragging a list item, the ListItemText and ListItemIc ...

Using async/await to gather user input while ensuring the condition statement is fully evaluated before proceeding with the resolution

One of the challenges I encountered was ensuring my function correctly validated user input as a URL before proceeding with the rest of the conditions. When calling this function from within another function, I found that it would prompt the user for input ...

How can I export an ES Object in Node.JS to an NPM package?

I am currently facing a challenge involving an ES5 object/function that I want to integrate into an NPM package. This particular object is within a namespace defined as MY_NAMESPACE.myObject = function(){...} where MY_NAMESPACE is simply an object. Typic ...

Error With IOS Safari Causes React Website to Display Blank Page

After creating a single page website using React, I encountered an issue where the site would display a white page error on IOS devices while working fine on Android and Windows devices. Despite trying several solutions, the problem persisted. Interestingl ...

What are the advantages of using history.push or another method from react-router-dom compared to simply assigning the path to window.location.pathname?

When I need to navigate within my code, I find it more convenient to simply assign the desired path to window.location.pathname. Can this approach have any drawbacks? ...

Ways to forward a webpage once validation has been completed

I have a login form that is being validated using jQuery/Ajax to receive a JSON response. The form calls a PHP page called add-data.php. Upon successful validation, I want to redirect to another page after displaying the message Successfully logged!: if ...

Ways to create distinct identifiers within a recurring function:

I am using this function twice: function (data) { $.each(data.items, function(i,item) { var $items = $('<div class="col-sm-4 grid-item"><div class="thumbnail"><input type="checkbox" name="thing_'+i+'" ...

Locate open spots on the grid

Currently, I am in the process of developing a color box connection game using objective-C. One challenge I am facing is determining the correct position when one block of boxes overlaps another block. Take a look at the attached image for reference. As s ...

The MDCOverlayWindow is failing to activate or display any content

I am currently working on implementing an overlay system that can be used across different view controllers to showcase preview images for draggable views. In my AppDelegate.swift import UIKit import MaterialComponents var myOverlayWindow: MDCOverlayWin ...

Vanishing message when clicked in PHP

I created a code to display error messages and success messages based on user input, allowing them to click anywhere on the screen to dismiss the message. The issue I am facing is that when the user receives both a success and an error message simultaneo ...

Remove the initial section of the text and provide the rest of the string

I am a beginner in the world of Javascript and unfortunately I have not been able to find an answer to my current problem. Here is the situation. On a webpage, I am receiving a URL that is sometimes presented in this format: http://url1.come/http://url2.c ...

The print function is being triggered before the partial view

My goal is to open a partial view in a new window and call the print function, but I'm facing an issue where the partial view renders after the print function, resulting in a blank page. I attempted using the $timeout function, but encountered the sam ...

Refresh a DIV using two SQL queries in forms

I am encountering an issue with updating a single div element using the results from two different forms on an HTML page. I want either form1 or form2 to display results in the same div element, and it should be updated with one line of content fetched fro ...

Using Jquery to delete the parent element containing text that does not match

I need to search for text in a table cell that matches the text in an h1 heading and then eliminate all other table rows containing text that does not match. The code snippet provided only works if there is one .tablerow with a .tablecell, so I am looking ...

Problem encountered when attempting to return data received from database queries executed within a loop

Having an issue with making multiple MongoDB queries in a loop and trying to send all the results as one data array. However, simply using 'return' to send the data is resulting in 'undefined' and not waiting for the results of all DB r ...

Using PHP to query the database and render text and links in the menu

On my website, users currently choose an "event" from a dropdown menu that is populated from a database (Check out the code below). Once a user selects an event from the menu, I want to display text links or a second dropdown menu with the "locations" ass ...

Minimize or conceal iframe

This iframe contains a Google form that cannot be edited. I am looking for a way to close or hide this iframe, either through a button, a popup window button, or without any button at all. The $gLink variable holds the Google form link through a PHP sessio ...

Managing AJAX Errors in PHPAJAX error handling tips for developers

My current code is only set up to display a general error message when an error occurs during execution. I want to improve it by returning specific error messages for different scenarios. However, I have not been able to find satisfactory solutions in my s ...

Discover the myriad of possibilities created by combining arrays

I am working on a code snippet that aims to generate an array containing all possible combinations between two or more arrays. However, I am encountering a specific issue. getCombn(arr: string | any[], pre?: string | undefined) { pre = pre || ' &a ...