I have an app which is 50MB+ in size. It is filled with image sets. Since the app has IAP I would like to download image sets on demand (when the user buys one image set). In order to do that I am trying to use apple's hosted content option.
I created a new project with the correct name/bundle ID and configured everything in iTunes conect. In order to deliver these IAP image sets I used a Asset catalog for every IAP product. However, when I want to archieve the product Xcode gives me the following message:
/Users/MyCompany/Desktop/Programming projects/Tutorials/Vegetables1/Vegetables1/Media.xcassets: The output directory "/Users/MyCompany/Library/Developer/Xcode/DerivedData/Vegetables1-dzbpbuiozhaliyezacnqehsgubdt/Build/Intermediates/ArchiveIntermediates/Vegetables1/InstallationBuildProductsLocation/Library/InAppPurchaseContent/Vegetables1/Contents" does not exist.
The Media.xcassets is empty... I didn't add any picture. No matter what I do it keeps giving me this error.
The Media.xcasset is correctly added in the Copy Bundle Resources
and is visible via Finder
.
I could add all the images manually without the Asset catalog. I don't think this a good approach but if it doesn't work I will have no other choice.