1.3.40 users! :man-raising-hand: Can you use gener...
# multiplatform
e
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
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.
👍 1
e
Nice point! How should I add this argument to my cocoapods compiler’s args?
s
Use DSL to get frameworks defined by CocoaPods plugin and add arguments to these ones.
👍 1