Home / IOS Development / ios – Could not debug. Can not find plist file to configure troubleshooting in react native?

ios – Could not debug. Can not find plist file to configure troubleshooting in react native?



(Disclaimer: I got the same error in iOS. As it is not clear in which operating system you have the problem, I will put my grain of sand here.)

In my particular case, it was caused because I removed localhost entry from NSAppTransportSecurity in Info.plist. This is required for development / troubleshooting.

This is what this section looks like:

    NSAppTransportSecurity
    
        NSAllowsArbitraryLoads
        
        NSExceptionDomains
        
            localhost
            
                NSExceptionAllowsInsecureHTTPLoads
                
            
        
    


Source link