Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit a169517

Browse files
Auto-merge pull request #7165 from livecodepanos/xcode11_support
Added support for building with Xcode 11 / iOS 13.0 SDK WIP until the prebuilts for iOS 13.0 are ready
2 parents 84b9176 + 70c5ba4 commit a169517

File tree

8 files changed

+61
-14
lines changed

8 files changed

+61
-14
lines changed

Installer/package.txt

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,22 @@ component Runtime.iOS
724724
file ios:iphonesimulator12.1/mobile-disable-ats-template.plist as "DisableATS.plist"
725725
file ios:iphonesimulator12.1/[email protected] as "Default4InchSplash.png" base ios:[email protected]
726726
file ios:iphonesimulator12.1/fontmap as "fontmap"
727+
into "[[ToolsFolder]]/Runtime/iOS/Simulator-13_0" place
728+
executable ios:iphonesimulator13.0/standalone-mobile[[BaseEditionTagLower]].ios-engine as Standalone base ios:iphonesimulator8.2/standalone-mobile[[BaseEditionTagLower]].app/standalone-mobile[[BaseEditionTagLower]]
729+
executable ios:iphonesimulator13.0/revsecurity.ios-extension as RevSecurity base ios:iphonesimulator8.2/revsecurity.dylib
730+
executable ios:iphonesimulator13.0/revpdfprinter.ios-extension as RevPdfPrinter base ios:iphonesimulator8.2/revpdfprinter.dylib
731+
executable ios:iphonesimulator13.0/revzip.ios-extension as RevZip base ios:iphonesimulator8.2/revzip.dylib
732+
executable ios:iphonesimulator13.0/revxml.ios-extension as RevXml base ios:iphonesimulator8.2/revxml.dylib
733+
executable ios:iphonesimulator13.0/revdb.ios-extension as RevDb base ios:iphonesimulator8.2/revdb.dylib
734+
executable ios:iphonesimulator13.0/dbsqlite.ios-extension as DbSqlite base ios:iphonesimulator8.2/dbsqlite.dylib
735+
executable ios:iphonesimulator13.0/dbmysql.ios-extension as DbMysql base ios:iphonesimulator8.2/dbmysql.dylib
736+
file ios:iphonesimulator13.0/mobile-template.plist as "Settings.plist"
737+
file ios:iphonesimulator13.0/mobile-remote-notification-template.plist as "RemoteNotificationSettings.plist"
738+
file ios:iphonesimulator13.0/mobile-url-scheme-template.plist as "URLSchemeSettings.plist"
739+
file ios:iphonesimulator13.0/mobile-splashscreen-template.plist as "SplashscreenSettings.plist"
740+
file ios:iphonesimulator13.0/mobile-disable-ats-template.plist as "DisableATS.plist"
741+
file ios:iphonesimulator13.0/[email protected] as "Default4InchSplash.png" base ios:[email protected]
742+
file ios:iphonesimulator13.0/fontmap as "fontmap"
727743
into "[[ToolsFolder]]/Runtime/iOS/Device-9_2" place
728744
executable ios:iphoneos9.2/standalone-mobile[[BaseEditionTagLower]].ios-engine as Standalone
729745
executable ios:iphoneos9.2/revsecurity.ios-extension as RevSecurity
@@ -804,6 +820,26 @@ component Runtime.iOS
804820
file ios:iphoneos12.1/mobile-disable-ats-template.plist as "DisableATS.plist"
805821
file ios:iphoneos12.1/[email protected] as "Default4InchSplash.png" base ios:[email protected]
806822
file ios:iphoneos12.1/fontmap as "fontmap"
823+
into "[[ToolsFolder]]/Runtime/iOS/Device-13_0" place
824+
executable ios:iphoneos13.0/standalone-mobile[[BaseEditionTagLower]].ios-engine as Standalone base ios:iphoneos9.2/standalone-mobile[[BaseEditionTagLower]].ios-engine
825+
executable ios:iphoneos/revsecurity.ios-extension as RevSecurity base ios:iphoneos9.2/revsecurity.ios-extension
826+
executable ios:iphoneos13.0/revpdfprinter.ios-extension as RevPdfPrinter base ios:iphoneos9.2/revpdfprinter.ios-extension
827+
executable ios:iphoneos13.0/revzip.ios-extension as RevZip base ios:iphoneos9.2/revzip.ios-extension
828+
executable ios:iphoneos13.0/revxml.ios-extension as RevXml base ios:iphoneos9.2/revxml.ios-extension
829+
executable ios:iphoneos13.0/revdb.ios-extension as RevDb base ios:iphoneos9.2/revdb.ios-extension
830+
executable ios:iphoneos13.0/dbsqlite.ios-extension as DbSqlite base ios:iphoneos9.2/dbsqlite.ios-extension
831+
executable ios:iphoneos13.0/dbmysql.ios-extension as DbMysql base ios:iphoneos9.2/dbmysql.ios-extension
832+
file ios:iphoneos13.0/mobile-device-template.plist as "Settings.plist"
833+
file ios:iphoneos13.0/mobile-remote-notification-template.plist as "RemoteNotificationSettings.plist"
834+
file ios:iphoneos13.0/mobile-url-scheme-template.plist as "URLSchemeSettings.plist"
835+
file ios:iphoneos13.0/mobile-splashscreen-template.plist as "SplashscreenSettings.plist"
836+
file ios:iphoneos13.0/template-entitlements.xcent as "Entitlements.xcent"
837+
file ios:iphoneos13.0/template-beta-report-entitlement.xcent as "BetaReportEntitlement.xcent"
838+
file ios:iphoneos13.0/template-remote-notification-entitlements.xcent as "RemoteNotificationEntitlements.xcent"
839+
file ios:iphoneos13.0/template-remote-notification-store-entitlements.xcent as "RemoteNotificationStoreEntitlements.xcent"
840+
file ios:iphoneos13.0/mobile-disable-ats-template.plist as "DisableATS.plist"
841+
file ios:iphoneos13.0/[email protected] as "Default4InchSplash.png" base ios:[email protected]
842+
file ios:iphoneos13.0/fontmap as "fontmap"
807843

808844
////////////////////////////////////////////////////////////////////////////////
809845

@@ -980,6 +1016,8 @@ component TimeZone
9801016
rfolder ios:iphonesimulator11.2/packaged_extensions/com.livecode.library.timezone/code
9811017
into [[ToolsFolder]]/Extensions/com.livecode.library.timezone place
9821018
rfolder ios:iphonesimulator12.1/packaged_extensions/com.livecode.library.timezone/code
1019+
into [[ToolsFolder]]/Extensions/com.livecode.library.timezone place
1020+
rfolder ios:iphonesimulator13.0/packaged_extensions/com.livecode.library.timezone/code
9831021
into [[ToolsFolder]]/Extensions/com.livecode.library.timezone place
9841022
rfolder ios:iphoneos9.2/packaged_extensions/com.livecode.library.timezone/code
9851023
into [[ToolsFolder]]/Extensions/com.livecode.library.timezone place
@@ -988,6 +1026,8 @@ component TimeZone
9881026
rfolder ios:iphoneos11.2/packaged_extensions/com.livecode.library.timezone/code
9891027
into [[ToolsFolder]]/Extensions/com.livecode.library.timezone place
9901028
rfolder ios:iphoneos12.1/packaged_extensions/com.livecode.library.timezone/code
1029+
into [[ToolsFolder]]/Extensions/com.livecode.library.timezone place
1030+
rfolder ios:iphoneos13.0/packaged_extensions/com.livecode.library.timezone/code
9911031
into [[ToolsFolder]]/Extensions/com.livecode.library.timezone place
9921032
rfolder win-x86:packaged_extensions/com.livecode.library.timezone/code
9931033
into [[ToolsFolder]]/Extensions/com.livecode.library.timezone place

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ 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 ?= 9.2 10.2 11.2 12.1
29-
IPHONESIMULATOR_VERSIONS ?= 8.2 9.2 10.2 11.2 12.1
28+
IPHONEOS_VERSIONS ?= 9.2 10.2 11.2 12.1 13.0
29+
IPHONESIMULATOR_VERSIONS ?= 8.2 9.2 10.2 11.2 12.1 13.0
3030
SKIP_IPHONESIMULATOR_VERSIONS ?= 6.1 7.1
3131

3232
IOS_SDKS ?= \

config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@
3131
'x86-android-ndk16r15',
3232
'x86_64-android-ndk16r15',
3333
'universal-mac-macosx10.9', # Minimum deployment target
34+
'universal-ios-iphoneos13.0',
3435
'universal-ios-iphoneos12.1',
3536
'universal-ios-iphoneos11.2',
3637
'universal-ios-iphoneos10.2',
3738
'universal-ios-iphoneos9.2',
39+
'universal-ios-iphonesimulator13.0',
3840
'universal-ios-iphonesimulator12.1',
3941
'universal-ios-iphonesimulator11.2',
4042
'universal-ios-iphonesimulator10.2',

docs/notes-base/platforms.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Currently, the supported versions of Xcode are:
6262
* Xcode 8.2 on MacOS X 10.11
6363
* Xcode 9.2 on MacOS 10.12 (Note: You need to upgrade to 10.12.6)
6464
* Xcode 10.1 on MacOS 10.13 (Note: You need to upgrade to 10.13.4)
65+
* Xcode 11.0 on MacOS 10.14 (Note: You need to upgrade to 10.14.3)
6566

6667
It is also possible to set other versions of Xcode, to allow testing
6768
on a wider range of iOS simulators. For instance, on MacOS 10.12
@@ -75,6 +76,7 @@ We currently support deployment for the following versions of iOS:
7576
* 10.2
7677
* 11.2
7778
* 12.1
79+
* 13.0
7880

7981
## Android
8082

ide-support/revdeploylibraryios.livecodescript

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,14 @@ 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 "8.2,9.2,10.2,11.2,12.1"
21+
return "8.2,9.2,10.2,11.2,12.1,13.0"
2222
end deployUsableIosSdk
2323

2424
// SN-2015-05-01: Return the pair iOS SDK / Xcode for the current MacOS version
2525
function deployGetIphoneOSes
2626
local tList, tMacVersion
2727
put deploySanitizeSystemVersion() into tMacVersion
28-
if tMacVersion < 100800 then
29-
put "6.1,4.6" into tList[1]
30-
else if tMacVersion < 100900 then
31-
put "7.1,5.1" into tList[1]
32-
else if tMacVersion < 101000 then
28+
if tMacVersion < 101000 then
3329
put "8.2,6.2" into tList[1]
3430
else if tMacVersion < 101100 then
3531
put "8.2,6.2" into tList[1]
@@ -44,19 +40,24 @@ function deployGetIphoneOSes
4440
answer error "To use Xcode 9.2, you need to upgrade your Mac to MacOS Sierra 10.12.6"
4541
else if tMacVersion < 101300 then
4642
put "11.2,9.2" into tList[1]
47-
else if tMacVersion < 101302 then
43+
else if tMacVersion < 101304 then
4844
put empty into tList[1]
4945
answer error "To use Xcode 10.1, you need to upgrade your Mac to MacOS High Sierra 10.13.4"
46+
else if tMacVersion < 101400 then
47+
put "12.1,10.1" into tList[1]
48+
else if tMacVersion < 101403 then
49+
put empty into tList[1]
50+
answer error "To use Xcode 11.0, you need to upgrade your Mac to MacOS Mojave 10.14.3"
5051
else
51-
// Xcode 10.1 requires a Mac running Mac OS 10.13.4 or later
52+
// Xcode 11.0 requires a Mac running Mac OS 10.14.3 or later
5253
put "12.1,10.1" into tList[1]
5354
end if
5455

5556
return tList
5657
end deployGetIphoneOSes
5758

5859
function deployGetIosMinimumVersions
59-
return "8.0,8.1,8.2,8.3,8.4,9.0,9.1,9.2,9.3,10.0,10.1,10.2,10.3,11.0,11.1,11.2,11.3,11.4,12.0,12.1"
60+
return "8.0,8.1,8.2,8.3,8.4,9.0,9.1,9.2,9.3,10.0,10.1,10.2,10.3,11.0,11.1,11.2,11.3,11.4,12.0,12.1,13.0"
6061
end deployGetIosMinimumVersions
6162

6263
////////////////////////////////////////////////////////////////////////////////

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=(iPhoneSimulator8.2 iPhoneSimulator9.2 iPhoneSimulator10.2 iPhoneSimulator11.2 iPhoneSimulator12.1 iPhoneOS9.2 iPhoneOS10.2 iPhoneOS11.2 iPhoneOS12.1)
18+
SUBPLATFORMS_ios=(iPhoneSimulator8.2 iPhoneSimulator9.2 iPhoneSimulator10.2 iPhoneSimulator11.2 iPhoneSimulator12.1 iPhoneSimulator13.0 iPhoneOS9.2 iPhoneOS10.2 iPhoneOS11.2 iPhoneOS12.1 iPhoneOS13.0)
1919
SUBPLATFORMS_win32=(v141_static_debug v141_static_release)
2020
SUBPLATFORMS_android=(ndk16r15)
2121

prebuilt/scripts/ios.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,5 @@ checkiOS iphonesimulator11.2 9_2_0 iPhoneSimulator 11.2 "x86_64"
7777
checkiOS iphoneos11.2 9_2_0 iPhoneOS 11.2 "armv7 arm64"
7878
checkiOS iphonesimulator12.1 10_1_0 iPhoneSimulator 12.1 "x86_64"
7979
checkiOS iphoneos12.1 10_1_0 iPhoneOS 12.1 "armv7 arm64"
80+
checkiOS iphonesimulator13.0 11_0_0 iPhoneSimulator 13.0 "x86_64"
81+
checkiOS iphoneos13.0 11_0_0 iPhoneOS 13.0 "armv7 arm64"

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 = ["12.1", "11.2", "10.2", "9.2"]
5-
iphonesimulator_versions = ["12.1", "11.2", "10.2","9.2", "8.2"]
4+
iphoneos_versions = ["13.0", "12.1", "11.2", "10.2", "9.2"]
5+
iphonesimulator_versions = ["13.0", "12.1", "11.2", "10.2","9.2", "8.2"]
66
macosx_versions = ["10.9"]
77

88

0 commit comments

Comments
 (0)