@@ -25,14 +25,14 @@ namespace :example do
2525 desc "Build the example project"
2626 task :build , [ :os ] do |t , args |
2727 version = args [ :os ] || "latest"
28- sh %(xcodebuild -workspace ICInputAccessory.xcworkspace -scheme Example -sdk iphonesimulator -destination "name=iPhone 5 ,OS=#{ version } " clean build | xcpretty -c && exit ${PIPESTATUS[0]})
28+ sh %(xcodebuild -workspace ICInputAccessory.xcworkspace -scheme Example -sdk iphonesimulator -destination "name=iPhone 6s ,OS=#{ version } " clean build | xcpretty -c && exit ${PIPESTATUS[0]})
2929 exit $?. exitstatus if not $?. success?
3030 end
3131
3232 desc "Run the UI tests in the example project"
3333 task :test , [ :os ] do |t , args |
3434 version = args [ :os ] || "latest"
35- sh %(xcodebuild -workspace ICInputAccessory.xcworkspace -scheme Example -sdk iphonesimulator -destination "name=iPhone 6 ,OS=#{ version } " clean test | xcpretty -c && exit ${PIPESTATUS[0]})
35+ sh %(xcodebuild -workspace ICInputAccessory.xcworkspace -scheme Example -sdk iphonesimulator -destination "name=iPhone 6s ,OS=#{ version } " clean test | xcpretty -c && exit ${PIPESTATUS[0]})
3636 exit $?. exitstatus if not $?. success?
3737 end
3838end
@@ -41,7 +41,7 @@ namespace :framework do
4141 desc "Build the framework project"
4242 task :build , [ :os ] do |t , args |
4343 version = args [ :os ] || "latest"
44- sh %(xcodebuild -project ICInputAccessory.xcodeproj -scheme ICInputAccessory-iOS -sdk iphonesimulator -destination "name=iPhone 5 ,OS=#{ version } " clean build | xcpretty -c && exit ${PIPESTATUS[0]})
44+ sh %(xcodebuild -project ICInputAccessory.xcodeproj -scheme ICInputAccessory-iOS -sdk iphonesimulator -destination "name=iPhone 6s ,OS=#{ version } " clean build | xcpretty -c && exit ${PIPESTATUS[0]})
4545 exit $?. exitstatus if not $?. success?
4646 end
4747end
0 commit comments