I am attempting to create Xamarin bindings for Google's Material Components for iOS but receive errors regarding missing headers when using Objective Sharpie.
First Step:
sharpie pod init ios MaterialComponents
Result:
Downloading dependencies
Installing MDFInternationalization (1.0.4)
Installing MDFTextAccessibility (1.2.0)
Installing MaterialComponents (48.0.0)
Installing MotionAnimator (2.8.1)
Installing MotionInterchange (1.6.0)
Installing MotionTransitioning (5.0.0)
Second Step:
sharpie pod bind
Result:
build/Release-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MDCFeatureHighlightAccessibilityMutator.h:19:9: fatal error:
'MDFTextAccessibility/MDFTextAccessibility.h' file not found
#import <MDFTextAccessibility/MDFTextAccessibility.h>
I've attempted to copy the missing headers from the other dependent libraries into the MaterialComponents.framework/Headers folder but it still results with this final failure.
/private/var/folders/jb/wcx6dzt15jl5n909kqg52hj00000gn /T/com.xamarin.ObjectiveSharpie/d70c609622ae4bb0b3ceaccfd8613bae.h:1:9: fatal error:
could not build module 'MaterialComponents'
@import MaterialComponents;
How can I get Objective Sharpie to create the bindings when the MaterialComponents piece has references to other libraries?