-
Notifications
You must be signed in to change notification settings - Fork 3
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
How to make app bundle ? #5
Comments
Sorry, can't say if/how it works on Big Sur. I'm still on Catalina (and probably stay there until Apple comes back with a professional macOS version instead of the current iPad/Candy/Arcade design) where it works as described in the readme. |
This is what it mentions: klaaspc:~/scratch/AutoRaise-launcher-v2.1.0 % g++ -O2 -Wall -fobjc-arc -o AutoRaise AutoRaise.mm -framework AppKit |
You may want to try again with the update v2.5 code from upstream now integrated here as well. |
I tried it again with the original 2.1 zip and the updated Autoraise.mm. g++ -O2 -Wall -fobjc-arc -o AutoRaise AutoRaise.mm -framework AppKit Now no errors appeared. But no .app bundle is made yet. |
To build an app bundle, you need to open the xcode project in the launcher subfolder and build it in xcode. The gcc command only builds the CLI application from upstream, not the menu bar app. |
There are no instructions. I find some files in Launcher, I guessed and tried the .swift file and that opened Xcode, but how can I make the bundle ? |
Yes, I assumed "open in Xcode" and "build in Xcode" would be sufficient and did not explain how to operate XCode, there are some good tutorials out there, already :-) Off the top of my head:
|
I tried with xcode, but an app bundle is not made. |
I do not have a developer account with Apple, therefore cannot sign app bundles for use by others, sorry. |
Signing is not needed for macOS apps (unlike iOS apps), the user should just once notarize it, no developer account needed. |
Well, then try how far you get with https://github.com/lhaeger/AutoRaise/releases/tag/launcher-v2.5.0 |
This bundle does not show any output at all, and also nothing in the menu bar, it appears to be a dummy. |
The install page tells:
Simply clone, open and build this project in XCode.
Like upstream XCode will first build the AutoRaise binary by running
g++ -O2 -Wall -fobjc-arc -o AutoRaise AutoRaise.mm -framework AppKit
and include it when finally building the Launcher app bundle (AutoRaise.app).
To install copy AutoRaise.app into the /Applications folder and/or the AutoRaise binary to e.g. /usr/local/bin .
But when I run the compile command, no Autoraise.app bundle is created. How can I create it ?
I have macOS BigSur 10.16.5 and Xcode 12.5.
The text was updated successfully, but these errors were encountered: