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

Commit 2be7eed

Browse files
committed
Merge pull request #26 from keithel/xcode6.1-support
Fix XCode simulator build for XCode 6.1
2 parents 321946a + 77349d9 commit 2be7eed

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/curl_builder/compiler.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ def sdk_version_for(platform)
9292
end
9393

9494
def compilation_flags_for(platform, architecture)
95-
if platform == "iPhoneOS" || platform == "iPhoneSimulator"
95+
if platform == "iPhoneSimulator"
96+
version = "6.0"
97+
min_version = "-miphoneos-version-min=#{version}"
98+
elsif platform == "iPhoneOS"
9699
version = architecture == "arm64" ? "6.0" : "5.0"
97100
min_version = "-miphoneos-version-min=#{version}"
98101
else

0 commit comments

Comments
 (0)