dotnet-xcsync
0.1.0-preview.24509.2
dotnet tool install --global dotnet-xcsync --version 0.1.0-preview.24509.2
dotnet new tool-manifest
dotnet tool install --local dotnet-xcsync --version 0.1.0-preview.24509.2
#tool dotnet:?package=dotnet-xcsync&version=0.1.0-preview.24509.2&prerelease
nuke :add-package dotnet-xcsync --version 0.1.0-preview.24509.2
xcsync is a tool that enables developers to leverage Xcode for managing Apple specific files with .NET projects. The tool generates a temporary Xcode project from a .NET project and synchronizes changes to the Xcode files back to the .NET project.
Supported file types include:
- Asset catalog
- Plist
- Storyboard
- Xib The tool has two commands: generate and sync. Use generate to create an Xcode project from a .NET project and sync to bring changes in the Xcode project back to the .NET project.
Getting Started
Install the tool package using:
dotnet tool install --global dotnet-xcsync
To use the tool with a .NET project that targets iOS, macOS, MacCatalyst, or tvOS Target Framework Monikers (TFM), use the following commands:
Generate and open an Xcode project for a .NET project that uses the project file in the current directory, which supports the net9.0-ios TFM:
dotnet generate -tfm net9.0-ios
Sync changes from a generated Xcode project in the default location (./obj/Xcode) back to a .NET project that supports the net9.0-ios TFM:
dotnet sync --project path/to/maui.csproj -tfm net9.0-ios
Additional Information
Read more about xcsync by visiting the Microsoft Learn site.
Feedback
If you encounter a bug or issues with this package, you can open an Github issue. For more details, see getting support.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last Updated |
---|---|---|
0.1.0-preview.24509.2 | 3,503 | 10/10/2024 |
0.1.0-preview.24508.3 | 320 | 10/8/2024 |
0.1.0-preview.24460.17 | 294 | 9/10/2024 |