Forum Xamarin.iOS

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Objective Sharpie - fatal error: 'map' file not found #include <map>

JohnnyLoJohnnyLo USMember
edited December 2020 in Xamarin.iOS

I want to use sharpie bind to create a ApiDefinitions.cs and StructsAndEnums.cs for a third party ios framework.

But I got fatal error: 'map' file not found #include <map> error from the header file that has line #include <map>. It seems that Objective sharpie is not able to use c++ standard library, even though I can compile the ios project with xcode IDE with no problem.

So how can I tell sharpie to use c++ standard library in the command?

This is the sharpie command I used
sharpie bind \ -output XamarinWideineCDM \ -namespace WideineCDM \ -sdk iphoneos14.2 \ ./widevine_cdm_secured_ios_tmux.framework/Headers/cdm.h \ -scope widevine_cdm_secured_ios_tmux.framework/Headers \ -v -c -F .

And this is the error and my sdk env screenshot.

Thank you for the help

Answers

Sign In or Register to comment.