Commit 4945e7d0 authored by Fabio Pelosin's avatar Fabio Pelosin

[Sample Spec] instructions on how handle pods which support both platforms with different details

parent ff995387
...@@ -185,10 +185,14 @@ Pod::Spec.new do |s| ...@@ -185,10 +185,14 @@ Pod::Spec.new do |s|
# If this Pod runs only on iOS or OS X, then specify that with one of # If this Pod runs only on iOS or OS X, then specify that with one of
# these, or none if it runs on both platforms. # these, or none if it runs on both platforms.
# If the pod runs on both plafroms but presents different deployment
# targets, source files, etc. create two different pods: `#{data[:name]}-iOS'
# and `#{data[:name]}-OSX'.
# #
# s.platform = :ios # s.platform = :ios
# s.platform = :ios, { :deployment_target => "5.0" } # s.platform = :ios, { :deployment_target => "5.0" }
# s.platform = :osx # s.platform = :osx
# s.platform = :osx, { :deployment_target => "10.7" }
# A list of resources included with the Pod. These are copied into the # A list of resources included with the Pod. These are copied into the
# target bundle with a build phase script. # target bundle with a build phase script.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment