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
07/01/2019, 11:59 AM
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
EnricCamarero
07/01/2019, 12:11 PM
Nice point! How should I add this argument to my cocoapods compiler’s args?
s
svyatoslav.scherbina
07/01/2019, 12:40 PM
Use DSL to get frameworks defined by CocoaPods plugin and add arguments to these ones.