Accessing LocalHost from your apps

Hey, just wanted to post an update related to this topic:

This is easily accomplished now with the following plist added to your JUCER file, in the Custom PList field:

<plist>
    <dict>
        <key>NSAppTransportSecurity</key>    
        <dict>
            <key>NSAllowsLocalNetworking</key>
            <true/>
        </dict>
    </dict>
</plist>

More information is here:

Be sure to not leave out the <plist> part, otherwise xcode won’t be able to parse the Info-App.plist

I hope this helps someone who is trying to get their app (not plugin) to talk to their webserver that is running in a VM locally!

1 Like