diff --git a/iOS/Projects/App/Project.swift b/iOS/Projects/App/Project.swift index 29eb3499..4aec7660 100644 --- a/iOS/Projects/App/Project.swift +++ b/iOS/Projects/App/Project.swift @@ -12,8 +12,7 @@ let project = Project.makeModule( name: "WeTri", product: .app, dependencies: [ - ProjectTargetDependency.DesignSystem, - ProjectTargetDependency.Trinet, + ProjectTargetDependency.Record, ], resources: ["Resources/**"], infoPlist: .extendingDefault( diff --git a/iOS/Projects/Core/Network/Project.swift b/iOS/Projects/Core/Network/Project.swift index 0f636cf2..21ee744f 100644 --- a/iOS/Projects/Core/Network/Project.swift +++ b/iOS/Projects/Core/Network/Project.swift @@ -2,4 +2,4 @@ import ProjectDescription import ProjectDescriptionHelpers /// Trinet -let project = Project.makeModule(name: "Trinet", platform: .iOS, product: .staticLibrary, resources: nil, isTestable: true) +let project = Project.makeModule(name: "Trinet", platform: .iOS, product: .framework, resources: nil, isTestable: true) diff --git a/iOS/Projects/Features/Record/Project.swift b/iOS/Projects/Features/Record/Project.swift index 69a9fba7..df42ccc9 100644 --- a/iOS/Projects/Features/Record/Project.swift +++ b/iOS/Projects/Features/Record/Project.swift @@ -1,3 +1,13 @@ import ProjectDescription import ProjectDescriptionHelpers +let project = Project.makeModule( + name: "RecordFeature", + platform: .iOS, + product: .framework, + dependencies: [ + ProjectTargetDependency.Trinet, + ProjectTargetDependency.DesignSystem, + ], + isTestable: true +) diff --git a/iOS/Tuist/ProjectDescriptionHelpers/TargetDependency.swift b/iOS/Tuist/ProjectDescriptionHelpers/TargetDependency.swift index a24b35ee..1d712a49 100644 --- a/iOS/Tuist/ProjectDescriptionHelpers/TargetDependency.swift +++ b/iOS/Tuist/ProjectDescriptionHelpers/TargetDependency.swift @@ -10,4 +10,5 @@ import ProjectDescription public enum ProjectTargetDependency { public static let DesignSystem: TargetDependency = .project(target: "DesignSystem", path: .relativeToRoot("Projects/Shared/DesignSystem")) public static let Trinet: TargetDependency = .project(target: "Trinet", path: .relativeToRoot("Projects/Core/Network")) + public static let Record: TargetDependency = .project(target: "RecordFeature", path: .relativeToRoot("Projects/Features/Record")) } diff --git a/iOS/graph.png b/iOS/graph.png new file mode 100644 index 00000000..08e465d7 Binary files /dev/null and b/iOS/graph.png differ