Platform-specific dependency with CocoaPods

Viewed 265

I'm creating a Podspec and for the macOS target, I'd like to add a dependency. Is there a way I in the Podspec can define a dependency that is only to be included for the macOS platform, and not include it for iOS? (the dependency is not available for iOS, and I've #if'ed around that in my code)

0 Answers
Related