Adobe Flash IOS build TMS-90184: Invalid architectures - ios

I am trying to publish Adobe flash iOS build to store but stuck with below error. I am using latest Adobe flash builder and ant to build the app. The Transporter doesn't complaint anything.
ITMS-90184: 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.

Update your flex SDK with air SDK 33.1
set MinimumOSVersion to 8.0 or higher (if build with ane, set it in platform.xml either)

Related

Submit to App Store built with iOS 12.1 SDK

I’m using Xamarin Forms 3.4 and VSTS to build and deploy to iTunes and Google Play.
During February (perhaps a bit earlier) I was getting a warning when I was trying to deploy to iTunes. The warning was the following
SDK Version Issue - This app was built with the iOS 11.4 SDK.
Starting March 2019, all iOS apps submitted to the App Store must be built
with the iOS 12.1 SDK or later, included in Xcode 10.1 or later
Everything that I tried so far didn’t work.
So I added a “Bash script” step before the build step and added the following 2 lines in the script
sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_16_0
echo '##vso[task.setvariable variable=MD_APPLE_SDK_ROOT;]'/Applications/Xcode_10.1.app;sudo xcode-select --switch /Applications/Xcode_10.1.app/Contents/Developer
I found the previous script and guideline in https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml&viewFallbackFrom=vsts#xcode
The build is successful but the deployment to iTunes fails with the error
ERROR ITMS-90596: "Invalid Bundle. The asset catalog at 'Payload/MyApp.iOS.app/Assets.car' can't be processed. Rebuild your app, and all included extensions and frameworks, with the latest GM version of Xcode and resubmit."
Before adding the “Bash script” step, I didn’t have this problem in iTunes deployment.
So I guess that the question is obvious… what am I doing wrong?
Go to This Link And look at
Apple has indicated that starting in March 2019, all apps and updates
submitted to the App Store must have been built with the iOS 12.1 SDK
or later, included in Xcode 10.1 or later. Apps should also support
the iPhone XS and 12.9" iPad Pro screen sizes.
I think in your case maybe updating Visual studio will solve your issue, Because updating VS will update your Xamarin.iOS sdk version to 12.1+ if it is lower than this.
And also if you have Xcode 9.4 installed then you will need to install Xcode 10.1 to provide support for iOS 12.0 and above for Visual Studio
You can download latest version of Xcode from following link
How to download Xcode DMG or XIP file?

Invalid architectures Xcode 10

I upgraded Xcode 10 and submitted my app. I got a email that I have not changed the architectures Setting. The Valid architectures is armv7 and arm64.
App Store Connect
Dear Developer,
We identified one or more issues with a recent delivery for your app, "#####!". 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
Xcode 10 doesn't support deployment targets lower than 8.0. You will either need to update the deployment target, or alternatively, if you need a lower target you can reinstall Xcode 9.4.1.
Check out the section Deprecation Notices Deprecations in this link
https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes!
With xcode 10:
recommend to set a deployment target of macOS 10.9 or later, or iOS 7 or later.
Just modify Deployment Target to 7.0 will fix this issue.
(Tested And Passed)
And ... there has more info. before got "Invalid architectures" from Apple.
when i update xcode to 10. i got a compile error with
libstdc++.6 not found.
(My Deployment target is 6.0)
For fixed this. i have download the old(xcode 9) libstdc++ files from a github rep.
The Apple release note can also explain this error.
So if you build for ios 6.0, recommend to use xcode 9.
otherwise
Use xcode 10 and Deployment target 7.0 or later.

How to configure Cordova 6.4 to build for 64-bit for iOS 10.1?

I am using Cordova 6.4.0. I have been able to successfully build IPA's for both AdHoc and iTunes Store submission.
Recently we started testing on iOS 10.1, and we are getting the error "This app may slow down your iPhone".
The issue is of course 32-bit versus 64-bit targeting.
However, in all my searching of the youbooks and stacktubes and faceexchanges on all of the interwebs I have not found the answer.
How to pass flags to "cordova build ios --device" so that it will not give this warning on iOS 10.1?

Binary upload fails with "Missing 64-bit support"

I'm building Cordova app with
cordova build --device --release
uploading it to itunes connect with
pilot upload -i platforms/ios/build/device/AskPal.ipa --verbose
The publishing process using Fastlane Pilot fails with:
ERROR ITMS-90086: "Missing 64-bit support. iOS apps submitted to the
App Store must include 64-bit support and be built with the iOS 8 SDK
or later. We recommend using the default "Standard Architectures"
build setting for "Architectures" in Xcode, to build a single binary
with both 32-bit and 64-bit support."
The way I'm "fixing" this is by deleting the ios platform from Cordova, and then reinstalling it with coordova platform add ios.
Please tell me there is a way to specify the those build architectures in the Cordova configs.
it is not working
Build Active Architecture

ITMS-90086 Missing 64-bit support

We have a Xamarin application that we are trying to deploy to the apple appstore, but when we try to submit the application for review we get the exception ITMS-90086 Missing 64-bit support. Here is a screenshot:
Here are the build options for my Xamarin project showing that ARMv7 + ARM64 is selected for the Supported architectures setting.
Note from the screenshot that the configuration is set to Release; I did read in one of the Xamarin appstore guidelines that this must be set to Appstore, but I do not have that configuration in my project. (See screenshot below). Could this have anything to do with the error we are getting?
We are able to set the Active configuration to Appstore\Device in the Project menu and have done so. So Appstore configuration is just not available in the project build options.
We also make use of 4 statically linked libraries which we recompiled in Xcode after updating to iOS SDK 8.3. Here is a sample screenshot of the build settings for one of our statically linked libraries.
Here is a summary of the actions that we performed to try get our application submitted:
Upgraded Xcode to the latest version with iOS 8.3 SDK installed
Upgraded to the latest version of Xamarin Studio
Upgraded to latest version of Xamarin.iOS (Version: 8.8.2.4)
Migrated the application to the Unified API
Recompiled our static libraries in Xcode using iOS 8.3 SDK
Used btouch-native to import the libraries into our Xamarin project.
Changed the Active configuration to 'Appstore\Device`.
Configured the correct provisioning profile in the iOS bundle signing section
Selected ARMv7 + ARM64 for the Supported architectures build setting.
We can compile that application with ARM64 architecture specified in the build settings; we can create the archive; we can even validate the archive in Xcode and it passes the validation. But when we do the submission we get this error.
Does anyone know why this error occurs and what we could do to try resolve it?
The problem is that your project file doesn't have an AppStore configuration.
To solve:
Right-click your project => Options.
Select Build/Configurations.
Select Distribution/iPhone, and Copy to:
Name: AppStore
Platform: iPhone
OK
Now you should be able to select the AppStore configuration and set the architecture properly.

Resources