praeclarum / Praeclarum.MacCatalyst

Convert your Xamarin.iOS apps to Mac Catalyst apps by adding this nuget.
MIT License
62 stars 1 forks source link

Praeclarum.MacCatalyst.targets(19, 3): clang: error: invalid version number in '-target x86_64-apple-ios13.0-macabi' #9

Open winnicki opened 2 years ago

winnicki commented 2 years ago

I'm getting this error when compiling and in Sdk/Terminal.cs I see

public static Task<string> ClangAsync (string arguments, bool throwOnError = true, bool showOutput = true, bool showError = true, string? cd = null) =>
            ExecAsync (CLANG, "-target x86_64-apple-ios13.0-macabi " + arguments,
                       throwOnError: throwOnError, showOutput: showOutput, showError: showError, cd: cd);

I don't fully understand why it's failing for me but I saw elsewhere that people had to update it to 13.1. Anybody else having this issue?

XCode Version 13.4.1 (13F100) app is targeting min of iOS 13 Building on an M1 with Mac OS 12.2.1

winnicki commented 2 years ago

Nevermind, it looks like there is official support now: https://github.com/xamarin/xamarin-macios/wiki/.NET-release-notes-Xcode-13.3