diff options
author | Rechi <Rechi@users.noreply.github.com> | 2018-02-03 08:00:00 +0100 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2018-02-03 08:00:00 +0100 |
commit | 4020c8649d335d92173dc3232377bed6120d4a1f (patch) | |
tree | f8ee19543669f93502abf5763f6283b4154fde0f | |
parent | b1d31b530a232c1cde3b3c144f3139998128a4ed (diff) |
[ios] bump deployment target to 9.0
-rw-r--r-- | cmake/scripts/ios/ArchSetup.cmake | 2 | ||||
-rw-r--r-- | docs/README.ios.md | 15 | ||||
-rw-r--r-- | tools/depends/configure.ac | 17 |
3 files changed, 7 insertions, 27 deletions
diff --git a/cmake/scripts/ios/ArchSetup.cmake b/cmake/scripts/ios/ArchSetup.cmake index 0808eb286b..bec8a7cdb4 100644 --- a/cmake/scripts/ios/ArchSetup.cmake +++ b/cmake/scripts/ios/ArchSetup.cmake @@ -39,7 +39,7 @@ list(APPEND DEPLIBS "-framework CoreFoundation" "-framework CoreVideo" set(ENABLE_DVDCSS OFF CACHE BOOL "" FORCE) set(ENABLE_OPTICAL OFF CACHE BOOL "" FORCE) -set(CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET "6.0") +set(CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET "9.0") set(CMAKE_XCODE_ATTRIBUTE_TARGETED_DEVICE_FAMILY "1,2") set(CMAKE_XCODE_ATTRIBUTE_INLINES_ARE_PRIVATE_EXTERN OFF) diff --git a/docs/README.ios.md b/docs/README.ios.md index 7c46726e99..8fe639061b 100644 --- a/docs/README.ios.md +++ b/docs/README.ios.md @@ -31,10 +31,8 @@ There are 3 ways to build Kodi for iOS: Kodi for iOS is composed of a main binary with numerous dynamic libraries and codecs that support a multitude of music and video formats. -The minimum version of iOS you need to run(!) Kodi is 6.0 atm. +The minimum version of iOS you need to run(!) Kodi is 9.0 atm. -- On Mavericks (OSX 10.9.x) we recommend using Xcode 6.1. -- On Yosemite (OSX 10.10.x) we recommend using Xcode 6.4. - On El Capitan (OSX 10.11.x) we recommend using Xcode 7.x or Xcode 8.x. - On Sierra (macOS 10.12.x) we recommend using Xcode 8.x. - On High Sierra (macOS 10.13.x) we recommend using Xcode 9.x. @@ -54,10 +52,6 @@ it either from the macOS AppStore (Xcode) or from the Apple Developer Homepage. As far as we know the compilation for iOS should work with the following constellations of Xcode and macOS versions (to be updated once we know more): -1. XCode 6.0.1 against iOS SDK 8.0 on 10.9 (Mavericks) -2. XCode 6.1.0 against iOS SDK 8.1 on 10.10 (Yosemite) -3. XCode 6.3.0 against iOS SDK 8.3 on 10.10 (Yosemite) -4. Xcode 6.4.0 against iOS SDK 8.4 on 10.10 (Yosemite) 5. Xcode 7.x against iOS SDK 9.x on 10.10 (Yosemite) 6. Xcode 7.x against iOS SDK 9.x on 10.11 (El Capitan) 7. Xcode 7.x against iOS SDK 9.x on 10.12 (Sierra) @@ -104,9 +98,9 @@ The dependencies are built into `tools/depends` and installed into **ADVANCED developers only**: If you want to specify an iOS SDK version (if multiple versions are installed) - then append it to the configure line -above. The example below would use the iOS SDK 8.0: +above. The example below would use the iOS SDK 9.0: - ./configure --host=arm-apple-darwin --with-sdk=8.0 + ./configure --host=arm-apple-darwin --with-sdk=9.0 ### 3.3 Compile Kodi binary addons @@ -219,8 +213,7 @@ Xcode doesn't know anything about). This should allow you to deploy Kodi to all non-jailbroken devices which you can deploy normal apps to. In that case (Kodi will be sandboxed like any other app) - all Kodi files are then located in the sandboxed *Documents* folder and can be easily accessed via iTunes file -sharing. Keep in mind that no hardware acceleration will be possible without -jailbreaking when using iOS < Version 8. +sharing. From Xcode7 on this approach is also available for non paying app developers (apple allows self signing from now on). diff --git a/tools/depends/configure.ac b/tools/depends/configure.ac index 458230f025..6e84d644ca 100644 --- a/tools/depends/configure.ac +++ b/tools/depends/configure.ac @@ -416,14 +416,9 @@ case $host in found_sdk_version=[`$use_xcodebuild -showsdks | grep $target_platform | sort | tail -n 1 | awk '{ print $2}'`] use_sdk="${use_sdk:-$found_sdk_version}" sdk_name=$target_platform$use_sdk - platform_min_version="$target_platform-version-min=6.0" + platform_min_version="$target_platform-version-min=9.0" fi case $use_sdk in - 4.*);; - 5.*);; - 6.*);; - 7.*);; - 8.*);; 9.*);; 10.*);; 11.*);; @@ -432,15 +427,7 @@ case $host in ;; esac - # find the matching toolchain - case $use_xcode in - 3.*.* | 4.* | 4.*.*) - use_toolchain="${use_toolchain:-`$use_xcodebuild -version -sdk $sdk_name PlatformPath`/Developer}" - ;; - *) - use_toolchain="${use_xcodepath}/Toolchains/XcodeDefault.xctoolchain" - ;; - esac + use_toolchain="${use_xcodepath}/Toolchains/XcodeDefault.xctoolchain" platform_os="ios" |