skip to Main Content

Hi I got this error while uploading archive with xCode.

enter image description here

Does anybody had this error before ? Thanks

34

Answers


  1. Chosen as BEST ANSWER

    Found that the problem was with the assets like it's said in the error. Don't know if it's a new requirement by apple or if it's an old one but you cannot have an alpha channel in your assets. So I just edited all my assets and deleted the alpha channels and then it worked ! Hope it help ;)


  2. There is something wrong in your assets. Either the app icons are not correct/missing OR you need to check your images.

    Login or Signup to reply.
  3. I got the same error too. I contacted Apple and received the following reply:

    Thank you for contacting Apple Developer Program Support.

    We are sorry to hear that an error message is displayed in Xcode and that you are unable to distribute the app.

    We have checked our available resources and found that none of them correspond to the error you have inquired about.

    We have identified a guide that may be related to the error you are experiencing and are sending it to you below.

    Validate an archive of your app

    If you need more information, please consider visiting the Apple Developer Forums, where you can discuss development issues with Apple engineers and other developers.

    Developer Forums
    https://developer.apple.com/forums/

    For feedback on Xcode or to report a bug, please use the Feedback Assistant.

    Developer Feedback Assistant
    https://developer.apple.com/jp/bug-reporting/

    We apologize for not being able to help you with your inquiry, but we hope the above resources will be of assistance.

    Login or Signup to reply.
  4. This error message occurs by different situactions, to address your problem you can distribute your app directly to get more detail error message.

    I got same message because I overrite my ios folder with a older one,
    issue fixed by replacing a ios folder with a new one.( you can run "flutter create newProject" to get it)

    Login or Signup to reply.
  5. I had the same problem. Even though validation continued to fail, I eventually just tried clicking on the "Distribute App" button in Organizer. That also failed, but gave me a much more helpful error message. Turned out that the issue had nothing to do with Assets. I added a redirect uri scheme that contained an invalid character. I fixed that, and the validation succeeded.

    Login or Signup to reply.
  6. I am also encountering this error with an Ionic project. Even though my build failed Xcode validation, I tried to distribute it to the App Store anyway, and received the following error, which provided more detail:

    Missing Info.plist value. A value for the Info.plist key ‘CFBundleIconName’ is missing in the bundle ‘xx.xxxxx.xxxxxxxx’. Apps built with iOS 11 or later SDK must supply app icons in an asset catalog and must also provide a value for this Info.plist key. For more information see http://help.apple.com/xcode/mac/current/#/dev10510b1f7. With error code STATE_ERROR.VALIDATION_ERROR.90713 for id 97fb5968-9248-4336-a622-e015181dd333

    In Xcode I examined the app/app/assets and under AppIcon the 1024x1024px icon was missing. I added a file, generated a new build, and subsequently was able to Archive, validate and deploy.

    Login or Signup to reply.
  7. I exported IPA from Organizer and used Transporter app which finally helped me to see the issues.

    enter image description here

    Login or Signup to reply.
  8. I was getting the same error but when i tried to upload the app, it gives me the detailed info, i was using the same version for the latest build which apple doesn’t accept. I just changed the version number for that build and able to upload the app successfully.

    Login or Signup to reply.
  9. I got the same error message when I tried to validate my app, so I tried to distribute the app and I got a full error message, in my case was:

    Invalid Provisioning Profile Signature. The provisioning profile included in the bundle ‘netoloboapps.com.mensagensProntas’ (Payload/Runner.app) cannot be used to submit apps to the iOS App Store until it has a valid signature from Apple. (Expired profile signing certificate.) For more information, visit the iOS Developer Portal. With error code STATE_ERROR.VALIDATION_ERROR.90165 for id b493faef-bcf5-4732-995d-f7c6609a0354

    My problem was a expired signing certificated. So here’s the tip, check out the complete error message and see the source of the problem.

    Login or Signup to reply.
  10. I found same issue, but i dont see error reporting anywhere. I build my app with Flutter and i try edit version in pubsbec.yaml. and i edit too version app in xcode. then my app success validate and distribute

    Login or Signup to reply.
  11. I just changed the iOS build version 3.6.3(92) to 3.6.4(92) from runner and it works fine. So, try changing your build version properly.

    Login or Signup to reply.
  12. In my case, it was the version number. Once App is published on App Store, to push update use a higher version number e.g 1.0.1 (if in production we have App version 1.0.0).

    Login or Signup to reply.
  13. The XGA-sized icon for the App Store cannot have an Alpha channel (and only that one – all other assets are OK with Alpha channels… go figure). It’s one of the many, many unnecessary quirks Xcode / AppStore Connect have that drive me nuts.

    Login or Signup to reply.
  14. In my case two mistakes, I did

    The first one is the store version and Xcode build  versions are not matching 
    
    The second one is something wrong with our assets. (Either the app icons are not created/missing or other images)
    
    Login or Signup to reply.
    1. Install the "Transporter" app from the MacOS app store.

    2. From Xcode’s organizer, select your archive and press "Distribute App"

    3. Instead of "Upload", select "Export" and proceed as usual.

    4. Drop the exported .ipa into the transporter and press "Deliver".

    Login or Signup to reply.
  15. Ways to fix this:

    • Check if the new version is greater than the previous version.

    • In the issue navigator, you just need to apply the changes recommended by Xcode. Start clicking the issue to see the recommendations, it will prompt automatically.

    • Download Transporter, to see the details of the error.

      • You need to export appName.ipa from Xcode
      • Upload the appName.ipa in the Transporter
    Login or Signup to reply.
  16. If you have already deployed (to the app store) the same version of the app you are attempting to validate for TestFlight, you will see this error message. The new TestFlight release must have a succeeding version number in comparison to the latest version of the app, if it is already on the app store.

    Login or Signup to reply.
  17. In my case I was messing some AppIcon resolution images for iPad. Also I made sure that the version and the build are set correctly.

    Login or Signup to reply.
  18. 1- Go to the icons folder
    /myapp/ios/App/App/Assets.xcassets/

    2- Open the photo

    3- Click File, then choose Export

    4- Deselect from Alpha and replace the image

    This should be applied to all icons

    Login or Signup to reply.
  19. I got the error when the WatchApp uses the healthkit api but not adds description into info.plist.

    I use the Transporter App to upload, it shows the error summery.

    Login or Signup to reply.
  20. In case your current app version is already in approved but not released status, you cannot use the same version number. You must go higher version.

    Login or Signup to reply.
  21. For Flutter Developer, Change the version number. From Example in pub.yaml, 1.0.0+4 to 1.0.1+5.

    Login or Signup to reply.
  22. If this is a new project and you are uploading to the App Store for the first time, you must have app icons set in the Assets folder.

    This is why it could say "Asset validation failed".

    Login or Signup to reply.
  23. The only one solution helps me is transfer app to other AppStore account.

    Login or Signup to reply.
  24. In my case, the app was approved for release with the same version number. So I have to cancel the release to validate and distribute the app with the same build number. Or you can change the build number.
    You can cancel the release in AppStore connect. It’s a blue button on the top of the page.

    Login or Signup to reply.
  25. Remove alpha channel only for the icon "App Store iOS 1024pt" (Assets.xcassets) and you will fix the issue "App Store Connect Operation Error – Asset validation failed"

    Login or Signup to reply.
  26. Before uploading the app to the app store first we need to validate the app to check whether the app has any errors or not.
    Another advantage of validating app is it’ll provide detailed error.

    I found 3 scenarios on which this error will occur:

    => if we are not updating the version name
    => Alpha channel in all the images of Assets.xcassets/ should be removed (you can download alpha channel remover for that)
    => if we have selected Ipad in general settings Portrait, landscape right , landscape left should be enable if we have given just portrait mode we will face the same error.

    Happy coding 🙂

    Login or Signup to reply.
  27. Make sure you increase the app version. enter image description here

    Login or Signup to reply.
  28. In my case there were some errors with the icons in Runner/Assets.

    I just deleted those images was shown in the image bellow and everything works fine.

    enter image description here

    Login or Signup to reply.
  29. If your app has "Approved" state, but it is not released yet – you can not use same version number.

    You have two options:

    • increase version number (not just version code);
    • cancel release (nothing will be deleted, just your approval will be cancelled), validate and distribute app, submit for approval.
    Login or Signup to reply.
  30. Increase "Current Project Version" that under Build Settings.

    Login or Signup to reply.
  31. Install the "Transporter" app from the MacOS app store.
    From Xcode’s organizer, select your archive and press "Distribute App"
    Instead of "Upload", select "Export" and proceed as usual.
    Drop the exported .ipa into the transporter and press "Deliver".

    Login or Signup to reply.
  32. i have found a solution to this problem,

    you need to double check that, you have check the iphone or Ipad checkbox on xcode , but you have to upload the Iphone icons or ipad icons, one of them is missing.

    enter image description here

    enter image description here

    Login or Signup to reply.
  33. Please check you current project app image is same as app store app icon under Included Assets

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search