Skip to content

Commit

Permalink
Updated README.md file for MAUI projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
Canming Huang committed Jan 3, 2025
1 parent ca01166 commit b9aa364
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 21 deletions.
10 changes: 5 additions & 5 deletions Emgu.TF.Example/Maui.Lite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ To restore the nuget package, in the terminal run this command:
> dotnet restore
To build the Mac OS MAUI App and run it, use this command:
> dotnet build -t:Run -f net8.0-maccatalyst
> dotnet build -t:Run -f net9.0-maccatalyst
To build the iOS MAUI app and run it on a simulator, use this command:
> dotnet build -t:Run -f net8.0-ios
> dotnet build -t:Run -f net9.0-ios
To build the iOS MAUI .ipa file for iOS device, use this command:
> dotnet publish -f net8.0-ios -c Release -r ios-arm64 --self-contained
> dotnet publish -f net9.0-ios -c Release -r ios-arm64 --self-contained
To build the iOS MAUI app and run it on an iOS device, use this command:
> dotnet build -t:Run -f net8.0-ios -c Release -r ios-arm64 --self-contained -p:_DeviceName={YOUR_IOS_DEVICE_UUID}
> dotnet build -t:Run -f net9.0-ios -c Release -r ios-arm64 --self-contained -p:_DeviceName={YOUR_IOS_DEVICE_UUID}
To find the connected iOS device UUID, use this command:
> xcrun xctrace list devices
To build the Android MAUI app, first start up an Android simulator (or connect to an Android device), then use the following command and build and run the Android app:
> dotnet build -t:Run -f net8.0-android
> dotnet build -t:Run -f net9.0-android
For Windows build, you can use Visual Studio on windows.
17 changes: 1 addition & 16 deletions Emgu.TF.Example/Maui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,8 @@ To make sure you have dotnet MAUI workload installed, open the terminal and run
To restore the nuget package, in the terminal run this command:
> dotnet restore
To build the Mac OS MAUI App and run it, use this command:
> dotnet build -t:Run -f net8.0-maccatalyst
To build the iOS MAUI app and run it on a simulator, use this command:
> dotnet build -t:Run -f net8.0-ios
To build the iOS MAUI .ipa file for iOS device, use this command:
> dotnet publish -f net8.0-ios -c Release -r ios-arm64 --self-contained
To build the iOS MAUI app and run it on an iOS device, use this command:
> dotnet build -t:Run -f net8.0-ios -c Release -r ios-arm64 --self-contained -p:_DeviceName={YOUR_IOS_DEVICE_UUID}
To find the connected iOS device UUID, use this command:
> xcrun xctrace list devices
To build the Android MAUI app, first start up an Android simulator (or connect to an Android device), then use the following command and build and run the Android app:
> dotnet build -t:Run -f net8.0-android
> dotnet build -t:Run -f net9.0-android
For Windows build, you can use Visual Studio on windows.

0 comments on commit b9aa364

Please sign in to comment.