Skip to content

Commit 214bc46

Browse files
committed
Update the build config for SWIFT_VERSION = 3.0
1 parent 1f3ed91 commit 214bc46

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ end
1313
post_install do |installer|
1414
installer.pods_project.targets.each do |target|
1515
target.build_configurations.each do |config|
16-
config.build_settings["SWIFT_VERSION"] = "2.3"
16+
config.build_settings["SWIFT_VERSION"] = "3.0"
1717
end
1818
end
1919
end

Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ EXTERNAL SOURCES:
1313
SPEC CHECKSUMS:
1414
ICInputAccessory: 75941a41865c7fab675c9252fd3101b79a7aea62
1515

16-
PODFILE CHECKSUM: 41c0babd8a8e47d9dc4741ac44d6bb453b85139d
16+
PODFILE CHECKSUM: 0d87bbf65bdc7c4668475091d7495d880f7fc618
1717

1818
COCOAPODS: 1.0.1

Rakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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
3838
end
@@ -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
4747
end

0 commit comments

Comments
 (0)