ribesg
01/17/2020, 11:50 AMdepends = Foundation
package = framework.MaterialTextFields
language = Objective-C
headers = MaterialTextFields.h MaterialTextFields+Theming.h
compilerOpts = -framework MaterialComponents
linkerOpts = -framework MaterialComponents
My problem is that when I run cinterops I get this error:
Exception in thread "main" java.lang.Error: /Users/ribesg/XcodeProjects/events/Pods/MaterialComponents/components/TextFields/src/Theming/MDCTextInputControllerFilled+MaterialTheming.h:15:9: fatal error: 'MaterialComponents/MaterialContainerScheme.h' file not found
I found that MDCTextInputControllerFilled+MaterialTheming.h
contains this line #import <MaterialComponents/MaterialContainerScheme.h>
and cinterops does not seem to understand it properly. I do have this MaterialContainerScheme.h
file in the context but it’s not in a folder/module/whatever called MaterialComponents
I guess. How do I make this work?Artyom Degtyarev [JB]
01/17/2020, 12:32 PMArtyom Degtyarev [JB]
01/17/2020, 12:35 PMribesg
01/17/2020, 12:39 PMalex009
01/17/2020, 1:59 PMribesg
01/17/2020, 2:24 PMribesg
01/17/2020, 2:26 PMMaterialColorScheme.h
is found and imported successfully but it then still crashes on the next one because it knows MaterialColorScheme.h
but not MaterialComponents/MaterialColorScheme.h
ribesg
01/17/2020, 2:26 PMribesg
01/17/2020, 2:27 PMmodules
in your def
file, what does that do? Maybe I need that?alex009
01/17/2020, 2:28 PMalex009
01/17/2020, 2:29 PMribesg
01/17/2020, 2:32 PMMaterialComponents
framework compiled by cocoapods which is located in the TARGET_BUILD_DIR but I’m trying to cinterops the content of Pods
, not the built frameworks. That’s probably an issueribesg
01/17/2020, 2:43 PMribesg
01/17/2020, 3:00 PM