Initial scaffold — NASBackup iOS app
Full project scaffold: XcodeGen project.yml, Core models/protocols/errors,
SMBService (kishikawakatsumi/SMBClient), SFTPService (Citadel 0.9.2),
PhotoLibraryService, LANMonitor, BackupEngine, BackgroundTaskManager,
all feature UIs (Login, Connect, Browse, Backup, History, Settings),
Shared components and theme. Builds clean with zero errors.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 17:05:04 +03:00
|
|
|
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
|
feat: Kisani rebrand, step-based onboarding flow, dark mode fixes
- Rename app to Kisani in all UI text and Face ID prompt
- Replace flat 2-state RootView with 5-step flow: ConnectView →
LoginView → FolderSetupView → PhotoPermissionView → MainTabView
- Remove NavigationStack from LoginView (was causing nested-stack crash);
drive navigation via ConnectionStore.isSessionActive
- Add FolderSetupView and PhotoPermissionView onboarding screens with
step indicator (2/3, 3/3), spring entrance animations, and UGreen
connection chip
- Fix dark mode button invisibility: PrimaryButtonStyle and PillButtonStyle
now use AppTheme.inkInverse; GhostButtonStyle border uses ink.opacity(0.25)
- Add AppTheme.inkInverse adaptive token (dark bg ink on dark, white on light)
- Add ConnectionStore.isSessionActive (non-persisted) and
onboardingPhotoShown (UserDefaults-persisted)
- Add os_log logging in LoginViewModel at auth start/success/failure
- Remove dead Help button from ConnectView
- UGreenCompatibilityBadge, KeychainStore, SavedConnections, extensions,
PrivacyInfo.xcprivacy, unit test target and test stubs
- AppTheme: full UIColor dynamic provider tokens for dark/light adaptive color
- AppearanceMode enum + segmented picker in SettingsView
- BackupView: enlarged ring, removed options card and linear progress bar
- HistoryView: duration and bytes formatting, improved typography hierarchy
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 16:20:53 +03:00
|
|
|
- path: App/PrivacyInfo.xcprivacy
|
|
|
|
|
buildPhase: resources
|
Initial scaffold — NASBackup iOS app
Full project scaffold: XcodeGen project.yml, Core models/protocols/errors,
SMBService (kishikawakatsumi/SMBClient), SFTPService (Citadel 0.9.2),
PhotoLibraryService, LANMonitor, BackupEngine, BackgroundTaskManager,
all feature UIs (Login, Connect, Browse, Backup, History, Settings),
Shared components and theme. Builds clean with zero errors.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 17:05:04 +03:00
|
|
|
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
|
fix(signing): remove Access Wi-Fi entitlement (unsupported on free teams)
- Drop com.apple.developer.networking.wifi-info from project.yml entitlements
and NSLocationWhenInUseUsageDescription from Info.plist
- SSID detection gracefully returns nil without the capability; all UI handles
nil SSID already via optional chaining
feat: branding, ring polish, sign-out UX, version/support
- LoginView: replace title with "kisani." monospaced wordmark + UGREEN logo,
show username then NAS display name after login
- BackupView: "kisani." + UGREEN logo chip in toolbar; ring color is orange
(in-progress), green (completed), destructive (failed), dim (idle)
- BackupJob: cap progress at min(1.0, ...) to prevent >100% display
- SettingsView sign-out dialog: two actions — "Sign Out" (lock only, keeps NAS)
and "Sign Out & Forget NAS" (full clear); clearer message
- SettingsView ACCOUNT section: App Version v1.0 + Support mailto rows
- AppMenuView: About section with kisani. wordmark, version, support link
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 18:39:35 +03:00
|
|
|
properties: {}
|
Initial scaffold — NASBackup iOS app
Full project scaffold: XcodeGen project.yml, Core models/protocols/errors,
SMBService (kishikawakatsumi/SMBClient), SFTPService (Citadel 0.9.2),
PhotoLibraryService, LANMonitor, BackupEngine, BackgroundTaskManager,
all feature UIs (Login, Connect, Browse, Backup, History, Settings),
Shared components and theme. Builds clean with zero errors.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 17:05:04 +03:00
|
|
|
dependencies:
|
|
|
|
|
- package: SMBClient
|
|
|
|
|
product: SMBClient
|
|
|
|
|
- package: Citadel
|
|
|
|
|
product: Citadel
|
feat: Kisani rebrand, step-based onboarding flow, dark mode fixes
- Rename app to Kisani in all UI text and Face ID prompt
- Replace flat 2-state RootView with 5-step flow: ConnectView →
LoginView → FolderSetupView → PhotoPermissionView → MainTabView
- Remove NavigationStack from LoginView (was causing nested-stack crash);
drive navigation via ConnectionStore.isSessionActive
- Add FolderSetupView and PhotoPermissionView onboarding screens with
step indicator (2/3, 3/3), spring entrance animations, and UGreen
connection chip
- Fix dark mode button invisibility: PrimaryButtonStyle and PillButtonStyle
now use AppTheme.inkInverse; GhostButtonStyle border uses ink.opacity(0.25)
- Add AppTheme.inkInverse adaptive token (dark bg ink on dark, white on light)
- Add ConnectionStore.isSessionActive (non-persisted) and
onboardingPhotoShown (UserDefaults-persisted)
- Add os_log logging in LoginViewModel at auth start/success/failure
- Remove dead Help button from ConnectView
- UGreenCompatibilityBadge, KeychainStore, SavedConnections, extensions,
PrivacyInfo.xcprivacy, unit test target and test stubs
- AppTheme: full UIColor dynamic provider tokens for dark/light adaptive color
- AppearanceMode enum + segmented picker in SettingsView
- BackupView: enlarged ring, removed options card and linear progress bar
- HistoryView: duration and bytes formatting, improved typography hierarchy
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 16:20:53 +03:00
|
|
|
|
|
|
|
|
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"
|