Showing posts with label Mac. Show all posts
Showing posts with label Mac. 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! 🚀

Tuesday, April 30, 2024

If you’re using Visual Studio to build your .NET MAUI app on a Mac, locating the IPA (iOS App Package) file can be a bit tricky

 If you’re using Visual Studio to build your .NET MAUI app on a Mac, locating the IPA (iOS App Package) file can be a bit tricky. Let’s explore where you can find it:

  1. Build Server Location:

    • When building a .NET MAUI app with a Mac as a build server, the “Show IPA File on Build Server” option in Visual Studio is grayed out.

    • However, you can still find the IPA file on the Mac.

    • Navigate to the following directory on your Mac:


~/Library/Caches/Xamarin/mtbs/builds

    • Replace ~ with your user’s home directory.

    • Keep in mind that the user’s Library folder is hidden by default. You can either:

      • Show hidden files using Cmd + Shift + . in Finder.
      • Navigate through the terminal or Finder’s “Go to folder…” option using Cmd + Shift + G.
  1. IPA File Location:

    • Inside the builds folder, you’ll find the generated IPA files corresponding to your .NET MAUI builds.


Remember that the ~/Library/Caches/Xamarin/mtbs/builds directory contains the IPA files created during the build process. If you encounter any issues or don’t see the expected files, double-check the path and ensure that you’re looking in the correct location.

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...