Skip to content

Commit

Permalink
Moving destination argument iOS spec target
Browse files Browse the repository at this point in the history
  • Loading branch information
jdewind committed Mar 24, 2015
1 parent cee66c5 commit 95b41ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace :artifact do

desc "Build iOS Framework"
task :ios => :clean do
system_or_exit(%Q[#{xcodebuild_executable} -project #{PROJECT_NAME}.xcodeproj -target Objection-iOS -configuration Release build -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest'] , nil)
system_or_exit(%Q[#{xcodebuild_executable} -project #{PROJECT_NAME}.xcodeproj -target Objection-iOS -configuration Release build] , nil)
end

require 'rake/clean'
Expand Down Expand Up @@ -78,6 +78,6 @@ namespace :specs do
task :ios do
stdout = File.join(ENV['CC_BUILD_ARTIFACTS'], "build_uispecs.output") if (ENV['IS_CI_BOX'])
ENV["TEST_AFTER_BUILD"] = "Yes"
system_or_exit(%Q[#{xcodebuild_executable} -project #{PROJECT_NAME}.xcodeproj -scheme #{UI_SPECS_TARGET_NAME} -sdk iphonesimulator -configuration #{CONFIGURATION} test ], stdout)
system_or_exit(%Q[#{xcodebuild_executable} -project #{PROJECT_NAME}.xcodeproj -scheme #{UI_SPECS_TARGET_NAME} -sdk iphonesimulator -configuration #{CONFIGURATION} -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' test ], stdout)
end
end

0 comments on commit 95b41ca

Please sign in to comment.