Showing posts with label apple. Show all posts
Showing posts with label apple. Show all posts

Friday, February 21, 2025

How to upload app to macOS

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:

productbuild --component YourApp.app /Applications YourApp.pkg

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! 🚀

Wednesday, September 7, 2022

Reset MacBook air user account password

 Try these steps to reset your user account password:

Shut down your MacBook Air .

Press and hold the power button (Touch ID) until the screen says "Loading startup options".

Choose Options, then click Continue.

If you're prompted for an admin password, choose "Forgot all passwords?". If you're prompted to authenticate with your Apple ID, do so to continue.

You should now see a window with four options: Restore from Time Machine, Install macOS, Safari, Disk Utility. Don't choose any of these; instead, go to the menu bar at the top of the screen and click on Utilities. Then, choose Terminal.

Type "resetpassword" without the quotes and hit Enter (Return).

If FileVault is disabled, you should be able to reset your password without issue.

How to upload app to macOS

1. Open Terminal Press Cmd (⌘) + Space , type Terminal , and hit Enter . 2. Navigate to Your Build Output Directory Your .app file is likel...