airsdk / Adobe-Runtime-Support

Report, track and discuss issues in Adobe AIR. Monitored by Adobe - and HARMAN - and maintained by the AIR community.
206 stars 11 forks source link

lib/aot/bin/compile-abc/compile-abc is i386 and won't run on macOS Catalina (10.15) #119

Closed tuarua closed 5 years ago

tuarua commented 5 years ago

Problem Description

macOS Catalina now doesn't support running 32bit apps/binaries. lib/aot/bin/compile-abc/compile-abc is still only 32bit arch and therefore it is impossible to compile an iOS app for release !

Error is always: Compilation failed while executing : compile-abc

Steps to Reproduce

Known Workarounds

Rollback to macOS 10.14 but this is not possible in all cases.

ajwfrost commented 5 years ago

Yes we're aware of this one and are trying to get an update into our forthcoming release to fix this (if we miss that, we'll provide a patch as soon as possible).

twistedmedia commented 5 years ago

Thank you!

tuarua commented 5 years ago

Fine for me now in 33.2.0.288

aldoyh commented 5 years ago

Same issue here with Adobe Animate CC 19.2.1 Build 408

ajwfrost commented 5 years ago

@aldoyh Have you updated the SDK to 33.2.0.288 and got Animate to use this one? Worth also checking the compile-abc binary e.g. with "file compile-abc" in a terminal console to check what the format is, in case something went wrong with unpacking the SDK.

otololo commented 5 years ago

Where can I find the SDK 33.2.0.288, please? On the official Harman website I can see only 33.0.2.315. Am I missing something?...

Oldes commented 5 years ago

@otololo 33.0.2.315 is the latest version. 3.0.2.288 was the previous one.

topomonkey commented 5 years ago

The 33.0.2.315 version still throws an error saying that the "adl" cannot be opened because the developer cannot be verified. (on Mac Catalina with animate cc) Any thoughts?

Oldes commented 5 years ago

Just don't use overprotecting Catalina and you will be fine. Everyone who provides apps (even tools like "adl") must send each binary to Apple for "notarization", where Apple analyze the binary and if they think it's ok, they will sign it so users may open it on Catalina.

alwinlubbers commented 5 years ago

The 33.0.2.315 version still throws an error saying that the "adl" cannot be opened because the developer cannot be verified. (on Mac Catalina with animate cc) Any thoughts?

When the dialog pops up, click on 'Cancel' and open the 'System Prefrences' app, click on 'Security & Privacy' and go to the 'General' tab. Finally, click on 'Open Anyway'. Publish your app again, now you will see a new 'Open' button in the dialog box. Click on that, and it should be fixed.

I will try to make a video of the process, but i don't know if i can recreate it because i already told my Mac that i 'trust' the app.

Quick edit: This WON'T fix the 32-bit app from not running, this method is just for apps and binaries that are not notarized by Apple. So AIR 32 is still unsupported under Catalina.

otololo commented 5 years ago

@Oldes Thank you for the answer.

I'm on macOS Catalina 10.15.1, using Animate 2020. So far, I am not able to generate an IPA at all (I've tried AIR 32 and 33.0.2.315). The 33.0.2.315 version threw the same error about unverified developer, I fixed that using the same steps as @alwinlubbers suggested, thank you.

Next error was "SDK is missing file arm-air.txt". I’ve found another forum thread mentioning this issue. As advised there, I downloaded air-fields.arm-air.txt file (they provided a ZIP file link) and placed in the correct folder, but now I get another error: "Invalid input. Struct avmplus::ScopeChain size is incorrect [...] Undefined symbols for architecture armv7". Do I understand it right that it's due to the problem mentioned here and there is no fix for now, other than compiling on Windows?

Oldes commented 5 years ago

You should be still able to compile on mocOS 10.14 and older. Or maybe use some VM or Docker. Still don't understand why all of you blindly update your OS when is working.

alwinlubbers commented 5 years ago

@otololo I'm glad to help. That's excactly the error i've been getting with AIR33 on macOS Catalina. Still haven't tried the AIR33 SDK in Animate on macOS Mojave. I'm still developing with AIR32 as of right now.

@Oldes I know it's kinda dumb to upgrade your OS when everything is working as it should, well apart from the new features, improvements and iOS compatibility. Luckily, i have 2 Macs, but i've sadly installed Catalina on my main machine. Catalina has been a dumpster fire for me, it's easily the worst version of macOS since Lion.

shaymolho commented 4 years ago

Hi, I also upgraded to MacOS15 and since then can't build the IPA.

I've upgraded the AIR to AIR33, fixed the "ld" security problem the prevented it from running, but now i got to the following error:

Compileation failed while executing : ld64
ld: library not found for -lclang_rt.ios

Did anyone encounter this problem?