AIR iOS 打包 Apple send email “Invalid architectures“

Recently packaged and received a reminder from Apple, so I started to upgrade the SDK a long time ago

insert image description here

When approaching March, AIR32 ios12.1 Xcode10.1 has been successfully packaged and run without errors, but the problem occurred on the day the package was issued

After the package is transmitted, the corresponding package cannot be seen in the Apple background, and it disappears after processing, and an email from Apple is received

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

Embarrassment committed, I searched for a long time on the Internet, after trying various methods, I finally found the reason:
after xcode10, Apple does not support ios versions below 8.0, so:

solution:

1. To set the application package MinimumOSVersion to 8.0 or above

2.***** This point is deadly!!! Change the setting file in the ane (*all ane) used by the application (change the .ane suffix to .zip, unzip, find iphonex86 in the META-INF folder, and find the platform.xml) Check it out:

A certain setting ios_version_min of the xml file is changed to 8.0

Three-party ane can download the latest version on the platform

insert image description here

contact author

Looking forward to your likes and attention! In case of doubt, contact the author.
insert image description here

Guess you like

Origin blog.csdn.net/weixin_39404995/article/details/112981222