From 940a70dc7fc128afc4aa3401a55079e9f2d12be7 Mon Sep 17 00:00:00 2001 From: Andrea Baita Date: Sat, 18 Mar 2017 21:42:56 +0100 Subject: [PATCH] Updated to compile with iOS 10.2, macOS 10.12 --- lib/curl_builder.rb | 4 ++-- lib/curl_builder/compiler.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/curl_builder.rb b/lib/curl_builder.rb index 3b98375..bb2f451 100644 --- a/lib/curl_builder.rb +++ b/lib/curl_builder.rb @@ -60,8 +60,8 @@ module CurlBuilder verbose: false, debug_symbols: false, curldebug: false, - sdk_version: "9.3", - osx_sdk_version: "10.11", + sdk_version: "10.2", + osx_sdk_version: "10.12", libcurl_version: "7.49.1", architectures: %w(i386 armv7 armv7s arm64 x86_64), xcode_home: "/Applications/Xcode.app/Contents/Developer", diff --git a/lib/curl_builder/compiler.rb b/lib/curl_builder/compiler.rb index 3915cfd..c946424 100644 --- a/lib/curl_builder/compiler.rb +++ b/lib/curl_builder/compiler.rb @@ -96,7 +96,7 @@ def compilation_flags_for(platform, architecture) version = "6.0" min_version = "-miphoneos-version-min=#{version}" elsif platform == "iPhoneOS" - version = architecture == "arm64" ? "6.0" : "5.0" + version = "6.0" min_version = "-miphoneos-version-min=#{version}" else min_version = "-mmacosx-version-min=10.7"