1. Open Terminal
- Press Cmd (⌘) + Space, type Terminal, and hit Enter.
2. Navigate to Your Build Output Directory
Your .app
file is likely located in the publish folder within your project directory. Run:
cd /path/to/your/project/bin/Release/net8.0-macos/publish
Replace
/path/to/your/project
with the actual location of your project.3. Run the productbuild
Command
Now, create a .pkg
file:
Replace YourApp.app
with your actual .app
file name.
4. Verify the Output
After running the command, you should see YourApp.pkg
in the same directory.
Let me know if you run into issues! 🚀
No comments:
Post a Comment