Is there a way to specify a pod dependency fo a specific target? I have this now
Copy code
cocoapods {
...
// only for ios target
pod("Mixpanel")
// only for tvos
pod("Mixpanel/tvOS")
}
I saw it’s possible to add a cocoapods in each target block, but that means a lot of redundant code
y
Yaroslav Chernyshev [JB]
12/11/2020, 5:17 PM
Hi @jean! Unfortunately there isn't. If this feature might be useful, create feature request on https://kotl.in/issue and it will appear in future releases.
j
jean
12/11/2020, 5:23 PM
I’m running in this error when building
Copy code
The platform of the target `App-iOS` (iOS 8.0) is not compatible with `Mixpanel/tvOS (3.1.1)`, which does not support `iOS`.
Is there a way to fix it?
jean
12/11/2020, 5:24 PM
even though I added the cocoapod block in each target with the correct pod command