I was trying to upload my application to app store for the first time, and I get error while compiling ipa file.
You can see exceptions above, and here is my file structure:
->native
->framework
->ios-moe
->ios-moe-test
->Pods
inside the ios-moe folder I have
Icon-72@2x
Icon
Icon@2x
Icon-76@1x (NEW)
Icon-76@2x (NEW)
Icon-60@2x (NEW)
And it showed the same error again. I thought I should bind these files with Moe but I do not know how to do it.
Try going to Build Phases and find the section labeled Copy Bundle Resources. Make sure those files are listed there, and if they aren’t, drag them over to it to add them.
For what it’s worth I use Asset Catalog Creator from the Mac App Store (https://itunes.apple.com/us/app/asset-catalog-creator/id866571115?mt=12) and it takes care of all the icons for you so you don’t have to keep up with resizing each icon version. iOS icon generation is free iirc, with cheap in-app purchases for other things like splash screen (definitely worth getting).
I had exactly the same issue and solved it. Look in my project (https://github.com/Leejjon/BluffPoker) and copy the Assets.xcassets folder in your project.
You can use this free service to generate icons from your own icon and replace mine with your own:
I find it still unbelievable that xcode cannot give project warnings about this when you set up your project. Instead they start complaining the moment when you upload it to the store.