From 64deb3c8eec46e96ab266bd3cf6aa4f7c379601e Mon Sep 17 00:00:00 2001 From: shchukins Date: Mon, 6 Apr 2026 23:38:34 +0300 Subject: [PATCH] refactor: move iOS project under ios directory --- .../project.xcworkspace/contents.xcworkspacedata | 3 --- .../AccentColor.colorset/Contents.json | 0 .../AppIcon.appiconset/Contents.json | 0 {App => ios/App}/Assets.xcassets/Contents.json | 0 {App => ios/App}/HumanEngineIOS.entitlements | 0 {App => ios/App}/HumanEngineIOSApp.swift | 0 {Features => ios/Features}/ContentView.swift | 0 .../Features}/Dashboard/ContentViewModel.swift | 0 .../Features}/Dashboard/View/HRVSectionView.swift | 0 .../Dashboard/View/PayloadPreviewSectionView.swift | 0 .../Dashboard/View/PermissionsSectionView.swift | 0 .../Dashboard/View/RestingHRSectionView.swift | 0 .../View/SleepNightAggregatesSectionView.swift | 0 .../Dashboard/View/SleepSamplesSectionView.swift | 0 .../Dashboard/View/WeightSectionView.swift | 0 .../HumanEngineIOS.xcodeproj}/project.pbxproj | 4 ++-- .../project.xcworkspace/contents.xcworkspacedata | 7 +++++++ .../xcschemes/xcschememanagement.plist | 14 ++++++++++++++ {Models => ios/Models}/HealthSamples.swift | 0 {Models => ios/Models}/HealthSyncModels.swift | 0 {Models => ios/Models}/SyncState.swift | 0 {Services => ios/Services}/APIClient.swift | 0 {Services => ios/Services}/HealthKitService.swift | 0 {Services => ios/Services}/SyncService.swift | 0 {Stores => ios/Stores}/HealthKitAnchorStore.swift | 0 {Stores => ios/Stores}/SyncStateStore.swift | 0 {Support => ios/Support}/DateFormatters.swift | 0 {Support => ios/Support}/Notifications.swift | 0 28 files changed, 23 insertions(+), 5 deletions(-) rename {App => ios/App}/Assets.xcassets/AccentColor.colorset/Contents.json (100%) rename {App => ios/App}/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename {App => ios/App}/Assets.xcassets/Contents.json (100%) rename {App => ios/App}/HumanEngineIOS.entitlements (100%) rename {App => ios/App}/HumanEngineIOSApp.swift (100%) rename {Features => ios/Features}/ContentView.swift (100%) rename {Features => ios/Features}/Dashboard/ContentViewModel.swift (100%) rename {Features => ios/Features}/Dashboard/View/HRVSectionView.swift (100%) rename {Features => ios/Features}/Dashboard/View/PayloadPreviewSectionView.swift (100%) rename {Features => ios/Features}/Dashboard/View/PermissionsSectionView.swift (100%) rename {Features => ios/Features}/Dashboard/View/RestingHRSectionView.swift (100%) rename {Features => ios/Features}/Dashboard/View/SleepNightAggregatesSectionView.swift (100%) rename {Features => ios/Features}/Dashboard/View/SleepSamplesSectionView.swift (100%) rename {Features => ios/Features}/Dashboard/View/WeightSectionView.swift (100%) rename {HumanEngineIOS.xcodeproj => ios/HumanEngineIOS.xcodeproj}/project.pbxproj (99%) create mode 100644 ios/HumanEngineIOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 ios/HumanEngineIOS.xcodeproj/xcuserdata/shchukins.xcuserdatad/xcschemes/xcschememanagement.plist rename {Models => ios/Models}/HealthSamples.swift (100%) rename {Models => ios/Models}/HealthSyncModels.swift (100%) rename {Models => ios/Models}/SyncState.swift (100%) rename {Services => ios/Services}/APIClient.swift (100%) rename {Services => ios/Services}/HealthKitService.swift (100%) rename {Services => ios/Services}/SyncService.swift (100%) rename {Stores => ios/Stores}/HealthKitAnchorStore.swift (100%) rename {Stores => ios/Stores}/SyncStateStore.swift (100%) rename {Support => ios/Support}/DateFormatters.swift (100%) rename {Support => ios/Support}/Notifications.swift (100%) diff --git a/HumanEngineIOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/HumanEngineIOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata index 919434a..94b2795 100644 --- a/HumanEngineIOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/HumanEngineIOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -1,7 +1,4 @@ - - diff --git a/App/Assets.xcassets/AccentColor.colorset/Contents.json b/ios/App/Assets.xcassets/AccentColor.colorset/Contents.json similarity index 100% rename from App/Assets.xcassets/AccentColor.colorset/Contents.json rename to ios/App/Assets.xcassets/AccentColor.colorset/Contents.json diff --git a/App/Assets.xcassets/AppIcon.appiconset/Contents.json b/ios/App/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from App/Assets.xcassets/AppIcon.appiconset/Contents.json rename to ios/App/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/App/Assets.xcassets/Contents.json b/ios/App/Assets.xcassets/Contents.json similarity index 100% rename from App/Assets.xcassets/Contents.json rename to ios/App/Assets.xcassets/Contents.json diff --git a/App/HumanEngineIOS.entitlements b/ios/App/HumanEngineIOS.entitlements similarity index 100% rename from App/HumanEngineIOS.entitlements rename to ios/App/HumanEngineIOS.entitlements diff --git a/App/HumanEngineIOSApp.swift b/ios/App/HumanEngineIOSApp.swift similarity index 100% rename from App/HumanEngineIOSApp.swift rename to ios/App/HumanEngineIOSApp.swift diff --git a/Features/ContentView.swift b/ios/Features/ContentView.swift similarity index 100% rename from Features/ContentView.swift rename to ios/Features/ContentView.swift diff --git a/Features/Dashboard/ContentViewModel.swift b/ios/Features/Dashboard/ContentViewModel.swift similarity index 100% rename from Features/Dashboard/ContentViewModel.swift rename to ios/Features/Dashboard/ContentViewModel.swift diff --git a/Features/Dashboard/View/HRVSectionView.swift b/ios/Features/Dashboard/View/HRVSectionView.swift similarity index 100% rename from Features/Dashboard/View/HRVSectionView.swift rename to ios/Features/Dashboard/View/HRVSectionView.swift diff --git a/Features/Dashboard/View/PayloadPreviewSectionView.swift b/ios/Features/Dashboard/View/PayloadPreviewSectionView.swift similarity index 100% rename from Features/Dashboard/View/PayloadPreviewSectionView.swift rename to ios/Features/Dashboard/View/PayloadPreviewSectionView.swift diff --git a/Features/Dashboard/View/PermissionsSectionView.swift b/ios/Features/Dashboard/View/PermissionsSectionView.swift similarity index 100% rename from Features/Dashboard/View/PermissionsSectionView.swift rename to ios/Features/Dashboard/View/PermissionsSectionView.swift diff --git a/Features/Dashboard/View/RestingHRSectionView.swift b/ios/Features/Dashboard/View/RestingHRSectionView.swift similarity index 100% rename from Features/Dashboard/View/RestingHRSectionView.swift rename to ios/Features/Dashboard/View/RestingHRSectionView.swift diff --git a/Features/Dashboard/View/SleepNightAggregatesSectionView.swift b/ios/Features/Dashboard/View/SleepNightAggregatesSectionView.swift similarity index 100% rename from Features/Dashboard/View/SleepNightAggregatesSectionView.swift rename to ios/Features/Dashboard/View/SleepNightAggregatesSectionView.swift diff --git a/Features/Dashboard/View/SleepSamplesSectionView.swift b/ios/Features/Dashboard/View/SleepSamplesSectionView.swift similarity index 100% rename from Features/Dashboard/View/SleepSamplesSectionView.swift rename to ios/Features/Dashboard/View/SleepSamplesSectionView.swift diff --git a/Features/Dashboard/View/WeightSectionView.swift b/ios/Features/Dashboard/View/WeightSectionView.swift similarity index 100% rename from Features/Dashboard/View/WeightSectionView.swift rename to ios/Features/Dashboard/View/WeightSectionView.swift diff --git a/HumanEngineIOS.xcodeproj/project.pbxproj b/ios/HumanEngineIOS.xcodeproj/project.pbxproj similarity index 99% rename from HumanEngineIOS.xcodeproj/project.pbxproj rename to ios/HumanEngineIOS.xcodeproj/project.pbxproj index 989702e..6e4bd77 100644 --- a/HumanEngineIOS.xcodeproj/project.pbxproj +++ b/ios/HumanEngineIOS.xcodeproj/project.pbxproj @@ -390,7 +390,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_ENTITLEMENTS = App/HumanEngineIOS.entitlements; + CODE_SIGN_ENTITLEMENTS = ios/HumanEngineIOS.xcodeproj; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = LX9UB7FZRL; @@ -424,7 +424,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_ENTITLEMENTS = App/HumanEngineIOS.entitlements; + CODE_SIGN_ENTITLEMENTS = ios/HumanEngineIOS.xcodeproj; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = LX9UB7FZRL; diff --git a/ios/HumanEngineIOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/ios/HumanEngineIOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/ios/HumanEngineIOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/ios/HumanEngineIOS.xcodeproj/xcuserdata/shchukins.xcuserdatad/xcschemes/xcschememanagement.plist b/ios/HumanEngineIOS.xcodeproj/xcuserdata/shchukins.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..0eabf11 --- /dev/null +++ b/ios/HumanEngineIOS.xcodeproj/xcuserdata/shchukins.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + HumanEngineIOS.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/Models/HealthSamples.swift b/ios/Models/HealthSamples.swift similarity index 100% rename from Models/HealthSamples.swift rename to ios/Models/HealthSamples.swift diff --git a/Models/HealthSyncModels.swift b/ios/Models/HealthSyncModels.swift similarity index 100% rename from Models/HealthSyncModels.swift rename to ios/Models/HealthSyncModels.swift diff --git a/Models/SyncState.swift b/ios/Models/SyncState.swift similarity index 100% rename from Models/SyncState.swift rename to ios/Models/SyncState.swift diff --git a/Services/APIClient.swift b/ios/Services/APIClient.swift similarity index 100% rename from Services/APIClient.swift rename to ios/Services/APIClient.swift diff --git a/Services/HealthKitService.swift b/ios/Services/HealthKitService.swift similarity index 100% rename from Services/HealthKitService.swift rename to ios/Services/HealthKitService.swift diff --git a/Services/SyncService.swift b/ios/Services/SyncService.swift similarity index 100% rename from Services/SyncService.swift rename to ios/Services/SyncService.swift diff --git a/Stores/HealthKitAnchorStore.swift b/ios/Stores/HealthKitAnchorStore.swift similarity index 100% rename from Stores/HealthKitAnchorStore.swift rename to ios/Stores/HealthKitAnchorStore.swift diff --git a/Stores/SyncStateStore.swift b/ios/Stores/SyncStateStore.swift similarity index 100% rename from Stores/SyncStateStore.swift rename to ios/Stores/SyncStateStore.swift diff --git a/Support/DateFormatters.swift b/ios/Support/DateFormatters.swift similarity index 100% rename from Support/DateFormatters.swift rename to ios/Support/DateFormatters.swift diff --git a/Support/Notifications.swift b/ios/Support/Notifications.swift similarity index 100% rename from Support/Notifications.swift rename to ios/Support/Notifications.swift