Skip to main content
natural_criticB837
Legend
February 13, 2019
Answered

iOS Upload with Air 32.0.0.103 / iOS 12.1: Invalid Architecture

  • February 13, 2019
  • 11 replies
  • 5819 views

Hello,

I tried the latest Air SDK for Windows Beta 32.0.0.103 and uploaded our ipa build with Application Loader. Application loader accepted the build without warnings, however I received an error email containing this description:

Dear Developer,

We identified one or more issues with a recent delivery for your app, "XXX". Please correct the following issues, then upload again. 

Invalid architectures - This app has invalid architecture, and may have been built with invalid build settings or incompatible tools. Try rebuilding the app with the latest Xcode version. If you are using third party development tools, contact the provider.

Best regards,

The App Store Team

We are currently using a minimum iOS version of 8.0 in our application.xml. Did the minimum iOS version increase with the latest Air 32.0.0.103? I just left the office so please let me know in case anyone has seen the same error and been able to solve it. Otherwise I will update this thread tomorrow with my findings.

Kind regards

This topic has been closed for replies.
Correct answer Flipline

roa52880066​ You actually see a different warning. You need to upgrade to Air 32.0.0.103 and this warning should be resolved.

I am looking further into the Invalid Architecture problem and I will update this post as I go.

Findings:

#1) Removing all ANEs from the project and compiling with minSdk 8.0 resolves the problem..

#2) Removing all non-Distriqt ANEs resolves the problem, meaning the problem must come from another ANE provider.

#3) The Adjust 12.1 ANE is producing the problem for us. I am going to try and see if an update to the latest version fixes the problem.

#4) Problem seems to persist with Adjust ANE 17.1, I created an issue here: https://github.com/adjust/adobe_air_sdk/issues/46


I read in another topic that if any ANE has a value of "-ios_version_min" lower than 8.0 in their platform.xml / platformoptions.xml file, you'll get that Invalid Architecture email from Apple since the newer 12.1 SDK or Xcode doesn't support a version that low.  I just downloaded the Adjust ANE and I see that it does in fact have -ios_version_min set to 6.0 in platformoptions.xml (none of the Distriqt or Milkman plugins that we use do), so that's likely the problem with their ANE.

11 replies

-_Simon_-
Participating Frequently
February 13, 2019

>Did the minimum iOS version increase with the latest Air 32.0.0.103?

The release notes for 32.0.0.89 had version iOS 9.0 as minimum in the system reqs - haven't tried an upload with either yet myself though.

natural_criticB837
Legend
February 14, 2019

Thanks, setting a minimum iOS version of 9.0 or 10.0 does not fix this, I am getting the same error message still. I found someone with the same problem on the Starling forums but no solution other than using the older SDK: https://forum.starling-framework.org/topic/air-32-ios-12-issues-resolved

Anyone here facing the same problem?