From e9f8499d56d4a7d19b34b60a18faff3f74d537c6 Mon Sep 17 00:00:00 2001 From: hewig <360470+hewigovens@users.noreply.github.com> Date: Sun, 2 Jun 2019 14:00:10 +0800 Subject: [PATCH] set iOS deployment target to 11 (#481) --- TrustWalletCore.podspec | 2 +- cmake/ios.toolchain.cmake | 2 +- tools/ios-release | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TrustWalletCore.podspec b/TrustWalletCore.podspec index 3f5f54c074a..2f3080962a4 100644 --- a/TrustWalletCore.podspec +++ b/TrustWalletCore.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.license = 'MIT' s.authors = { 'Alejandro Isaza' => 'al@isaza.ca' } - s.ios.deployment_target = '10.0' + s.ios.deployment_target = '11.0' s.osx.deployment_target = '10.12' s.swift_version = '5.0' diff --git a/cmake/ios.toolchain.cmake b/cmake/ios.toolchain.cmake index 0c62ab2975a..67bae899b4d 100644 --- a/cmake/ios.toolchain.cmake +++ b/cmake/ios.toolchain.cmake @@ -408,7 +408,7 @@ set(CMAKE_C_FLAGS "${XCODE_IOS_PLATFORM_VERSION_FLAGS} ${BITCODE} -fobjc-abi-version=2 ${FOBJC_ARC} ${CMAKE_C_FLAGS}") # Hidden visibilty is required for C++ on iOS. set(CMAKE_CXX_FLAGS -"${XCODE_IOS_PLATFORM_VERSION_FLAGS} ${BITCODE} ${VISIBILITY} -fvisibility-inlines-hidden -fobjc-abi-version=2 -fno-aligned-allocation ${FOBJC_ARC} ${CMAKE_CXX_FLAGS}") +"${XCODE_IOS_PLATFORM_VERSION_FLAGS} ${BITCODE} ${VISIBILITY} -fvisibility-inlines-hidden -fobjc-abi-version=2 ${FOBJC_ARC} ${CMAKE_CXX_FLAGS}") set(CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS} -DNDEBUG -Os -ffast-math ${BITCODE} ${CMAKE_CXX_FLAGS_MINSIZEREL}") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS} -DNDEBUG -O2 -g -ffast-math ${BITCODE} ${CMAKE_CXX_FLAGS_RELWITHDEBINFO}") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} -DNDEBUG -O3 -ffast-math ${BITCODE} ${CMAKE_CXX_FLAGS_RELEASE}") diff --git a/tools/ios-release b/tools/ios-release index db3e5bfbda9..ae60ab1fbaf 100755 --- a/tools/ios-release +++ b/tools/ios-release @@ -43,7 +43,7 @@ Pod::Spec.new do |s| s.license = 'MIT' s.authors = { 'Alejandro Isaza' => 'al@isaza.ca' } - s.ios.deployment_target = '10.0' + s.ios.deployment_target = '11.0' s.osx.deployment_target = '10.12' s.swift_version = '5.0' @@ -69,7 +69,7 @@ Pod::Spec.new do |s| s.pod_target_xcconfig = { 'ARCHS[sdk=iphonesimulator*]' => '$(ARCHS_STANDARD_64_BIT)' } - s.dependency 'SwiftProtobuf', '~> 1.3.0' + s.dependency 'SwiftProtobuf', '~> 1.5.0' end PODSPEC file = File.new('build/TrustWalletCore.podspec', 'w')