I'm trying to add a dependency on a CocoaPod with custom cinterop options, as described here. I want cinterop to pass "-fmodules" and "-fcxx-modules" to the compiler, and so I'm using the following bit inside the cocoapods block of my build.gradle.kts file:
Thats unfortunate. So, as was suggested in the comments of that post, it seems like my only option to fork the Pod's git repo and replace all the uses of
@import
with
#import
, is this correct? Are there plans to support the "-fmodules" flag in the future?
v
Viacheslav Kormushkin
10/22/2021, 9:25 PM
Correct, for swift pods it may be also required to
#import
all `@import`s from generated objc header to the pod umbrella framework.
As for the -fmodules support, it definitely will be added in future but unfortunately I don’t have any specific dates for it