Skip to content
This repository was archived by the owner on Oct 25, 2022. It is now read-only.

Commit 4e8e428

Browse files
author
Berend Ozceri
committed
Bump minimum iOS version.
1 parent 9680fd0 commit 4e8e428

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

lib/curl_builder/compiler.rb

+2-6
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,8 @@ def sdk_version_for(platform)
9494
end
9595

9696
def compilation_flags_for(platform, architecture)
97-
if platform == "iPhoneSimulator"
98-
version = "6.0"
99-
min_version = "-miphoneos-version-min=#{version}"
100-
elsif platform == "iPhoneOS"
101-
version = architecture == "arm64" ? "6.0" : "5.0"
102-
min_version = "-miphoneos-version-min=#{version}"
97+
if platform == "iPhoneOS" || platform == "iPhoneSimulator"
98+
min_version = "-miphoneos-version-min=6.0"
10399
elsif platform == "AppleTVOS" || platform == "AppleTVSimulator"
104100
min_version = "-mtvos-version-min=9.0"
105101
else

0 commit comments

Comments
 (0)