Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
feat :: injection 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
HongSJae committed Sep 13, 2023
1 parent 37a0b8f commit 9b3b0e7
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public extension TargetDependency.SPM {
static let CombineMoya = TargetDependency.external(name: "CombineMoya")
static let Kingfisher = TargetDependency.external(name: "Kingfisher")
static let FlowLayout = TargetDependency.external(name: "SwiftUIFlowLayout")
static let Injection = TargetDependency.external(name: "Inject")
}

public extension Package {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public let env = ProjectEnvironment (
deploymentTarget: .iOS(targetVersion: "15.0", devices: [.iphone, .ipad]),
platform: .iOS,
baseSetting: [
"OTHER_LDFLAGS": "-Xlinker -interposable",
"ENABLE_TESTABILITY": "YES"
]
)
3 changes: 1 addition & 2 deletions Projects/App/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ let targets: [Target] = [
.Domain.ReviewsDomain,
.Domain.FilesDomain,
.Domain.BugsDomain,
.SPM.Needle,
.SPM.Injection
.SPM.Needle
],
settings: .settings(base: env.baseSetting)
),
Expand Down
3 changes: 0 additions & 3 deletions Projects/App/Sources/Application/JOBISApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ import BaseFeature
import JwtStoreInterface
import JwtStore
import NeedleFoundation
import Inject

@main
struct JOBISApp: App {
@ObservedObject private var iOput = Inject.observer
@UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
@StateObject var appState = AppState(sceneFlow: .splash, authority: .student)

Expand All @@ -24,7 +22,6 @@ struct JOBISApp: App {
AppComponent(keychain: keychain).makeRootView()
.preferredColorScheme(.light)
.environmentObject(appState)
.enableInjection()
}
}
}
3 changes: 1 addition & 2 deletions Tuist/Dependencies.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ let dependencies = Dependencies(
.remote(url: "https://github.com/uber/needle.git", requirement: .upToNextMajor(from: "0.19.0")),
.remote(url: "https://github.com/team-aliens/Moya.git", requirement: .branch("master")),
.remote(url: "https://github.com/onevcat/Kingfisher.git", requirement: .upToNextMajor(from: "7.0")),
.remote(url: "https://github.com/globulus/swiftui-flow-layout.git", requirement: .upToNextMajor(from: "1.0.4")),
.remote(url: "https://github.com/krzysztofzablocki/Inject.git", requirement: .revision("1.0.5"))
.remote(url: "https://github.com/globulus/swiftui-flow-layout.git", requirement: .upToNextMajor(from: "1.0.4"))
],
baseSettings: .settings(
configurations: [
Expand Down

0 comments on commit 9b3b0e7

Please sign in to comment.