Skip to content

Commit

Permalink
pass app.deployment_target to xcodebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
lrz committed Sep 26, 2012
1 parent c832971 commit fca6630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/motion/project/vendor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def build_xcode(platform, opts)
xcopts = ''
xcopts << "-target \"#{target}\" " if target
xcopts << "-scheme \"#{scheme}\" " if scheme
sh "/usr/bin/xcodebuild -project \"#{xcodeproj}\" #{xcopts} -configuration \"#{configuration}\" -sdk #{platform.downcase}#{@config.sdk_version} #{@config.arch_flags(platform)} CONFIGURATION_BUILD_DIR=build build"
sh "/usr/bin/xcodebuild -project \"#{xcodeproj}\" #{xcopts} -configuration \"#{configuration}\" -sdk #{platform.downcase}#{@config.sdk_version} #{@config.arch_flags(platform)} CONFIGURATION_BUILD_DIR=build IPHONEOS_DEPLOYMENT_TARGET=#{@config.deployment_target} build"

# Copy .a files into the platform build directory.
prods = opts.delete(:products)
Expand Down

0 comments on commit fca6630

Please sign in to comment.