Skip to content

Commit

Permalink
📌 :: Realm Carthage로 이동
Browse files Browse the repository at this point in the history
  • Loading branch information
baekteun committed Feb 1, 2024
1 parent 67dc826 commit a058fc0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import ProjectDescription

public extension TargetDependency {
struct Carthage {}
}

public extension TargetDependency.Carthage {
static let Realm = TargetDependency.external(name: "Realm")
static let RealmSwift = TargetDependency.external(name: "RealmSwift")
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ public extension TargetDependency.SPM {
static let FirebaseAnalytics = TargetDependency.external(name: "FirebaseAnalyticsWithoutAdIdSupport")
static let FirebaseCrashlytics = TargetDependency.external(name: "FirebaseCrashlytics")
static let NVActivityIndicatorView = TargetDependency.external(name: "NVActivityIndicatorView")
static let Realm = TargetDependency.external(name: "Realm")
static let RealmSwift = TargetDependency.external(name: "RealmSwift")

// MARK: Native SPM
static let YouTubePlayerKit = TargetDependency.package(product: "YouTubePlayerKit")
Expand Down
4 changes: 2 additions & 2 deletions Projects/Modules/ThirdPartyLib/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ let project = Project.makeModule(
name: "ThirdPartyLib",
product: .framework,
dependencies: [
.SPM.Realm,
.SPM.RealmSwift,
.Carthage.Realm,
.Carthage.RealmSwift,
.SPM.NaverLogin,
.SPM.RxSwift,
.SPM.RxMoya,
Expand Down
5 changes: 3 additions & 2 deletions Tuist/Dependencies.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import ProjectDescription

let dependencies = Dependencies(
carthage: nil,
carthage: [
.github(path: "realm/realm-swift", requirement: .upToNext("10.46.0"))
],
swiftPackageManager: SwiftPackageManagerDependencies(
[
.remote(url: "https://github.com/Moya/Moya.git", requirement: .upToNextMajor(from: "15.0.3")),
Expand All @@ -22,7 +24,6 @@ let dependencies = Dependencies(
.remote(url: "https://github.com/cbpowell/MarqueeLabel.git", requirement: .upToNextMajor(from: "4.3.0")),
.remote(url: "https://github.com/firebase/firebase-ios-sdk.git", requirement: .upToNextMajor(from: "10.7.0")),
.remote(url: "https://github.com/ninjaprox/NVActivityIndicatorView.git", requirement: .upToNextMajor(from: "5.1.1")),
.remote(url: "https://github.com/realm/realm-swift", requirement: .upToNextMajor(from: "10.46.0"))
],
baseSettings: .settings(
configurations: [
Expand Down

0 comments on commit a058fc0

Please sign in to comment.