Files

71 lines
2.4 KiB
YAML

name: Launcher
options:
bundleIdPrefix: io.privado
attributes:
ORGANIZATIONNAME: Privado
targets:
Launcher:
scheme:
environmentVariables:
COPYRIGHT: Privado Networks AG
type: application
platform: macOS
deploymentTarget: 10.12
name: Launcher
sources:
- path: Sources
- ../Constants/PrivadoConstants.swift
templates: [Shared]
settings:
base:
SKIP_INSTALL: true
CONFIGURATION_BUILD_DIR: ../Build
CODE_SIGN_STYLE: Manual
PRODUCT_BUNDLE_IDENTIFIER: io.privado.main.launcher
ASSETCATALOG_COMPILER_APPICON_NAME: ""
ENABLE_HARDENED_RUNTIME: true
OTHER_CODE_SIGN_FLAGS: --timestamp
INFOPLIST_FILE: "./Info.plist"
SWIFT_VERSION: 5.0
configs:
debug:
ENABLE_SWIFTLINT: YES
DEVELOPMENT_TEAM: S9D2XZUZH2
CODE_SIGN_IDENTITY: "Apple Development: Yuriy Shikin (S9D2XZUZH2)"
PROVISIONING_PROFILE_SPECIFIER: PrivadoDev Launcher
release:
ENABLE_SWIFTLINT: YES
DEVELOPMENT_TEAM: 4D7YV49724
CODE_SIGN_IDENTITY: "Developer ID Application: PRIVADO NETWORKS LLC (4D7YV49724)"
PROVISIONING_PROFILE_SPECIFIER: PrivadoLauncher DeveloperID
info:
path: ./Info.plist
properties:
CFBundleDevelopmentRegion: $(DEVELOPMENT_LANGUAGE)
CFBundleExecutable: $(EXECUTABLE_NAME)
CFBundleIconFile: ""
CFBundleIdentifier: $(PRODUCT_BUNDLE_IDENTIFIER)
CFBundleInfoDictionaryVersion: "6.0"
CFBundleName: $(PRODUCT_NAME)
CFBundlePackageType: $(PRODUCT_BUNDLE_PACKAGE_TYPE)
CFBundleShortVersionString: "2.0"
CFBundleVersion: "1"
LSApplicationCategoryType: public.app-category.utilities
LSBackgroundOnly: true
LSMinimumSystemVersion: $(MACOSX_DEPLOYMENT_TARGET)
NSHumanReadableCopyright: "ⓒ 2022 PrivadoVPN All rights reserved\nLandis + Gyr-Strasse 1, 6300 Zug, Switzerland"
NSPrincipalClass: NSApplication
NSSupportsAutomaticTermination: true
NSSupportsSuddenTermination: true
targetTemplates:
Shared:
postBuildScripts:
- script: |
if [ "$ENABLE_SWIFTLINT" == YES ] && which swiftlint >/dev/null ; then
swiftlint lint --config "${PROJECT_DIR}/../../BuildTools/Configs/.swiftlint.yml"
fi
name: "SwiftLint"