The required problem with the icon is missing and the marketing icon is not found

I just updated Xcode from version 8.3 to 9 through the appstore. I'm trying to introduce my new version of the application, but I ran into the problem of downloading applications using Xcode 9. I did not have this problem before when I downloaded the application using Xcode 8.3. My application is an iPhone application and the minimum goal is iOS 9. My code is in Swift 3.2. The problem is the missing icon, as shown below:

enter image description here

When I download the application using Application Loader 3.0, it gives me an error: "The required icon file is missing ........> = 7.0" and about the marketing icon 1024x1024 in .png without alpha channel and transparency. I met all of these criteria.

enter image description here

I have all the icons, including 120 X 120, as well as the marketing icon 1024 X 1024 I have all the application icons in the Assets.xcassets folder in AppIcon.

enter image description here

Even then, when I received the same error again and again I couldn’t download the new version of the application in iTunes.

I googled and checked most of the stacker thread messages regarding this type of problem. But I still can not get rid of this problem. It was 2 days, I'm trying to do it. I also tried without using the asset catalog and adding application icons to the application package in a folder named format like icon.png etc.

Then I also added the application icon names to info.plist and tried, but also the error is the same and does not allow loading the application in the appstore.

enter image description here

I am not sure what the problem is. Is this a bug in Xcode 9 or is there some kind of bug that I need to fix. I downloaded the application many times, but this is the first time I get this problem. Not sure what to do. Has anyone come across this question recently? Any help would be greatly appreciated. Thanks.

+2
ios xcode9
source share
2 answers

I have the same problem. Check it out: solution

Just add this code below to your file:

post_install do |installer| installer.aggregate_targets.each do |target| copy_pods_resources_path = "Pods/Target Support Files/#{target.name}/#{target.name}-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 end 

and then run the pod install console

+2
source share

After several attempts - getting rid of the alpha channel, messing around with my pods, etc. - it turns out that this is a problem with the high Sierra. A bit hacky, but basically you need to make Xcode think you are on a lower OS.

See Stubyte's answer to this thread .

What I've done:

Locate the .xcarchive application file, right-click → show package contents, go to products → applications → your application name → show package contents. Find the info layer here and change BuildMachineOsBuild to 16A323 . Then submit the application.

+2
source share

All Articles