adjust / adobe_air_sdk

This is the Adobe AIR SDK of
http://adjust.com
Other
24 stars 12 forks source link

Invalid architecture with latest Air 32.0.0.103 (iOS 12.1 update) #46

Closed rewb0rn closed 5 years ago

rewb0rn commented 5 years ago

Hello,

submitting our app to Apple through Application Loader with Adjust SDK 17.1 with the latest Air 32.0.0.103 beta (update for iOS SDK 12.1) I receive the following email from Apple:

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

Removing the Adjust ANE from the app fixes the problem, i.e. no other ANEs are producing this error. I also see this error when using Adjust 12.1 instead.

Can you have a look?

Thanks in advance

uerceg commented 5 years ago

Hi @rewb0rn

Thanks for the report. Hm. This is interesting. This latest version was built exactly for this reason - to please Apple's requirement to use latest Xcode for build process.

Do you maybe have any additional info on which architecture in particular is invalid? Do you see same issue with 4.17.0?

rewb0rn commented 5 years ago

Hi,

thanks for your reply. Someone one the Adobe forums posted this, hope it helps:

_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_versionmin 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.

uerceg commented 5 years ago

Interesting. This was doubt we had when releasing 4.17.1, but we did test with a client and it seemed that it was not needed, rather just to build the iOS binaries of the ANE with Xcode 10.

If you can write me an email, I can provide you with the version of ANE which has minimal target iOS version changed to 8.0 and if it works for you, we will make it our 4.17.2 release.

rewb0rn commented 5 years ago

The issue only occurs with the latest Air SDK 32.0.0.103 that includes the update to iOS SDK 12.1, which is required by Apple from March for app updates. Previous versions of the Air SDK bundle 12.0 and do not produce the issue, which is probably why you did not experience the issue in your tests.

I have sent an email now, thanks for your help!

uerceg commented 5 years ago

Hey @rewb0rn,

Here's the RC 4.17.2 ANE which has ios_version_min set to 8.0. In case it works for you, let us know and we can make it our new release.

