Possibly outdated Quick Start GuideΒ #512
Description
Steps to Reproduce
I suspect that this is just the documentation that isn't up to date.
I am referring to the QuickStart guide: https://github.com/xamarin/binding-tools-for-swift/blob/main/QUICKSTART.md
mono /Users/ghislainleblanc/Documents/BindingTools.nosync/binding-tools-for-swift/type-o-matic/bin/Debug/type-o-matic.exe --swift-lib-path=./SwiftToolchain-v1-28e007252c2ec7217c7d75bd6f111b9c682153e3/build/Ninja-ReleaseAssert/swift-macosx-x86_64/lib/swift/ --generate=csharp --namespace=MoveSDKMediaPlayer --xamglue-framework=./swiftglue/bin/Debug/iphone/FinalProduct/XamGlue.framework -C MoveSDKMediaPlayer.framework/
Expected Behavior
Should do C# bindings.
Actual Behavior
WARNING: The following extra parameters will be ignored: '-C,MoveSDKMediaPlayer.framework/'
Environment
=== Visual Studio Community 2019 for Mac ===
Version 8.8.5 (build 18)
Installation UUID: cc48e5df-1fb0-4c99-8d3c-1840fee0f763
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638)
Package version: 612000090
=== Mono Framework MDK ===
Runtime:
Mono 6.12.0.90 (2020-02/d3daacdaa80) (64-bit)
Package version: 612000090
=== Roslyn (Language Service) ===
3.8.0-5.20519.18+4c195c3ac1974edcefa76774d7a59a2350ec55fa
=== NuGet ===
Version: 5.8.0.6860
=== .NET Core SDK ===
SDK: /usr/local/share/dotnet/sdk/5.0.102/Sdks
SDK Versions:
5.0.102
5.0.101
3.1.405
3.1.404
MSBuild SDKs: /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/Sdks
=== .NET Core Runtime ===
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
5.0.2
5.0.1
3.1.11
3.1.10
=== .NET Core 3.1 SDK ===
SDK: 3.1.405
=== Xamarin.Profiler ===
Version: 1.6.15.68
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Updater ===
Version: 11
=== Apple Developer Tools ===
Xcode 12.1 (17222)
Build 12A7403
=== Xamarin.Mac ===
Version: 6.22.1.26 (Visual Studio Community)
Hash: 1dc78db1a
Branch: d16-8-xm
Build date: 2020-09-18 17:30:35-0400
=== Xamarin.iOS ===
Version: 13.18.2.1 (Visual Studio Community)
Hash: 29c4ea731
Branch: d16-6
Build date: 2020-05-26 17:03:05-0400
=== Xamarin Designer ===
Version: 16.8.0.510
Hash: 44e3f3ce9
Branch: remotes/origin/d16-8
Build date: 2020-12-10 00:06:14 UTC
=== Xamarin.Android ===
Not Installed
=== Microsoft OpenJDK for Mobile ===
Java SDK: Not Found
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
=== Android SDK Manager ===
Version: 16.8.0.32
Hash: 01a7774
Branch: remotes/origin/d16-8
Build date: 2020-12-10 00:32:24 UTC
=== Android Device Manager ===
Version: 16.8.0.46
Hash: 0a81419
Branch: remotes/origin/d16-8
Build date: 2020-12-10 00:32:44 UTC
=== Build Information ===
Release ID: 808050018
Git revision: e83d51ec050ffcdd573462fc1889b58cfe1a5ad5
Build date: 2021-01-07 14:45:50-05
Build branch: release-8.8
Xamarin extensions: e83d51ec050ffcdd573462fc1889b58cfe1a5ad5
=== Operating System ===
Mac OS X 10.16.0
Darwin 20.2.0 Darwin Kernel Version 20.2.0
Wed Dec 2 20:39:59 PST 2020
root:xnu-7195.60.75~1/RELEASE_X86_64 x86_64
Build Logs
// This file is generated by a robot. Do not edit. Beep boop.
#if __IOS__
using SwiftRuntimeLibrary;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace SwiftRuntimeLibrary.SwiftMarshal
{
internal class XamGlueMetadata
{
internal static List<Type> csImportTypes =
new List<Type>() { };
public static unsafe bool GetSwiftType (Type t, out SwiftMetatype md) {
using (var swiftStr = new SwiftString (t.FullName)) {
return SwiftCore.GetEnumMetadataByName (swiftStr.SwiftData, out md);
}
}
internal static Dictionary<Type, SwiftMetatype> csImportMeta = null;
internal static bool TryGetImportedMetadata (Type cSharpType, out SwiftMetatype md) {
if (csImportMeta == null) {
csImportMeta = new Dictionary<Type, SwiftMetatype> (csImportTypes.Count);
foreach (var t in csImportTypes) {
SwiftMetatype meta;
GetSwiftType(t, out meta);
csImportMeta [t] = meta;
}
}
return csImportMeta.TryGetValue (cSharpType, out md);
}
}
}