Skip to content

Commit 564d4d5

Browse files
committed
Removed support for building against the iOS 10.2 SDK
This patch updates all the relevant files to remove support for building apps against iOS 10.2 SDK.
1 parent 5cbdbaf commit 564d4d5

File tree

8 files changed

+77
-123
lines changed

8 files changed

+77
-123
lines changed

Installer/package.txt

Lines changed: 64 additions & 102 deletions
Large diffs are not rendered by default.

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ EMMAKE ?= emmake
2525

2626
# Some magic to control which versions of iOS we try to build. N.b. you may
2727
# also need to modify the buildbot configuration
28-
IPHONEOS_VERSIONS ?= 10.2 11.2 12.1 13.2 14.4
29-
IPHONESIMULATOR_VERSIONS ?= 10.2 11.2 12.1 13.2 14.4
30-
SKIP_IPHONEOS_VERSIONS ?= 9.2
31-
SKIP_IPHONESIMULATOR_VERSIONS ?= 6.1 7.1 8.2 9.2
28+
IPHONEOS_VERSIONS ?= 11.2 12.1 13.2 14.4
29+
IPHONESIMULATOR_VERSIONS ?= 11.2 12.1 13.2 14.4
30+
SKIP_IPHONEOS_VERSIONS ?= 9.2 10.2
31+
SKIP_IPHONESIMULATOR_VERSIONS ?= 6.1 7.1 8.2 9.2 10.2
3232

3333

3434
IOS_SDKS ?= \

config.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,10 @@
3535
'universal-ios-iphoneos13.2',
3636
'universal-ios-iphoneos12.1',
3737
'universal-ios-iphoneos11.2',
38-
'universal-ios-iphoneos10.2',
3938
'universal-ios-iphonesimulator14.4',
4039
'universal-ios-iphonesimulator13.2',
4140
'universal-ios-iphonesimulator12.1',
4241
'universal-ios-iphonesimulator11.2',
43-
'universal-ios-iphonesimulator10.2',
4442
'x86-win32', # TODO[2017-03-23] More specific ABI
4543
'x86_64-win32',
4644
'js-emscripten-sdk1.35',

docs/notes-base/platforms.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,18 @@ The Mac engine supports:
5959
iOS deployment is possible when running LiveCode IDE on a Mac, and provided Xcode is installed and has been set in LiveCode *Preferences* (in the *Mobile Support* pane).
6060

6161
Currently, the supported versions of Xcode are:
62-
* Xcode 8.2 on MacOS X 10.11
6362
* Xcode 9.2 on MacOS 10.12 (Note: You need to upgrade to 10.12.6)
6463
* Xcode 10.1 on MacOS 10.13 (Note: You need to upgrade to 10.13.4)
6564
* Xcode 11.3 on MacOS 10.14 (Note: You need to upgrade to 10.14.4)
6665
* Xcode 12.4 on MacOS 10.15 and above (Note: You need to upgrade to 10.15.4)
6766

6867
It is also possible to set other versions of Xcode, to allow testing
69-
on a wider range of iOS simulators. For instance, on MacOS 10.12
70-
(Sierra), you can add *Xcode 8.2* in the *Mobile Support* preferences,
71-
to let you test your stack on the *iOS Simulator 10.2*.
68+
on a wider range of iOS simulators. For instance, on MacOS 10.13
69+
(High Sierra), you can add *Xcode 9.2* in the *Mobile Support* preferences,
70+
to let you test your stack on the *iOS Simulator 11.2*.
7271

7372
We currently support building against the following versions of the iOS SDK:
7473

75-
* 10.2 (included in Xcode 8.2)
7674
* 11.2 (included in Xcode 9.2)
7775
* 12.1 (included in Xcode 10.1)
7876
* 13.2 (included in Xcode 11.3)

ide-support/revdeploylibraryios.livecodescript

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ local sDeviceSDKs
1818
-- SN-2015-03-24: [[ Bug 15037 ]] Add a consistent, strict list of the
1919
-- SDKs and device relying on the engines we provide in the shipped version
2020
function deployUsableIosSdk
21-
return "10.2,11.2,12.1,13.2,14.4"
21+
return "11.2,12.1,13.2,14.4"
2222
end deployUsableIosSdk
2323

2424
// SN-2015-05-01: Return the pair iOS SDK / Xcode for the current MacOS version
@@ -28,10 +28,8 @@ function deployGetIphoneOSes
2828
local tList, tMacVersion
2929
put deploySanitizeSystemVersion() into tMacVersion
3030
// Xcode 8.2 can be installed from Mac OSX 10.11.0 onwards
31-
if tMacVersion < 101100 then
32-
answer error "To deploy to an iOS device or simulator, you need to upgrade your Mac to at least Mac OSX 10.11.0"
33-
else if tMacVersion < 101200 then
34-
put "10.2,8.2,10.2" into tList[1]
31+
if tMacVersion < 101200 then
32+
answer error "To deploy to an iOS device or simulator, you need to upgrade your Mac to at least Mac OSX 10.12.0"
3533
else if tMacVersion < 101206 then
3634
put empty into tList[1]
3735
answer error "To use Xcode 9.2, you need to upgrade your Mac to MacOS Sierra 10.12.6"

prebuilt/fetch-libraries.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ LIBS_win32=( Thirdparty OpenSSL Curl ICU CEF )
1515
LIBS_linux=( Thirdparty OpenSSL Curl ICU CEF )
1616
LIBS_emscripten=( Thirdparty ICU )
1717

18-
SUBPLATFORMS_ios=(iPhoneSimulator10.2 iPhoneSimulator11.2 iPhoneSimulator12.1 iPhoneSimulator13.2 iPhoneSimulator14.4 iPhoneOS10.2 iPhoneOS11.2 iPhoneOS12.1 iPhoneOS13.2 iPhoneOS14.4)
18+
SUBPLATFORMS_ios=(iPhoneSimulator11.2 iPhoneSimulator12.1 iPhoneSimulator13.2 iPhoneSimulator14.4 iPhoneOS11.2 iPhoneOS12.1 iPhoneOS13.2 iPhoneOS14.4)
1919
SUBPLATFORMS_win32=(v141_static_debug v141_static_release)
2020
SUBPLATFORMS_android=(ndk16r15)
2121

prebuilt/scripts/ios.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ else
6868
fi
6969

7070
# Detect iOS variants
71-
checkiOS iphonesimulator10.2 8_2_0 iPhoneSimulator 10.2 "i386 x86_64"
72-
checkiOS iphoneos10.2 8_2_0 iPhoneOS 10.2 "armv7 arm64"
7371
checkiOS iphonesimulator11.2 9_2_0 iPhoneSimulator 11.2 "x86_64"
7472
checkiOS iphoneos11.2 9_2_0 iPhoneOS 11.2 "armv7 arm64"
7573
checkiOS iphonesimulator12.1 10_1_0 iPhoneSimulator 12.1 "x86_64"

tools/setup_xcode_sdks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/python
22

33
# Update these lists if you need different SDK versions!
4-
iphoneos_versions = ["14.4", "13.2", "12.1", "11.2", "10.2"]
5-
iphonesimulator_versions = ["14.4", "13.2", "12.1", "11.2", "10.2"]
4+
iphoneos_versions = ["14.4", "13.2", "12.1", "11.2"]
5+
iphonesimulator_versions = ["14.4", "13.2", "12.1", "11.2"]
66
macosx_versions = ["10.9"]
77

88

0 commit comments

Comments
 (0)