Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Binding .framework to an existing Xamarin.iOS project

$
0
0

Hello

I am currently struggling to bind a precompiled .framework library to an existing Xamarin.iOS project due to fragmented documentation on the said topic. I am fairly new to Xamarin and iOS both, but can understand basics and follow documentation to get things done if it's written well.

My .framework is structured as below:

TestFramework
- Resources
- TestLibrary (.bundle 3rd party library)
- TestFramework.podspec
- TestFramework.framework
- Headers
- TestFramework.h
- Other .h files
- Modules
- TestFramework (binary)
- TestFramework.framework.dYSM

I tried to run the following sharpie command in order to create the API definitions for the framework.

sharpie bind -sdk iphoneos11.1 TestFramework.framework/Headers/TestFramework.h -scope TestFramework.framework/Headers -c -F .

The result of above command is an incomplete ApiDefinition.cs file that doesn't cover all of the .h files in the Headers folder. I can see that the default umbrella header file TestFramework.h 'includes' other header files from that folder.

Any suggestions?

Thanks,

Abhishek


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>