I thought I could create multiple Kotlin iOS targe...
# ios
d
I thought I could create multiple Kotlin iOS targets to achieve iOS 'flavours' of my library. This appears to work until I also add the
cocoapods
plugin to publish it, which then complains that e.g:
Copy code
This fat framework already has a binary for architecture `x64` (payment_module for target `ios_x64`)
...I guess it's looking to bundle all iOS targets which creates a clash - is there a way to constrain
cocoapods
to only publish one of my targets?
m
It's not directly an answer to your question, but using an XCFramework would achieve what you want, wouldn't it?