Created
September 29, 2025 15:31
-
-
Save FromAtom/3faaf2bfc75ec69ddfda29eb11590754 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let package = Package( | |
name: "SamplePackage", | |
platforms: [.iOS(.v17)], | |
products: [ | |
.library( | |
name: "iOS", | |
targets: ["iOS"] | |
), | |
], | |
dependencies: ExternalPackage.allCases.map { $0.dependency }, | |
targets: [ | |
.target( | |
name: "iOS", | |
dependencies: [ | |
.product(.firebaseCrashlytics), | |
.product(.firebaseAnalytics), | |
.product(.firebaseRemoteConfig), | |
.target(name: "Search"), | |
.target(name: "Setting"), | |
.target(name: "Welcome") | |
] | |
), | |
.target( | |
name: "Search", | |
dependencies: [ | |
.product(.rswift), | |
.product(.firebaseCrashlytics), | |
.product(.firebaseAnalytics) | |
], | |
plugins: [ | |
.plugin(name: "RswiftGenerateInternalResources", package: "R.swift") | |
] | |
), | |
.target( | |
name: "Setting", | |
dependencies: [ | |
.product(.rswift), | |
.product(.firebaseCrashlytics), | |
.product(.firebaseAnalytics) | |
], | |
plugins: [ | |
.plugin(name: "RswiftGenerateInternalResources", package: "R.swift") | |
] | |
), | |
.target( | |
name: "Welcome", | |
dependencies: [ | |
.product(.rswift), | |
.product(.firebaseCrashlytics), | |
.product(.firebaseAnalytics) | |
], | |
plugins: [ | |
.plugin(name: "RswiftGenerateInternalResources", package: "R.swift") | |
] | |
) | |
] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment