alexsorokoletov / objc-automatic

[Not supported anymore] Automation tool to bind CocoaPods to NuGet packages for Xamarin.iOS
45 stars 15 forks source link

Quantcast-Measure Binding #16

Open ryanherman opened 6 years ago

ryanherman commented 6 years ago

The issue comes up after I execute sh bind POD=Quantcast-Measure and I cd into the bindings and try and sh Quantcast_Measure.build.sh

I do not know enough about linking bindings to understand the issue. Could you let me know?


/Users/ryan/Desktop/objc-automatic-master/bindings/Quantcast_Measure/ApiDefinitions.cs(383,44): error CS0246: The type or namespace name `IQuantcastEventLogger' could not be found. Are you missing an assembly reference? [/Users/ryan/Desktop/objc-automatic-master/bindings/Quantcast_Measure/Quantcast_Measure.csproj]```
alexsorokoletov commented 6 years ago

Hi @ryanherman Hard to tell from this one line. It is very common in Xamarin iOS bindings to require some manual interaction.

There is a good list of threads in Xamarin forums here: https://forums.xamarin.com/categories/ObjectiveSharpie

Also, here are few other resources I used over time to bind iOS libraries

In your case I would see where the IQuantcastEventLogger or QuantcastEventLogger is used and draw decision from there. Might be enough to create an empty interface in the beginning of the file, might be also something that you have to comment or reference.

I wish I had a better answer for you but each library is different. Good news is that once you fight that trouble you will not need to get back to this issue ever again.

Let us know how you solved it, other people might be battling same issue