It’s my first time playing with Ionic and deploy an app to Apple Store, and unfortunately I’m having some hard times trying to upload it to the Apple Store. Can anyone help me?
I’ve finished my MVP and builded it following the steps on ionic guides. Then, I opened the xcode project file and tried to run it with emulator as well as my on device (iphone 6).
Beautiful, so far everything has worked and I can see my app icon on my device and can play with it.
Before upload, I did validate the app, clicking on “validate” button, after open the Archive window. No problem so far. I got the success message and then I did click on the “Upload to Apple Store …” button.
There is were the problem lies!
After a while, I got an error message telling that there is a problem with an image path.
ERROR ITMS-90032: "Invalid image path
No image found at the path referenced under CFBundleIconFile: ‘icon.png’
I tried many searches on Google and after hours, could find nothing that solves my problem.
I checked at the /config.xml file, but all images referenced there, can be found on given paths, including the ‘icon.png’. So, I was not able to realize what’s going on until now.
It doesn’t work for me! When I tried the steps you mentioned, after selecting all png files and open it, I faced a new window asking me “what to do” with that images. Options were:
(Checkbox) Copy files if necessary
(Radio) Create groups
(Radio) Create paths (or something close)
I’ve tried both combinations, but still receiving the error message when trying upload my archive!
Thanks, this worked for me… I would like to know why though. Seems like a lot of hacking is needed to get iOS deployed.
Can the guys from Ionic update the projects created for Xcode so that all this is in place?
I got it submitted after a while and a deep mitigating!
Basically, I removed the whole folder platform/ios and ran again the commands ionic platform ios and ionic resources and ionic build ios. Somehow, after that when I tried to validate and upload the app to apple store, it has worked like a charm!
This problem has happen to me. Your solution has fixed the problem.
I have only one thing to add. You need add only the file “icon.png”. All the others are not needed.
You solutions definitely worked for me. I been trying to figure it out for the past two days and see what was I doing wrong. I did tray the suggestions above and had no luck. So just want to say THANK YOU.
This is probably something the IONIC team will have to look into, as every time you create your platform and ‘build’ the app you are going to have to make the update the ‘.plist’ file.
I’m running cordova@6.0.0 and got an error when ran the npm ls -g cordova-ios.
But, anyway, the solution given by @justinhillsjohnson has helped me and fixed that bug.
I’m not having time lately due to another really busy project, but as soon as I can, I’m get back to that one using Ionic and I’m gonna check if downgrading the cordova version and installing properly the cordova-ios would help!