Commit 2ae6ddfb authored by Luke Redpath's avatar Luke Redpath

Let users specify the deployment target for :iOS platforms so we can automatically set

the right ARCHS. Closes #118 (new feature).
parent b983e3a3
...@@ -48,8 +48,15 @@ module Pod ...@@ -48,8 +48,15 @@ module Pod
# #
# This can be either `:osx` for Mac OS X applications, or `:ios` for iOS # This can be either `:osx` for Mac OS X applications, or `:ios` for iOS
# applications. # applications.
def platform(platform = nil) #
platform ? @platform = Platform.new(platform) : @platform # For iOS applications, you can set the deployment target by passing a :deployment_target
# option, e.g:
#
# platform :ios, :deployment_target => "4.0"
#
# If the deployment target requires it (< 4.3), armv6 will be added to ARCHS.
def platform(platform = nil, options={})
platform ? @platform = Platform.new(platform, options) : @platform
end end
# Specifies a dependency of the project. # Specifies a dependency of the project.
......
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