Replace the SF Symbol server.rack with the custom KisaniLogoMark extracted into a shared component used by both ConnectView and BackupView. Introduce ConnectStep enum (credentials → folder → ready) in ConnectViewModel. The primary CTA changes label and colour at each step: "Connect" → "Select Destination" → "Get Started". The folder row animates in only after successful authentication; its border goes green once a valid path is chosen. Status message updates live with the current step. Submitting the password field triggers verify(). Rename project.yml name to Kisani so xcodegen produces Kisani.xcodeproj. Co-Authored-By: Kutesir <kutesir@provoc.ug> Co-Authored-By: Sentry <sentry@provoc.ug>
91 lines
2.6 KiB
YAML
91 lines
2.6 KiB
YAML
name: Kisani
|
|
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: Kisani
|
|
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: Kisani 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"
|