Skip to content

Commit fe57ecb

Browse files
committed
ios/tvos: properly set min supported version
1 parent 285220e commit fe57ecb

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.gitlab-ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,18 @@ android-x86-plus:
347347
- .libretro-android-jni-x86
348348
- .core-defs-plus
349349

350+
# iOS
351+
libretro-build-ios-arm64:
352+
extends:
353+
- .libretro-ios-arm64-make-default
354+
- .core-defs-plus
355+
356+
# tvOS
357+
libretro-build-tvos-arm64:
358+
extends:
359+
- .libretro-tvos-arm64-make-default
360+
- .core-defs-plus
361+
350362
################################### CONSOLES #################################
351363
# PlayStation Portable
352364
libretro-build-psp-plus:

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,10 @@ ifeq ($(IOSSDK),)
170170
endif
171171
CFLAGS += -DIOS
172172
CC = cc -arch arm64 -isysroot $(IOSSDK)
173+
MINVERSION = -mappletvos-version-min=11.0
174+
SHARED += $(MINVERSION)
175+
CC += $(MINVERSION)
176+
CXX += $(MINVERSION)
173177

174178
# Theos iOS
175179
else ifeq ($(platform), theos_ios)

0 commit comments

Comments
 (0)