Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not to compile ios app with adobe animate #2866

Open
mehmury opened this issue Oct 3, 2023 · 12 comments
Open

not to compile ios app with adobe animate #2866

mehmury opened this issue Oct 3, 2023 · 12 comments
Labels

Comments

@mehmury
Copy link

mehmury commented Oct 3, 2023

During my application update process, I get an error when compiling with Adobe Animate in the latest Air SDK versions.
Anes
Ekran görüntüsü 2023-10-03 132344
are available in the application.

When I tried it with Air SDK 50.2.3.5, I got an error, then I saw that the latest SDK was published.
When I compile the same application with air SDK 50.2.3.6

Cannot read ld64 file.

The operating system I use is Windows 11 pro.
Adobe Animate v.23.0.2
AIR SDK 50.2.3.6

@mehmury mehmury added the Bug label Oct 3, 2023
@ajwfrost
Copy link
Collaborator

ajwfrost commented Oct 3, 2023

Hi

Just to check on the behaviour here:

thanks

@mehmury
Copy link
Author

mehmury commented Oct 3, 2023

I downloaded the new ld64 file from the link given and added it to air SDK 50.2.3.6. When I recompile it, I get the error again.
I am adding the screenshots of the errors
Ekran görüntüsü 2023-10-03 134420

@ajwfrost
Copy link
Collaborator

ajwfrost commented Oct 3, 2023

Okay thanks -> not sure why we're getting those sorts of errors, probably we'll need to grab that ANE and try to reproduce that here..

In the meantime, the simplest thing would be for us to update the ADT tool to have different behaviour on Windows vs macOS, and revert the linker. Will get a build of that kicked off asap as a quick patch..

thanks

@mehmury
Copy link
Author

mehmury commented Oct 3, 2023

I use district adverts ane and old myflash labs firebase core ane together. Isn't it possible to use two ane together, since the required depencies files are different for both of them?

edit:İWhen I try to cancel the old anes, I still get the error.
Ekran görüntüsü 2023-10-03 140011

@ajwfrost
Copy link
Collaborator

ajwfrost commented Oct 3, 2023

Okay interesting -> not sure whether this then is because of an updated linker command-line, or because of the new linker..! Will get someone looking into this asap..

@ajwfrost
Copy link
Collaborator

ajwfrost commented Oct 3, 2023

Can you please update your ADT to this one (on top of 50.2.3.6)?
adt.zip

thanks

@mehmury
Copy link
Author

mehmury commented Oct 3, 2023

i try this new adt.jar file on air sdk 50.2.3.6 and i get same error like this posts first
Ekran görüntüsü 2023-10-03 132344

@ajwfrost
Copy link
Collaborator

ajwfrost commented Oct 3, 2023

@mehmury you may need to shut down Animate and copy the file again, it doesn't look like it was copied over properly... it shouldn't be calling the linker with -platform_version on Windows..

thanks

@mehmury
Copy link
Author

mehmury commented Oct 3, 2023

It didn't work again. The same error still persists. I closed Animate and re-added the ld64 and adt.jar files into air SDK 50.2.3.6. I reopened Animate and tried it. I even repeated the same process a few times to make sure. Unfortunately, the same error continues. I wonder if it is caused by Windows?
Ekran görüntüsü 2023-10-03 132344
EDİT: ı try run with animate by administartor not enough..error persist.

@mehmury
Copy link
Author

mehmury commented Oct 3, 2023

When I used older Air SDK and Distriqt Adverts SDK in the application update, I completed the compile process without any errors.
I guess I couldn't do this if there was a problem with Windows.

I was able to successfully compile the iOS application using air sdk version 50.2.3.1 and distriqt adverts 2023.05.08 [v14.0.3].
As far as I understand, some additions need to be made in the 50.2.3.2 and later SDKs prepared for iOS and Xcode.
I used the new SDKs successfully for Android, but it did not work on the iOS side for me.

@pavelzmolik
Copy link

pavelzmolik commented Oct 6, 2023

Hello, I can report that version 50.2.3.5 is OK, I just tried to compile the applicaiton and all passed succesfully. But I have the same error as mehmury with the current version 50.2.3.6. I am also using distriqt ANEs but no others. I just try to compile the application without ANEs and I write the result here..

Edit: I tried to compile a new app completely without any ANE within and the result is the same. The compiler threw an error I copy from the command line:

ld: unknown option: -platform_version
Compilation failed while executing : ld64

So presuming this error causing the ANE is wrong.. there will be some difference between 50.2.3.5 and 50.2.3.6

@KaseYu
Copy link

KaseYu commented Oct 24, 2023

Can you please update your ADT to this one (on top of 50.2.3.6)? adt.zip

thanks

I use this new adt.jar, instead of 50.2.3.6's adt.jar, and it works fine for ipa files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants