Avalonia icon indicating copy to clipboard operation
Avalonia copied to clipboard

Notes: ios development from windows

Open danwalmsley opened this issue 1 year ago • 1 comments

the instructions here are missing a lot of information:

https://github.com/dotnet/docs-maui/blob/main/docs/ios/pair-to-mac.md

Mac needs to have mono installed, installed using environment menu on rider.

Mac needs to have xamarin sdk installed (I think) installed using rider.

ios workload needs to be installed both on the windows machine and the mac and need to be same sdk and workload versions

dotnet workload install ios

danwalmsley avatar Aug 31 '22 11:08 danwalmsley

As usual MSFT break the sdk each build:

6.0.400 sdk on windows, ios workload gives you version: 15.4.446-ci.-release-6-0-4xx.446

but on osx, it gives 15.4.447 (they are not compatible)

0>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\15.4.446-ci.-release-6-0-4xx.446\tools\msbuild\iOS\Xamarin.Shared.targets(1707,3): Error : Could not find Microsoft.iOS in /usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/15.4.446-ci.-release-6-0-4xx.446/.

workaround by copying the macos sdk version folder and renaming to match the windows one. (this looks like msft published a nightly build or something)

danwalmsley avatar Aug 31 '22 11:08 danwalmsley