[go: up one dir, main page]

Menu

#3360 FreeCol 1.2 cannot be launched on Intel Macs

Fixed_1.2.0
pending-fixed
nobody
MacOS (7)
5
2024-07-10
2024-07-07
Julian
No

the version 1.2 binary is ARM / AppleSilicon only and cannot be launched on Intel Macs. is this on-purpose? if so, i didn't see any anouncement about dropping Intel-compatibility in the release-notes...

1 Attachments

Discussion

  • Stian Grenborgen

    • status: open --> open-needs-info
     
  • Stian Grenborgen

    No, this was not on purpose. We use the latest macos-runner on Github, and that is now using M1.

    I will setup a new build explicitly running on Intel macos.

    We don't currently have any developers or testers with a mac. Please do tell, or join our Discord, if you could help test other fixes for macos-only problems.

     
  • Stian Grenborgen

    • status: open-needs-info --> pending-fixed
    • Group: Current --> Fixed_1.2.0
     
  • Julian

    Julian - 2024-07-08

    @stiangre i can confirm this is a valid build for Intel. i did have issues launching it due to the Ad-hoc signature. even the normal workaround "right click => open" did not work. however the build launched and worked fine after manually removing the quarantine from the command-line

     
  • Julian

    Julian - 2024-07-08

    launch issue is probably because the signature is not just ad-hoc but also invalid:

    Error: code-signature of app is invalid! FreeCol.app: a sealed resource is missing or invalid
    file modified: LICENSE
    file modified: ADDITIONAL_LICENSE_INFO
    file modified: ASSEMBLY_EXCEPTION
    file modified: LICENSE
    file modified: ADDITIONAL_LICENSE_INFO
    file modified: ASSEMBLY_EXCEPTION
    file modified: LICENSE
    file modified: ADDITIONAL_LICENS}
    
     
  • Stian Grenborgen

    @julianmayer:
    Yes, this is known. These are files from the Java runtime that is included in our package. The suggested solution is just signing everything again.

    However, I don't want to annually pay Apple to have a developer account just in order to distribute free software on their closed ecosystem.

    Using an adhoc signature did not help the last time I tried, but please do test and report back if this now helps:
    codesign --force -s - --deep FILE

    It might be possible to create a self-signed certificate and have this work (albeit still with a warning). I could try this out if someone writes out the commands needed for generating the signature and for using that signature for signing the dmg-file.

     
  • Julian

    Julian - 2024-07-10

    since i have already launched it on that Mac using the Terminal workaround i cannot tell you if resigning helpts with the launch issue. it definitely gets rid of the "code-signature of app is invalid" message though

     

Log in to post a comment.