A project designed to make it easy to download cocoapods and generate universal libs and bindings for Xamarin bindings.
HOW TO
-
First add your pods to iOSLibs/Podfile and run pod install or pod update. This will fetch the cocoapods and generate the Pods directory.
-
Under iOSLibsBinding, run Scripts/UniversalLibs.sh. This will generate the fat libraries (for simulator, armv7, arm64) for each pod under iOSLibs/build/universal/{Debug|Release}
-
Then run Scripts/SharpieBind.sh . This will generate the ApiDefinition.cs and StructAndEnums.cs for the pod from headers in iOSLibs/Pods/Header/Public/ and store results under iOSLibsBinding/.
-
Open iOSLibsBinding solution file and import directory with ApiDefinition.cs and StructAndEnums.cs into the iOSLibsBinding project. Also import the generate fat library from iOSLib/build/universal/Release/.a
-
Verify/Modify ApiDefinition per sharpie output.
-
Build library and import iOSLibsBinding project into your other solutions and Enjoy!