title: Accessing local ip address using xcode
body: <p>Im trying to acces a local ip address so that i can change/update information on a local raspberry pi. Namely im using the following: </p>
  
  <pre><code>https://github.com/Jopyth/MMM-Remote-Control
  </code></pre>
  
  <p>ive updated my plist  to look like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
      &lt;plist version="1.0"&gt;
      &lt;dict&gt;
          &lt;key&gt;CFBundleDevelopmentRegion&lt;/key&gt;
          &lt;string&gt;en&lt;/string&gt;
          &lt;key&gt;CFBundleExecutable&lt;/key&gt;
          &lt;string&gt;$(EXECUTABLE_NAME)&lt;/string&gt;
          &lt;key&gt;CFBundleIdentifier&lt;/key&gt;
          &lt;string&gt;$(PRODUCT_BUNDLE_IDENTIFIER)&lt;/string&gt;
          &lt;key&gt;CFBundleInfoDictionaryVersion&lt;/key&gt;
          &lt;string&gt;6.0&lt;/string&gt;
          &lt;key&gt;CFBundleName&lt;/key&gt;
          &lt;string&gt;$(PRODUCT_NAME)&lt;/string&gt;
          &lt;key&gt;CFBundlePackageType&lt;/key&gt;
          &lt;string&gt;APPL&lt;/string&gt;
          &lt;key&gt;CFBundleShortVersionString&lt;/key&gt;
          &lt;string&gt;1.0&lt;/string&gt;
          &lt;key&gt;CFBundleVersion&lt;/key&gt;
          &lt;string&gt;1&lt;/string&gt;
          &lt;key&gt;LSApplicationCategoryType&lt;/key&gt;
          &lt;string&gt;&lt;/string&gt;
          &lt;key&gt;LSRequiresIPhoneOS&lt;/key&gt;
          &lt;true/&gt;
          &lt;key&gt;NSAppTransportSecurity&lt;/key&gt;
          &lt;dict&gt;
              &lt;key&gt;NSExceptionDomains&lt;/key&gt;
              &lt;dict&gt;
                  &lt;key&gt;http://192.168.0.40&lt;/key&gt;  // need to add your domain name of webservice
                  &lt;dict&gt;
                      &lt;key&gt;NSIncludesSubdomains&lt;/key&gt;
                      &lt;true/&gt;
                      &lt;key&gt;NSExceptionAllowsInsecureHTTPLoads&lt;/key&gt;
                      &lt;true/&gt;
                      &lt;key&gt;NSExceptionRequiresForwardSecrecy&lt;/key&gt;
                      &lt;true/&gt;
                      &lt;key&gt;NSExceptionMinimumTLSVersion&lt;/key&gt;
                      &lt;string&gt;TLSv1.2&lt;/string&gt;
                      &lt;key&gt;NSThirdPartyExceptionAllowsInsecureHTTPLoads&lt;/key&gt;
                      &lt;false/&gt;
                      &lt;key&gt;NSThirdPartyExceptionRequiresForwardSecrecy&lt;/key&gt;
                      &lt;true/&gt;
                      &lt;key&gt;NSThirdPartyExceptionMinimumTLSVersion&lt;/key&gt;
                      &lt;string&gt;TLSv1.2&lt;/string&gt;
                      &lt;key&gt;NSRequiresCertificateTransparency&lt;/key&gt;
                      &lt;false/&gt;
                  &lt;/dict&gt;
              &lt;/dict&gt;
          &lt;/dict&gt;
          &lt;key&gt;NSTemporaryExceptionMinimumTLSVersion&lt;/key&gt;
          &lt;string&gt;TLSv1.1&lt;/string&gt;
          &lt;key&gt;UILaunchStoryboardName&lt;/key&gt;
          &lt;string&gt;LaunchScreen&lt;/string&gt;
          &lt;key&gt;UIMainStoryboardFile&lt;/key&gt;
          &lt;string&gt;Main&lt;/string&gt;
          &lt;key&gt;UIRequiredDeviceCapabilities&lt;/key&gt;
          &lt;array&gt;
              &lt;string&gt;armv7&lt;/string&gt;
          &lt;/array&gt;
          &lt;key&gt;UISupportedInterfaceOrientations&lt;/key&gt;
          &lt;array&gt;
              &lt;string&gt;UIInterfaceOrientationPortrait&lt;/string&gt;
              &lt;string&gt;UIInterfaceOrientationLandscapeLeft&lt;/string&gt;
              &lt;string&gt;UIInterfaceOrientationLandscapeRight&lt;/string&gt;
          &lt;/array&gt;
          &lt;key&gt;UISupportedInterfaceOrientations~ipad&lt;/key&gt;
          &lt;array&gt;
              &lt;string&gt;UIInterfaceOrientationPortrait&lt;/string&gt;
              &lt;string&gt;UIInterfaceOrientationPortraitUpsideDown&lt;/string&gt;
              &lt;string&gt;UIInterfaceOrientationLandscapeLeft&lt;/string&gt;
              &lt;string&gt;UIInterfaceOrientationLandscapeRight&lt;/string&gt;
          &lt;/array&gt;
      &lt;/dict&gt;
      &lt;/plist&gt;
  </code></pre>
  
  <p>but i still get a blank, albeit dark page when loading on a sim or device.</p>
  
  <p>Im making the most basic of apps so that my brother can access his magic mirror when he is home to update it but i cant seem to see the local ip adress. Any help would be great.</p>