mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[ion/sdl/ios] Add Info.plist attributes to make the AppStore happy
This commit is contained in:
@@ -50,11 +50,16 @@ $(call ios_resource,background.jpg): ion/src/sdl/assets/background.jpg | $$(@D)/
|
||||
$(call ios_resource,Info.plist): ion/src/sdl/ios/Info.plist $(call ios_resource,Assets.car)
|
||||
$(call rule_label,PLUTIL)
|
||||
$(Q) cp $< $@
|
||||
$(Q) plutil -insert "BuildMachineOSBuild" -string "$(IOS_BUILD_MACHINE_OS_BUILD)" $@
|
||||
$(Q) plutil -insert "MinimumOSVersion" -string "$(IOS_MIN_VERSION)" $@
|
||||
$(Q) plutil -insert "DTCompiler" -string "$(IOS_COMPILER)" $@
|
||||
$(Q) plutil -insert "DTPlatformBuild" -string "$(IOS_PLATFORM_BUILD)" $@
|
||||
$(Q) plutil -insert "DTPlatformName" -string "$(IOS_PLATFORM)" $@
|
||||
$(Q) plutil -insert "DTPlatformVersion" -string "$(IOS_PLATFORM_VERSION)" $@
|
||||
$(Q) plutil -insert "DTSDKName" -string "$(IOS_PLATFORM)$(IOS_PLATFORM_VERSION)" $@
|
||||
$(Q) plutil -insert "DTSDKBuild" -string "$(IOS_PLATFORM_BUILD)" $@
|
||||
$(Q) plutil -insert "DTXcode" -string "$(IOS_XCODE_VERSION)" $@
|
||||
$(Q) plutil -insert "DTXcodeBuild" -string "$(IOS_XCODE_BUILD)" $@
|
||||
$(Q) plutil -insert "CFBundleVersion" -string "$(EPSILON_VERSION)" $@
|
||||
$(Q) plutil -insert "CFBundleShortVersionString" -string "$(EPSILON_VERSION)" $@
|
||||
$(Q) $(foreach capability,$(UI_REQUIRED_CAPABILITIES),plutil -insert "UIRequiredDeviceCapabilities.0" -string "$(capability)" $@ ;)
|
||||
|
||||
@@ -4,10 +4,15 @@ EXE = bin
|
||||
IOS_PLATFORM ?= iphoneos
|
||||
IOS_MIN_VERSION = 8.0
|
||||
|
||||
# Variables below will e autoconfigured
|
||||
#
|
||||
# Variables below will be autoconfigured
|
||||
|
||||
IOS_PLATFORM_VERSION = $(shell xcrun --sdk $(IOS_PLATFORM) --show-sdk-version)
|
||||
IOS_PLATFORM_BUILD = $(shell xcrun --sdk $(IOS_PLATFORM) --show-sdk-build-version)
|
||||
IOS_BUILD_MACHINE_OS_BUILD = $(shell sw_vers -buildVersion)
|
||||
# FIXME: Make the following variables actually automatic
|
||||
IOS_XCODE_VERSION = "1010"
|
||||
IOS_XCODE_BUILD = "10B61"
|
||||
IOS_COMPILER = "com.apple.compilers.llvm.clang.1_0"
|
||||
|
||||
BUILD_DIR := $(BUILD_DIR)/$(IOS_PLATFORM)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user