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

Bundle the app for MacOS #1249

Open
4 of 6 tasks
Tyrrrz opened this issue Jun 2, 2024 · 1 comment
Open
4 of 6 tasks

Bundle the app for MacOS #1249

Tyrrrz opened this issue Jun 2, 2024 · 1 comment

Comments

@Tyrrrz
Copy link
Owner

Tyrrrz commented Jun 2, 2024

Version

v2.43.3

Flavor

GUI (Graphical User Interface), CLI (Command-Line Interface)

Platform

OSX

Export format

No response

Steps to reproduce

Explained below

Details

If you try to run the app after downloading, it won't launch due to macOS's security policies. You need to manually bypass the app signing check to work around this issue: #1234 (reply in thread)

Packaging the app as .app bundle may help resolve this issue. Ideally, we'd want to integrate the bundling stage in the existing CI process.

Checklist

  • I have looked through existing issues to make sure that this bug has not been reported before
  • I have provided a descriptive title for this issue
  • I have made sure that this bug is reproducible on the latest version of the application
  • I have provided all the information needed to reproduce this bug as efficiently as possible
  • I have sponsored this project
  • I have not read any of the above and just checked all the boxes to submit the issue
@toadchild
Copy link

Commenting from the other thread, since I brought up the app bundle.

If you have an unsigned bundle, it is treated similarly to how Windows treats an unsigned .exe file. You have to right click -> open the first time in order to confirm that you want to run unsigned code, but after that it remembers the app and won't prompt you again.

I haven't done mac app stuff in a while, but iirc there's nothing magic about what xcode does when making a .app bundle. You just need the correct layout and an info.plist file that tells the OS how to set up the runtime.

https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html#//apple_ref/doc/uid/10000123i-CH101-SW19

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

No branches or pull requests

2 participants