Files
raspberry/iOS/project.yml
2022-05-27 20:21:01 +03:00

159 lines
5.7 KiB
YAML

name: Wallet
options:
bundleIdPrefix: {{BUNDLE_ID_PREFIX}}
defaultConfig: {{defaultConfig}}
deploymentTarget:
iOS: "13.0"
include:
- packages.yml
targets:
Wallet:
scheme:
storeKitConfiguration: ./Assets/Configuration.storekit
type: application
platform: iOS
name: {{TARGET_NAME}}
sources:
- path: ./Wallet
name: Wallet
- path: ./Vendors
name: Vendors
- path: ./Assets
name: Assets
templates: [Shared]
entitlements:
path: ./Wallet/Wallet.entitlements
properties:
aps-environment: development
com.apple.developer.devicecheck.appattest-environment: development
com.apple.developer.associated-domains:
- applinks:paycashonline.test-app.link
- applinks:paycashonline-alternate.test-app.link
- applinks:paycashonline-alternate.app.link
- applinks:paycashonline.app.link
templates: [Shared]
settings:
base:
CURRENT_PROJECT_VERSION: 12
MARKETING_VERSION: "1.0.0"
PRODUCT_BUNDLE_IDENTIFIER: {{APPLICATION_IDENTIFIER}}
CODE_SIGN_ENTITLEMENTS: ./Wallet/Wallet.entitlements
CODE_SIGN_IDENTITY: "{{CODE_SIGN_IDENTITY}}"
CODE_SIGN_STYLE: Manual
TARGETED_DEVICE_FAMILY: 1
ASSETCATALOG_COMPILER_APPICON_NAME: "AppIcon"
DEVELOPMENT_TEAM: "{{DEVELOPMENT_TEAM}}"
PRODUCT_NAME: "$(TARGET_NAME)"
PROVISIONING_PROFILE_SPECIFIER: "{{PROVISIONING_PROFILE_SPECIFIER}}"
LD_RUNPATH_SEARCH_PATHS:
- "$(inherited)"
- "@executable_path/Frameworks"
# ENABLE_BITCODE: NO
OTHER_LDFLAGS: "-ObjC"
SWIFT_OBJC_BRIDGING_HEADER: "./Vendors/eos-swift/microecc/PayCash-Bridging-Header.h"
configs:
debug:
ENABLE_SWIFTLINT: YES
SWIFT_ACTIVE_COMPILATION_CONDITIONS:
- {{SWIFT_ACTIVE_COMPILATION_CONDITIONS}}
release:
ENABLE_SWIFTLINT: YES
SWIFT_ACTIVE_COMPILATION_CONDITIONS:
- {{SWIFT_ACTIVE_COMPILATION_CONDITIONS}}
info:
path: ./Wallet/Info.plist
properties:
UILaunchStoryboardName: "LaunchScreen"
UIMainStoryboardFile: "Main"
UIAppFonts:
- "Golos-UI_Bold.ttf"
- "Golos-UI_Medium.ttf"
- "Golos-UI_Regular.ttf"
UIRequiredDeviceCapabilities:
- "armv7"
UISupportedInterfaceOrientations:
- "UIInterfaceOrientationPortrait"
UISupportedInterfaceOrientations~ipad:
- "UIInterfaceOrientationPortrait"
- "UIInterfaceOrientationPortraitUpsideDown"
- "UIInterfaceOrientationLandscapeLeft"
- "UIInterfaceOrientationLandscapeRight"
CFBundleDevelopmentRegion: "$(DEVELOPMENT_LANGUAGE)"
CFBundleDisplayName: {{CFBundleDisplayName}}
CFBundleIdentifier: "$(PRODUCT_BUNDLE_IDENTIFIER)"
CFBundleInfoDictionaryVersion: "6.0"
CFBundleName: "$(PRODUCT_NAME)"
CFBundleShortVersionString: "$(MARKETING_VERSION)"
CFBundleURLTypes:
- CFBundleURLName: paycash
CFBundleURLSchemes:
- paycash
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
LSRequiresIPhoneOS: true
CFBundleDevelopmentRegion: "$(DEVELOPMENT_LANGUAGE)"
CFBundleExecutable: "$(EXECUTABLE_NAME)"
CFBundlePackageType: "$(PRODUCT_BUNDLE_PACKAGE_TYPE)"
ITSAppUsesNonExemptEncryption: false
NSAppTransportSecurity:
NSAllowsArbitraryLoads: false
NSExceptionDomains:
paycash.online:
NSExceptionMinimumTLSVersion: "TLSv1.3"
NSIncludesSubdomains: true
NSCameraUsageDescription: "QR Code scan"
NSFaceIDUsageDescription: "Authorize to sign transactions"
NSLocationWhenInUseUsageDescription: "Please give app location permissions to work properly"
NSPhotoLibraryAddUsageDescription: "We need it for saving QR code"
NSPhotoLibraryUsageDescription: "We need it for choosing QR code from library"
UIUserInterfaceStyle: "Light"
branch_key: "key_live_lcU42uN9jgOdBIEPktgZYphjAClg8Q0o"
branch_universal_link_domains:
- "paycashonline.test-app.link"
- "paycashonline-alternate.test-app.link"
- "paycashonline-alternate.app.link"
- "paycashonline.app.link"
dependencies:
- package: Alamofire
- package: AlamofireImage
- package: Apollo
- package: Branch
- package: CryptoSwift
- package: EosioSwift
product: EosioSwift
- package: EosioSwift
product: EosioSwiftAbieosSerializationProvider
- package: EosioSwift
product: EosioSwiftEcc
- package: EosioSwift
product: EosioSwiftSoftkeySignatureProvider
- package: Firebase
product: FirebaseAnalytics
- package: Firebase
product: FirebaseMessaging
- package: IQKeyboardManagerSwift
- package: MarqueeLabel
- package: MessageKit
- package: Reachability
- package: RealmSwift
- package: Resolver
- package: SkeletonView
- package: Starscream
- package: SwiftGraph
- package: OrderedCollections
- sdk: StoreKit.framework
targetTemplates:
Shared:
preBuildScripts:
postBuildScripts:
- script: |
if [ "$ENABLE_SWIFTLINT" == YES ] && which swiftlint >/dev/null ; then
swiftlint --path "${PROJECT_DIR}/Wallet/Sources" lint --config "${PROJECT_DIR}/../Configs/.swiftlint.yml"
else
echo "warning: Проблемы со SwiftLint"
fi
name: "SwiftLint"