tibia/templates/ios-make/project.yml

59 lines
2.1 KiB
YAML
Raw Normal View History

2024-02-22 11:31:35 +00:00
#
# Tibia
#
# Copyright (C) 2023, 2024 Orastron Srl unipersonale
#
# Tibia is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# Tibia is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Tibia. If not, see <http://www.gnu.org/licenses/>.
#
# File author: Stefano D'Angelo
#
name: {{=it.product.bundleName}}
2024-02-02 15:58:51 +00:00
targets:
{{=it.product.bundleName}}:
2024-03-22 11:31:10 +00:00
{{?it.ios_make.supportedDestinations}}
supportedDestinations: {{=Array.isArray(it.ios_make.supportedDestinations) ? "[" + it.ios_make.supportedDestinations.toString() + "]" : it.ios_make.supportedDestinations}}
{{??}}
2024-02-02 15:58:51 +00:00
platform: [iOS]
2024-03-22 11:31:10 +00:00
{{?}}
deploymentTarget: "{{=it.ios_make.deploymentTarget}}"
2024-02-02 15:58:51 +00:00
type: application
sources:
- path: src
settings:
base:
2024-02-05 15:33:06 +00:00
PRODUCT_BUNDLE_IDENTIFIER: {{=it.ios.productBundleIdentifier}}
2024-02-02 15:58:51 +00:00
SWIFT_OBJC_BRIDGING_HEADER: src/app-Bridging-Header.h
{{?it.ios_make.headerSearchPaths}}
HEADER_SEARCH_PATHS: {{~it.ios_make.headerSearchPaths :p}}
2024-02-02 15:58:51 +00:00
- {{=p}}{{~}}
{{?}}
2024-02-02 15:58:51 +00:00
info:
path: Info.plist
2024-03-22 11:31:10 +00:00
{{?(it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length > 0) || it.ios_make.infoProperties || it.ios_make.uiLaunchScreen}}
2024-02-02 15:58:51 +00:00
properties:
2024-03-21 14:03:52 +00:00
{{?it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length > 0}}
NSMicrophoneUsageDescription: Need audio input for processing sound
{{?}}
2024-03-22 11:31:10 +00:00
{{?it.ios_make.infoProperties}}
2024-03-21 14:03:52 +00:00
{{~it.ios_make.infoProperties :p}}
2024-03-22 11:31:10 +00:00
{{=p.key}}: {{=Array.isArray(p.value) ? "[" + p.value.toString() + "]" : p.value}}
2024-03-21 14:03:52 +00:00
{{~}}
{{?}}
2024-03-22 11:31:10 +00:00
{{?it.ios_make.launchScreen}}
UILaunchScreen:
UIColorName: {{=it.ios_make.launchScreen.colorName}}
UIImageName: {{=it.ios_make.launchScreen.imageName}}
{{?}}
2024-03-21 14:03:52 +00:00
{{?}}