(seems like GitHub doesn't allow .ane extension as attachment in comments, so I have literally just renamed it from .ane to .zip. Once downloaded, just rename it from .zip to .ane and should be fine)

Adjust-4.17.2.zip

rewb0rn commented 5 years ago

We have just submitted the app with Adjust 4.17.2 and we received the correct Apple email without complaints for an Invalid Architecture. Thanks for your support, this version does fix the problem.

uerceg commented 5 years ago

Awesome. Thanks for the update. We will release an official update later today.

uerceg commented 5 years ago

It's live: https://github.com/adjust/adobe_air_sdk/releases/tag/v4.17.2

Thank you one more time for the feedback and all the info.

Cheers! 🍺

jeuxdaily commented 5 years ago

hello is that mean to change Milkman ane with this file Adjust-4.17.2.ane

and how can I add this extension in adobe animate cc thanks

jeuxdaily commented 5 years ago

I'm using Milkman plugin thanks

uerceg commented 5 years ago

Hi @jeuxdaily.

Sorry, but I am not exactly sure what are you asking. I have just checked what Milkman is, seems like some platform where Adobe plugins are being distributed if I understood it well. Are you asking if Adjust ANE is available on Milkman platform? In case you are asking that, the answer is no, it is not.

jeuxdaily commented 5 years ago

thanks for your answer

but how can I solve this problem ..

I'm using adobe animate cc for mac

and if can I do some modification in xml file

thanks

uerceg commented 5 years ago

Hi @jeuxdaily

I am not sure if Adjust SDK is something you need at all for this tool. Adjust SDK is used to enable users to make use of Adjust platform (more info in here: https://www.adjust.com/). It is used in case you are making mobile apps with Adobe AIR platform.

Adobe Animate CC seems like something totally unrelated to topic which Adjust SDK is made for, so not sure if you can do anything meaningful with it.

Cheers

jeuxdaily commented 5 years ago

hello this my problem

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.

this message was sent by apple developer after my app was successfully uploaded

uerceg commented 5 years ago

And if you remove Adjust ANE, then you're not seeing that error? Which Xcode version are you using?

jeuxdaily commented 5 years ago

hello I don't work with Adjust ANE I work with milkman ANE

thanks for your answer

uerceg commented 5 years ago

Hi,

We don't really know how to help you with your issue. We would be able to help you if you were facing some issue with Adjust ANE, but we can't really provide support for ANE files we are not developing.

Cheers

jeuxdaily commented 5 years ago

thanks foe you help

I solve my problem

now it's working fine thanks again

jeuxdaily commented 5 years ago

thanks you for your help my problem is solved

uerceg commented 5 years ago

Awesome, thanks for the update! Cheers. 🍺

rubel commented 5 years ago

jeuxdaily I am having the same problem here. When we build our app with your admob extension and upload it using application load, apple rejects that binary. If we remove your extension and compile and then upload, apple takes that binary.

Can you please tell me how you fixed this problem?

rubel commented 5 years ago

thanks foe you help

I solve my problem

now it's working fine thanks again

I am having the same problem here. When we build our app with your admob extension and upload it using application load, apple rejects that binary. If we remove your extension and compile and then upload, apple takes that binary.

Can you please tell me how you fixed this problem?

uerceg commented 5 years ago

@rubel

Are you seeing problem when adding Adjust ANE or AdMob ANE?

rubel commented 5 years ago

@rubel

Are you seeing problem when adding Adjust ANE or AdMob ANE?

Thanks for the reply my friend Milkman admob

uerceg commented 5 years ago

Like I already replied in comments above your question - we are not the ones who are developing that ANE and we can only help in case Adjust ANE is the one causing some issues.

rewb0rn commented 5 years ago

@rubel Milkman is no longer updating their extensions. Either change the minimum ios version for that ANE yourself by repackaging it, or use the updated ANE from another provider, like Distriqt.

jeuxdaily commented 5 years ago

hello

have you this problem " 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. "

tell me

Jokrise commented 5 years ago

hello

have you this problem " 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. "

tell me

Hi friend i have the same problem with my ane admob milkman can you show me please the solution, thank you.

dmkyrc commented 5 years ago

have this problem " 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. "

any solution?

uerceg commented 5 years ago

HI @dmkyrc

Is it related with Adjust ANE? If yes, how do you know?

Cheers

jeuxdaily commented 5 years ago

thanks foe you help I solve my problem now it's working fine thanks again

I am having the same problem here. When we build our app with your admob extension and upload it using application load, apple rejects that binary. If we remove your extension and compile and then upload, apple takes that binary.

Can you please tell me how you fixed this problem?

hi friend have you solving your problem

dmkyrc commented 5 years ago

It was related with another ane not the problem for adjust. You should check the other ane files. Mine was solved like that.

Thanks

On 17 Aug 2019 Sat at 05:03 jeuxdaily notifications@github.com wrote:

thanks foe you help I solve my problem now it's working fine thanks again

I am having the same problem here. When we build our app with your admob extension and upload it using application load, apple rejects that binary. If we remove your extension and compile and then upload, apple takes that binary.

Can you please tell me how you fixed this problem?

hi friend have you solving your problem

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/adjust/adobe_air_sdk/issues/46?email_source=notifications&email_token=AIZRLCW3PO7H5VBNOPM5CZLQE5L5ZA5CNFSM4GYUFTKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4QBDCA#issuecomment-522195336, or mute the thread https://github.com/notifications/unsubscribe-auth/AIZRLCV6QCSML4BPLNJL5C3QE5L5ZANCNFSM4GYUFTKA .

jeuxdaily commented 5 years ago

hello have you this problem " 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. " tell me

Hi friend i have the same problem with my ane admob milkman can you show me please the solution, thank you.

you open com.milkmangames.extensions.AdMob.ane

and go to folder

com.milkmangames.extensions.AdMob\META-INF\ANE\iPhone-ARM

open platform.xml

in line 8

change with this

good luck