Trying to set different source value for ios
and osx
in a podspec like so:
s.ios.source = {
:http => 'https://developer.spotify.com/download/libspotify/libspotify-12.1.64-iOS-universal.zip'
}
s.osx.source = {
:http => 'https://developer.spotify.com/download/libspotify/libspotify-12.1.45-Darwin-universal.zip'
}
But getting the error message:
undefined method `source='
Seems like platform-specific s.ios.source
and s.osx.source
is not supported?
How can I specify platform-specific source?
To do this you would need to create multiple podspecs. For example you could have a spotify
and spotify-osx
.