This is the error message:
ITunes Store operation failed. Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of
Just had same problem and post answer in case someone like me, stumbles over here. Using Xcode 8.3.3 and wanted to use AppIcon in Assets catalogue. Tried all sorts of Stack Overflow answers without success.
Finally learned about a deep clean step from Ken/Apple Forum:
I was facing this error while uploading app to AppStore
Missing required icon file - The bundle does not contain an app icon for iPad of exactly ‘76x76’ pixels, in .png format for iOS versions >= 7.0.
Missing required icon file - The bundle does not contain an app icon for iPad of exactly ‘152x152’ pixels, in .png format for iOS versions = 7.0.
I solved it by adding this script at the end of Podfile
post_install do |installer|
copy_pods_resources_path = "Pods/Target Support Files/Pods-TargetName/Pods-TargetName-resources.sh"
string_to_replace = '--compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"'
assets_compile_with_app_icon_arguments = '--compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${BUILD_DIR}/assetcatalog_generated_info.plist"'
text = File.read(copy_pods_resources_path)
new_contents = text.gsub(string_to_replace, assets_compile_with_app_icon_arguments)
File.open(copy_pods_resources_path, "w") {|file| file.puts new_contents }
end
Install your Podfile
again, may it should help.
P.S. Remember
TargetName
in above script should be your Projects' Target Name. e.g. if your target name isMyAppName
then you should replaceTargetName
in above script asMyAppName
Right click on AppIcon xcassets, then you can see new app Icon.
It will show you New App Icon, then it will show you all required icon, and you need to fill everything needed there and remove current one.
Please change your development target 6.0 to 7.0 in your xcode and start new archive its working successfully.
Open your project's General Preferences in Xcode, and make sure that your App Icons Source is the Asset Catalog named "AppIcon":
Then, in the project navigator, click Images.xcassets, click AppIcon, and then drag and drop your icons into the required places. If AppIcon is not shown, you'll have to right click and choose "New App Icon" and then select the proper icons from the inspector on the right:
Once you've done this, your icons should show up where they're supposed to.