0

I'm trying to bind a framework into my Xamarin iOS project using this command:

sharpie bind -output FrameworkName -namespace FrameworkName -sdk iphoneos13.2 -scope Headers FrameworkName.framework/Headers/HeaderFile.h -c IHeaders -arch arm64

I got this error:

System.Exception: Unsupported clang availability platform: 'macCatalyst'

I have the latest Mac OS Catalina, the latest XcCode version 11.3.1, and the 3.4.0 Sharpie version.

Is there a way to solve this without downgrading the OS?

hanaa
  • 385
  • 6
  • 30

1 Answers1

0

About Mac Catalyst , you can have a check whehther library project select this option : Mac (requires macOS 10.15)

enter image description here

If so unselect it , and rebuild project to use sharpie binding .

Junior Jiang
  • 12,430
  • 1
  • 10
  • 30