Files
Kisani/project.yml

91 lines
2.6 KiB
YAML
Raw Normal View History

name: NASBackup
options:
bundleIdPrefix: com.albert
deploymentTarget:
iOS: "16.0"
xcodeVersion: "15.0"
createIntermediateGroups: true
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.albert.nasbackup
DEVELOPMENT_TEAM: ""
SWIFT_VERSION: "5.9"
IPHONEOS_DEPLOYMENT_TARGET: "16.0"
CODE_SIGN_STYLE: Automatic
TARGETED_DEVICE_FAMILY: "1,2"
CODE_SIGN_ENTITLEMENTS: NASBackup.entitlements
packages:
SMBClient:
url: https://github.com/kishikawakatsumi/SMBClient
from: "0.3.0"
Citadel:
url: https://github.com/orlandos-nl/Citadel
exactVersion: "0.9.2"
targets:
NASBackup:
type: application
platform: iOS
sources:
- App
- Core
- Services
- Features
- Shared
resources:
- Assets.xcassets
- path: App/PrivacyInfo.xcprivacy
buildPhase: resources
info:
path: App/Info.plist
properties:
CFBundleDisplayName: NASBackup
UILaunchStoryboardName: ""
UISupportedInterfaceOrientations:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
UISupportedInterfaceOrientations~ipad:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
UIApplicationSceneManifest:
UIApplicationSupportsMultipleScenes: true
UISceneConfigurations:
UIWindowSceneSessionRoleApplication:
- UISceneConfigurationName: Default Configuration
UISceneDelegateClassName: $(PRODUCT_MODULE_NAME).SceneDelegate
BGTaskSchedulerPermittedIdentifiers:
- com.albert.nasbackup.backup
- com.albert.nasbackup.refresh
UIBackgroundModes:
- fetch
- processing
NSPhotoLibraryUsageDescription: NASBackup needs access to your photos to back them up to your NAS.
NSFaceIDUsageDescription: Sign in quickly with Face ID.
entitlements:
path: NASBackup.entitlements
properties: {}
dependencies:
- package: SMBClient
product: SMBClient
- package: Citadel
product: Citadel
NASBackupTests:
type: bundle.unit-test
platform: iOS
sources:
- Tests
dependencies:
- target: NASBackup
settings:
base:
TEST_HOST: $(BUILT_PRODUCTS_DIR)/NASBackup.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/NASBackup
BUNDLE_LOADER: $(TEST_HOST)
SWIFT_VERSION: "5.9"
IPHONEOS_DEPLOYMENT_TARGET: "16.0"