Permalink
Browse files

pass app.deployment_target to xcodebuild

  • Loading branch information...
lrz committed Sep 26, 2012
1 parent c832971 commit fca66307a76d411ebc0569572d56c763afdd21a8
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/motion/project/vendor.rb
@@ -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)

0 comments on commit fca6630

Please sign in to comment.