5 Replies Latest reply on Mar 2, 2018 4:23 AM by hamzakuecuek

    Invalid image path iOS

    silen67 Level 1

      Hi, my app works perfectly since 1 month, today I had to update my code, I created the ipa, I send it on itunes and here I have a path error for all images (+10) and a refusal to upload on itunes

      For each image i have : ERROR ITMS-90032: "Invalid Image Path - No image found at the path referenced under key 'CFBundleIconFiles': 'www/res/icon/android/ + nameofthepic

      But i did not modify my config.xml and I did not touch the image files. Everything has always worked very well ...

       

      Will I miss an update or a new way to add images?

       

      Here is my config. Thanks. And i dont know why it speaks about android O_O

       

      <?xml version="1.0" encoding="UTF-8"?>
      <widget id="com.****.app" version="1.1.5" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">
          <name>****</name>
          <description>
      APP ****
          </description>
          <author href="http://www.****.fr" email="contact@*****.fr">
      *** ***
          </author>
      
      
      <content src="index.html" />
      
      
          <plugin name="cordova-plugin-camera" source="npm" spec="~2.1.1" />
          <plugin name="cordova-plugin-file" source="npm" spec="~4.1.1" />
          <plugin name="cordova-plugin-file-transfer" source="npm" spec="~1.5.0" />
          <plugin name="cordova-plugin-geolocation" source="npm" spec="~2.1.0" />
          <plugin name="cordova-plugin-inappbrowser" source="npm" spec="~1.3.0" />
          <plugin name="cordova-plugin-network-information" source="npm" spec="~1.2.0" />
          <plugin name="cordova-plugin-splashscreen" source="npm" spec="~3.2.1" />
          <plugin name="cordova-plugin-statusbar" source="npm" spec="~2.3.0" />
          <plugin name="cordova-plugin-whitelist" source="npm" />
      <plugin name="cordova.plugins.diagnostic" source="npm" />
      
      
      <preference name="Fullscreen"      value="true" />
      <preference name="WebViewBounce"   value="true" />
      <preference name="Orientation"   value="portrait" />
      <preference name="HideKeyboardFormAccessoryBar"  value="true" />
      <preference name="DisallowOverscroll" value="true" />
      <preference name="StatusBarOverlaysWebView" value="true" />
      <preference name="StatusBarBackgroundColor" value="#000000" />
      <preference name="StatusBarStyle" value="lightcontent" />
      <preference name="SplashScreen"                value="screen" />
      <preference name="AutoHideSplashScreen"        value="true" />
      <preference name="SplashScreenDelay"          value="3000" />
      <preference name="SplashMaintainAspectRatio"  value="true" />
      <preference name="FadeSplashScreen"            value="false"/>
      <preference name="ShowSplashScreenSpinner"    value="false" />
      
      
          <platform name="android">
              <icon density="ldpi" src="www/res/icon/android/drawable-ldpi-icon.png" />
              <icon density="mdpi" src="www/res/icon/android/drawable-mdpi-icon.png" />
              <icon density="hdpi" src="www/res/icon/android/drawable-hdpi-icon.png" />
              <icon density="xhdpi" src="www/res/icon/android/drawable-xhdpi-icon.png" />
              <icon density="xxhdpi" src="www/res/icon/android/drawable-xxhdpi-icon.png" />
              <icon density="xxxhdpi" src="www/res/icon/android/drawable-xxxhdpi-icon.png" />
              <splash density="land-ldpi" src="www/res/screen/android/drawable-land-ldpi-screen.png" />
              <splash density="land-mdpi" src="www/res/screen/android/drawable-land-mdpi-screen.png" />
              <splash density="land-hdpi" src="www/res/screen/android/drawable-land-hdpi-screen.png" />
              <splash density="land-xhdpi" src="www/res/screen/android/drawable-land-xhdpi-screen.png" />
              <splash density="land-xxhdpi" src="www/res/screen/android/drawable-land-xxhdpi-screen.png" />
              <splash density="land-xxxhdpi" src="www/res/screen/android/drawable-land-xxxhdpi-screen.png" />
              <splash density="port-ldpi" src="www/res/screen/android/drawable-port-ldpi-screen.png" />
              <splash density="port-mdpi" src="www/res/screen/android/drawable-port-mdpi-screen.png" />
              <splash density="port-hdpi" src="www/res/screen/android/drawable-port-hdpi-screen.png" />
              <splash density="port-xhdpi" src="www/res/screen/android/drawable-port-xhdpi-screen.png" />
              <splash density="port-xxhdpi" src="www/res/screen/android/drawable-port-xxhdpi-screen.png" />
              <splash density="port-xxxhdpi" src="www/res/screen/android/drawable-port-xxxhdpi-screen.png" />
          </platform>
      
      
          <platform name="ios">
      <edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">  
      <string>**** utilise votre caméra pour vous permettre de changer votre photo de profil.</string>  
      </edit-config>  
      <edit-config target="NSPhotoLibraryUsageDescription" file="*-Info.plist" mode="merge">  
      <string>**** a besoin d'accéder à votre librairie de photo afin de vous permettre de choisir votre photo de profil.</string>  
      </edit-config>
      <edit-config target="NSLocationAlwaysUsageDescription" file="*-Info.plist" mode="merge">
      <string>**** a besoin d'accéder à votre localisation afin de fonctionner.</string>
      </edit-config>
      <edit-config target="NSLocationAlwaysAndWhenInUseUsageDescription" file="*-Info.plist" mode="merge">
      <string>**** utilise la géolocalisation pour trouver toutes les sorties autours de vous.</string>
      </edit-config>
      <edit-config target="NSLocationWhenInUseUsageDescription" file="*-Info.plist" mode="merge">
      <string>**** utilise la géolocalisation pour trouver toutes les sorties autours de vous.</string>
      </edit-config>
      <edit-config parent="UIStatusBarHidden" file="*-Info.plist" mode="merge">
      <true/>
      </edit-config>
      <edit-config parent="UIViewControllerBasedStatusBarAppearance" file="*-Info.plist" mode="merge">
      <false/>
      </edit-config>
              <icon height="57" platform="ios" src="www/res/icon/ios/icon.png" width="57" />
              <icon height="114" platform="ios" src="www/res/icon/ios/icon@2x.png" width="114" />
              <icon height="40" platform="ios" src="www/res/icon/ios/icon-40.png" width="40" />
              <icon height="80" platform="ios" src="www/res/icon/ios/icon-40@2x.png" width="80" />
              <icon height="50" platform="ios" src="www/res/icon/ios/icon-50.png" width="50" />
              <icon height="100" platform="ios" src="www/res/icon/ios/icon-50@2x.png" width="100" />
              <icon height="60" platform="ios" src="www/res/icon/ios/icon-60.png" width="60" />
              <icon height="120" platform="ios" src="www/res/icon/ios/icon-60@2x.png" width="120" />
              <icon height="180" platform="ios" src="www/res/icon/ios/icon-60@3x.png" width="180" />
              <icon height="72" platform="ios" src="www/res/icon/ios/icon-72.png" width="72" />
              <icon height="144" platform="ios" src="www/res/icon/ios/icon-72@2x.png" width="144" />
              <icon height="76" platform="ios" src="www/res/icon/ios/icon-76.png" width="76" />
              <icon height="152" platform="ios" src="www/res/icon/ios/icon-76@2x.png" width="152" />
              <icon height="29" platform="ios" src="www/res/icon/ios/icon-small.png" width="29" />
              <icon height="58" platform="ios" src="www/res/icon/ios/icon-small@2x.png" width="58" />
              <icon height="87" platform="ios" src="www/res/icon/ios/icon-small@3x.png" width="87" />
              <splash height="1136" platform="ios" src="www/res/screen/ios/Default-568h@2x~iphone.png" width="640" />
              <splash height="1334" platform="ios" src="www/res/screen/ios/Default-667h.png" width="750" />
              <splash height="2208" platform="ios" src="www/res/screen/ios/Default-736h.png" width="1242" />
              <splash height="1242" platform="ios" src="www/res/screen/ios/Default-Landscape-736h.png" width="2208" />
              <splash height="1536" platform="ios" src="www/res/screen/ios/Default-Landscape@2x~ipad.png" width="2048" />
              <splash height="768" platform="ios" src="www/res/screen/ios/Default-Landscape~ipad.png" width="1024" />
              <splash height="2048" platform="ios" src="www/res/screen/ios/Default-Portrait@2x~ipad.png" width="1536" />
              <splash height="1024" platform="ios" src="www/res/screen/ios/Default-Portrait~ipad.png" width="768" />
              <splash height="960" platform="ios" src="www/res/screen/ios/Default@2x~iphone.png" width="640" />
              <splash height="480" platform="ios" src="www/res/screen/ios/Default~iphone.png" width="320" />
          </platform>
      
      
      <splash src="splash.png" />
      
      
      <access origin="*" />
      <access launch-external="yes" origin="tel:*" />
      <allow-navigation href="http://*"/>
      <allow-navigation href="https://*"/>
      <allow-navigation href="http://*/*"/>
      <allow-navigation href="https://*/*"/>
      <allow-navigation href="data:*"/>
      <allow-navigation href="about:*"/>
      <allow-navigation href="tel:*"/>
      <allow-navigation href="gap:*" />
          <allow-intent href="http://*/*" />
          <allow-intent href="https://*/*" />
          <allow-intent href="tel:*" />
          <allow-intent href="sms:*" />
          <allow-intent href="mailto:*" />
          <allow-intent href="geo:*" />
      </widget>