Thread
#multiplatform
    e

    EnricCamarero

    3 years ago
    1.3.40 users! 🙋‍♂️ Can you use generics for swift when compiling your .frameworks using the cocoapods integration? Compiling without it works great but it doesn’t when integrating with cocoapods. Any ideas? 🤷‍♂️
    s

    svyatoslav.scherbina

    3 years ago
    It is possible that you add
    -Xobjc-generics
    argument to a wrong framework. CocoaPods plugin defines its own frameworks internally, so if you define a framework while trying to pass the compiler argument to it, then it might be the case.
    e

    EnricCamarero

    3 years ago
    Nice point! How should I add this argument to my cocoapods compiler’s args?
    s

    svyatoslav.scherbina

    3 years ago
    Use DSL to get frameworks defined by CocoaPods plugin and add arguments to these ones.