diff --git a/templates/ios-make/project.yml b/templates/ios-make/project.yml index fc7211a..50c4921 100644 --- a/templates/ios-make/project.yml +++ b/templates/ios-make/project.yml @@ -20,11 +20,11 @@ name: {{=it.product.bundleName}} targets: - {{=it.product.bundleName}}: + {{=it.product.bundleName}}: {{?it.ios_make.supportedDestinations}} - supportedDestinations: {{=Array.isArray(it.ios_make.supportedDestinations) ? "[" + it.ios_make.supportedDestinations.toString() + "]" : it.ios_make.supportedDestinations}} + supportedDestinations: {{=Array.isArray(it.ios_make.supportedDestinations) ? "[" + it.ios_make.supportedDestinations.toString() + "]" : it.ios_make.supportedDestinations}} {{??}} - platform: [iOS] + platform: [iOS] {{?}} deploymentTarget: "{{=it.ios_make.deploymentTarget}}" type: application @@ -39,24 +39,24 @@ targets: PRODUCT_BUNDLE_IDENTIFIER: {{=it.ios.productBundleIdentifier}} SWIFT_OBJC_BRIDGING_HEADER: src/app-Bridging-Header.h {{?it.ios_make.headerSearchPaths}} - HEADER_SEARCH_PATHS: {{~it.ios_make.headerSearchPaths :p}} - - {{=p}}{{~}} + HEADER_SEARCH_PATHS: {{~it.ios_make.headerSearchPaths :p}} + - {{=p}}{{~}} {{?}} - info: - path: Info.plist + info: + path: Info.plist {{?(it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length > 0) || it.ios_make.infoProperties || it.ios_make.uiLaunchScreen}} - properties: + properties: {{?it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length > 0}} - NSMicrophoneUsageDescription: Need audio input for processing sound + NSMicrophoneUsageDescription: Need audio input for processing sound {{?}} {{?it.ios_make.infoProperties}} {{~it.ios_make.infoProperties :p}} - {{=p.key}}: {{=Array.isArray(p.value) ? "[" + p.value.toString() + "]" : p.value}} + {{=p.key}}: {{=Array.isArray(p.value) ? "[" + p.value.toString() + "]" : p.value}} {{~}} {{?}} {{?it.ios_make.launchScreen}} - UILaunchScreen: - UIColorName: {{=it.ios_make.launchScreen.colorName}} - UIImageName: {{=it.ios_make.launchScreen.imageName}} + UILaunchScreen: + UIColorName: {{=it.ios_make.launchScreen.colorName}} + UIImageName: {{=it.ios_make.launchScreen.imageName}} {{?}} {{?}}