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

Slow startup speed in built app #13

Open
andyshand opened this issue Oct 24, 2020 · 1 comment
Open

Slow startup speed in built app #13

andyshand opened this issue Oct 24, 2020 · 1 comment
Labels
bug Something isn't working
Projects

Comments

@andyshand
Copy link
Owner

andyshand commented Oct 24, 2020

For some reason this doesn't occur at all during development.

https://stackoverflow.com/questions/56008262/why-is-my-app-really-slow-to-start-when-i-authorized-it-to-control-my-system

See above link for possible explanation. Apps must be signed even with a self-signed certificate, or it will perform some kind of scan on the app which is what slows things down.

Removing the call to AXIsProcessTrustedWithOptions speeds things back up again, which seems to explain that the scan happens only when checking if the process is trusted. Unfortunately, we need this for accessibility access.

@andyshand andyshand created this issue from a note in Roadmap (To do (v1)) Oct 24, 2020
@andyshand andyshand added the bug Something isn't working label Oct 29, 2020
@andyshand andyshand changed the title Slow startup speed Slow startup speed in built app Nov 3, 2020
@andyshand
Copy link
Owner Author

Confirmed to be an issue with code signing. Running the following command to sign the app results in no more lag! 🎉

codesign --deep -fs "Your Cert Name Here" modwig.app

Just need to confirm that self-signed apps can run on other machines, and then we're good.

@andyshand andyshand moved this from To do (1.0.0 Alpha) to In progress in Roadmap Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Roadmap
  
In progress
Development

No branches or pull requests

1 participant