-
-
Notifications
You must be signed in to change notification settings - Fork 36
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 package a macos app? #79
Comments
By default the cargo build doesn't build self-contained bundles. There is bundle_tool project that you can install using
and which can create self contained bundles as well as codesign and notarize them, but I haven't had much time to document it. After installing you can run |
Hi, there. We tried many times, but we failed. Could you offer us more specific information? What exactly does 'SOURCE_DIR' mean? What exactly does 'OUT_DIR' mean? Thanks in advance. |
Assuming you did cargo
This should create |
I did cargo bundle-tool -v macos-bundle /project/target/release/Qtalk.app target/ ** Tool failed with error ** |
Where are you running this? You need to run everything in the project directory.
This should create self-contained bundle in |
I did these commands in the project directory. |
i use cargo build --release ,create a folder full of alias and it can't run in other mac
open in other mac it shows "open /Users/hank/Downloads/release/Qtalk.app
The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" UserInfo={_LSLine=3762, _LSFunction=_LSOpenStuffCallLocal}"
The text was updated successfully, but these errors were encountered: