This repository was archived by the owner on Aug 31, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +57
-9
lines changed
Expand file tree Collapse file tree 5 files changed +57
-9
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ read SDK_MAJORVERSION SDK_MINORVERSION <<< ${SDK_NAME// [^0-9]/ }
4+
35set -e
46
57case " $1 " in
68 * -community.lcext)
7- DEPS_FILE=" ${SRCROOT} /standalone.ios"
9+ if [[ $SDK_MAJORVERSION -lt 14 ]] ; then
10+ DEPS_FILE=" ${SRCROOT} /standalone.ios"
11+ else
12+ DEPS_FILE=" ${SRCROOT} /standalone14.ios"
13+ fi
814 ;;
915 * -commercial.lcext)
10- DEPS_FILE=" ${SRCROOT} /../livecode/engine/standalone.ios"
16+ if [[ $SDK_MAJORVERSION -lt 14 ]] ; then
17+ DEPS_FILE=" ${SRCROOT} /../livecode/engine/standalone.ios"
18+ else
19+ DEPS_FILE=" ${SRCROOT} /../livecode/engine/standalone14.ios"
20+ fi
1121 ;;
1222esac
1323
Original file line number Diff line number Diff line change 289289
290290 # Forces all dependencies to be linked properly
291291 'type' : 'shared_library' ,
292+
293+ 'conditions' :
294+ [
295+ [
296+ '("11" not in target_sdk) and ("12" not in target_sdk) and ("13" not in target_sdk)' ,
297+ {
298+ 'variables' :
299+ {
300+ 'deps_file' : '${SRCROOT}/standalone14.ios' ,
301+ },
302+ },
303+ {
304+ 'variables' :
305+ {
306+ 'deps_file' : '${SRCROOT}/standalone.ios' ,
307+ },
308+ }
309+ ],
310+ ],
292311
293- 'variables' :
294- {
295- 'deps_file' : '${SRCROOT}/standalone.ios' ,
296- },
297-
298312 'xcode_settings' :
299313 {
300314 'DEAD_CODE_STRIPPING' : 'NO' ,
Original file line number Diff line number Diff line change 187187 },
188188 ],
189189 [
190- 'OS == "ios" and target_sdk >= "14.0" ' ,
190+ 'OS == "ios" and ("11" not in target_sdk) and ("12" not in target_sdk) and ("13" not in target_sdk) ' ,
191191 {
192192 'libraries' :
193193 [
Original file line number Diff line number Diff line change @@ -22,4 +22,3 @@ framework EventKit
2222framework EventKitUI
2323framework Security
2424framework WebKit
25- framework AppTrackingTransparency
Original file line number Diff line number Diff line change 1+ library z
2+ framework CoreMedia
3+ framework CoreGraphics
4+ framework QuartzCore
5+ framework AVFoundation
6+ framework AVKit
7+ framework CoreLocation
8+ framework MediaPlayer
9+ framework MessageUI
10+ framework AudioToolbox
11+ framework CFNetwork
12+ framework SystemConfiguration
13+ framework OpenGLES
14+ framework Foundation
15+ framework UIKit
16+ framework CoreText
17+ framework StoreKit
18+ framework CoreMotion
19+ framework AddressBook
20+ framework AddressBookUI
21+ framework EventKit
22+ framework EventKitUI
23+ framework Security
24+ framework WebKit
25+ framework AppTrackingTransparency
You can’t perform that action at this time.
0 commit comments