title: Unable to parse manifest.json. ionic v3 --livereload ios device
body: <p>Running my ionic app on ios device with --livereload enabled.  I get the following error when closing the app and restarting it:</p>
  
  <pre><code>Unable to parse manifest.json. Ensure the file is valid JSON     ionic-pro.module.min.js
  </code></pre>
  
  <p>This is my current environment: </p>
  
  <pre><code>cli packages: (/usr/local/lib/node_modules)
  
      @ionic/cli-utils  : 1.19.1
      ionic (Ionic CLI) : 3.19.1
  
  global packages:
  
      cordova (Cordova CLI) : 7.1.0 
  
  local packages:
  
      @ionic/app-scripts : 3.1.8
      Cordova Platforms  : ios 4.5.4
      Ionic Framework    : ionic-angular 3.9.2
  
  System:
  
      ios-deploy : 1.9.2 
      ios-sim    : 6.1.2 
      Node       : v8.9.3
      npm        : 5.6.0 
      OS         : macOS High Sierra
      Xcode      : Xcode 9.2 Build version 9C40b 
  
  Environment Variables:
  
      ANDROID_HOME : not set
  
  Misc:
  
      backend : pro
  </code></pre>
  
  <p>Config.xml</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;
  &lt;widget id="com.iecis.sp.portal" version="0.5.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"&gt;
      &lt;name&gt;My App&lt;/name&gt;
      &lt;description&gt;An Ionic App&lt;/description&gt;
      &lt;author email="ionic@ionic.io" href="https://ionicframework.com"&gt;Ionic Team&lt;/author&gt;
      &lt;content original-src="index.html" src="http://192.168.2.94:8100" /&gt;
      &lt;access origin="*" /&gt;
      &lt;allow-intent href="http://*/*" /&gt;
      &lt;allow-intent href="https://*/*" /&gt;
      &lt;allow-intent href="tel:*" /&gt;
      &lt;allow-intent href="sms:*" /&gt;
      &lt;allow-intent href="mailto:*" /&gt;
      &lt;allow-intent href="geo:*" /&gt;
      &lt;hook src="hooks/after_build/010_copy_browser_to_docs.js" type="after_build" /&gt;
      &lt;allow-navigation href="http://*/*" /&gt;
      &lt;allow-navigation href="file://*/*" /&gt;
      &lt;allow-navigation href="*" /&gt;
      &lt;preference name="android-minSdkVersion" value="16" /&gt;
      &lt;preference name="SplashMaintainAspectRatio" value="true" /&gt;
      &lt;preference name="AutoHideSplashScreen" value="true" /&gt;
      &lt;preference name="FadeSplashScreen" value="false" /&gt;
      &lt;preference name="FadeSplashScreenDuration" value="500" /&gt;
      &lt;preference name="SplashShowOnlyFirstTime" value="false" /&gt;
      &lt;preference name="SplashScreenDelay" value="3000" /&gt;
      &lt;preference name="SplashScreen" value="screen" /&gt;
      &lt;platform name="android"&gt;
          &lt;icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" /&gt;
          &lt;icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" /&gt;
          &lt;icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" /&gt;
          &lt;icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" /&gt;
          &lt;icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" /&gt;
          &lt;icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" /&gt;
          &lt;splash density="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" /&gt;
          &lt;splash density="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" /&gt;
          &lt;splash density="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" /&gt;
          &lt;splash density="land-xhdpi" src="resources/android/splash/drawable-land-xhdpi-screen.png" /&gt;
          &lt;splash density="land-xxhdpi" src="resources/android/splash/drawable-land-xxhdpi-screen.png" /&gt;
          &lt;splash density="land-xxxhdpi" src="resources/android/splash/drawable-land-xxxhdpi-screen.png" /&gt;
          &lt;splash density="port-ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" /&gt;
          &lt;splash density="port-mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" /&gt;
          &lt;splash density="port-hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" /&gt;
          &lt;splash density="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" /&gt;
          &lt;splash density="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" /&gt;
          &lt;splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" /&gt;
      &lt;/platform&gt;
      &lt;platform name="ios"&gt;
          &lt;icon height="57" src="resources/ios/icon/icon.png" width="57" /&gt;
          &lt;icon height="114" src="resources/ios/icon/icon@2x.png" width="114" /&gt;
          &lt;icon height="40" src="resources/ios/icon/icon-40.png" width="40" /&gt;
          &lt;icon height="80" src="resources/ios/icon/icon-40@2x.png" width="80" /&gt;
          &lt;icon height="120" src="resources/ios/icon/icon-40@3x.png" width="120" /&gt;
          &lt;icon height="50" src="resources/ios/icon/icon-50.png" width="50" /&gt;
          &lt;icon height="100" src="resources/ios/icon/icon-50@2x.png" width="100" /&gt;
          &lt;icon height="60" src="resources/ios/icon/icon-60.png" width="60" /&gt;
          &lt;icon height="120" src="resources/ios/icon/icon-60@2x.png" width="120" /&gt;
          &lt;icon height="180" src="resources/ios/icon/icon-60@3x.png" width="180" /&gt;
          &lt;icon height="72" src="resources/ios/icon/icon-72.png" width="72" /&gt;
          &lt;icon height="144" src="resources/ios/icon/icon-72@2x.png" width="144" /&gt;
          &lt;icon height="76" src="resources/ios/icon/icon-76.png" width="76" /&gt;
          &lt;icon height="152" src="resources/ios/icon/icon-76@2x.png" width="152" /&gt;
          &lt;icon height="167" src="resources/ios/icon/icon-83.5@2x.png" width="167" /&gt;
          &lt;icon height="29" src="resources/ios/icon/icon-small.png" width="29" /&gt;
          &lt;icon height="58" src="resources/ios/icon/icon-small@2x.png" width="58" /&gt;
          &lt;icon height="87" src="resources/ios/icon/icon-small@3x.png" width="87" /&gt;
          &lt;icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" /&gt;
          &lt;splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" /&gt;
          &lt;splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" /&gt;
          &lt;splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" /&gt;
          &lt;splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" /&gt;
          &lt;splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" /&gt;
          &lt;splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" /&gt;
          &lt;splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" /&gt;
          &lt;splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" /&gt;
          &lt;splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" /&gt;
          &lt;splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" /&gt;
          &lt;splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" /&gt;
          &lt;splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" /&gt;
          &lt;splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" /&gt;
      &lt;/platform&gt;
      &lt;allow-navigation href="http://192.168.2.94:8101" /&gt;
      &lt;allow-navigation href="http://192.168.2.94:8100" /&gt;
      &lt;plugin name="cordova-plugin-device" spec="^2.0.1" /&gt;
      &lt;plugin name="cordova-plugin-file" spec="^6.0.1" /&gt;
      &lt;plugin name="cordova-plugin-googlemaps" spec="^2.1.1"&gt;
          &lt;variable name="API_KEY_FOR_ANDROID" value="&lt;android_api_key&gt;" /&gt;
          &lt;variable name="API_KEY_FOR_IOS" value="&lt;ios_api_key&gt;" /&gt;
          &lt;variable name="LOCATION_WHEN_IN_USE_DESCRIPTION" value="Show your location on the map" /&gt;
          &lt;variable name="LOCATION_ALWAYS_USAGE_DESCRIPTION" value="Trace your location on the map" /&gt;
      &lt;/plugin&gt;
      &lt;plugin name="cordova-plugin-inappbrowser" spec="^2.0.1" /&gt;
      &lt;plugin name="com-sarriaroman-photoviewer" spec="^1.1.11" /&gt;
      &lt;plugin name="cordova-plugin-splashscreen" spec="^5.0.1" /&gt;
      &lt;plugin name="cordova-plugin-statusbar" spec="^2.4.1" /&gt;
      &lt;plugin name="cordova-plugin-whitelist" spec="^1.3.3" /&gt;
      &lt;plugin name="ionic-plugin-keyboard" spec="^2.2.1" /&gt;
      &lt;plugin name="onesignal-cordova-plugin" spec="^2.2.5" /&gt;
      &lt;plugin name="cordova-plugin-ionic" spec="^3.0.0"&gt;
          &lt;variable name="APP_ID" value="&lt;app_id&gt;" /&gt;
          &lt;variable name="CHANNEL_NAME" value="Master" /&gt;
          &lt;variable name="UPDATE_API" value="https://api.ionicjs.com" /&gt;
          &lt;variable name="UPDATE_METHOD" value="background" /&gt;
          &lt;variable name="MAX_STORE" value="2" /&gt;
      &lt;/plugin&gt;
      &lt;plugin name="cordova-plugin-background-mode" spec="^0.7.2" /&gt;
  &lt;/widget&gt;
  </code></pre>
  
  <p>Ionic Cordova Plugins:</p>
  
  <pre><code>com-sarriaroman-photoviewer 1.1.11 "PhotoViewer"
  com.googlemaps.ios 2.5.0 "Google Maps SDK for iOS"
  cordova-plugin-add-swift-support 1.7.1 "AddSwiftSupport"
  cordova-plugin-background-mode 0.7.2 "BackgroundMode"
  cordova-plugin-device 2.0.1 "Device"
  cordova-plugin-file 6.0.1 "File"
  cordova-plugin-googlemaps 2.1.1 "cordova-plugin-googlemaps"
  cordova-plugin-inappbrowser 2.0.1 "InAppBrowser"
  cordova-plugin-ionic 3.0.0 "IonicCordova"
  cordova-plugin-splashscreen 5.0.1 "Splashscreen"
  cordova-plugin-statusbar 2.4.1 "StatusBar"
  cordova-plugin-whitelist 1.3.3 "Whitelist"
  ionic-plugin-keyboard 2.2.1 "Keyboard"
  onesignal-cordova-plugin 2.2.5 "OneSignal Push Notifications"
  </code></pre>
  
  <p>Two questions:</p>
  
  <ol>
  <li>Why am I getting this error?</li>
  <li>Where do I start debugging?</li>
  </ol>
  
  <p>Any help/advice/nudge would be greatly appreciated.  Let me know if you need more information.</p>
  
  <p>UPDATE:</p>
  
  <p>manifest.json</p>
  
  <pre><code>{
    "name": "Ionic",
    "short_name": "Ionic",
    "start_url": "index.html",
    "display": "standalone",
    "icons": [{
      "src": "assets/imgs/logo.png",
      "sizes": "512x512",
      "type": "image/png"
    }],
    "background_color": "#4e8ef7",
    "theme_color": "#4e8ef7"
  }
  </code></pre>