This PR contains a bugfix that appeared while I started working on the app itself. Basically, the app was not building as the compiler was complaining about duplicated files in the project, but given that I couldn't find any, then I found out that the compiler doesn't like that a library name and an app target share the same name. So I renamed the `Locations` library in the **Libraries** package as `Remote` (for the lack of a better word...) to fix this issue that was stopping me from continue working on implementing the app. Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Reviewed-on: rock-n-code/deep-linking-assignment#8
78 lines
1.6 KiB
Swift
78 lines
1.6 KiB
Swift
// swift-tools-version: 5.8
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "Libraries",
|
|
platforms: [
|
|
.iOS(.v16)
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "Libraries",
|
|
targets: [
|
|
"Core",
|
|
"Dependency",
|
|
"Persistence",
|
|
"Remote"
|
|
]
|
|
),
|
|
],
|
|
dependencies: [],
|
|
targets: [
|
|
.target(
|
|
name: "APICore",
|
|
dependencies: []
|
|
),
|
|
.target(
|
|
name: "Core",
|
|
dependencies: []
|
|
),
|
|
.target(
|
|
name: "Dependency",
|
|
dependencies: []
|
|
),
|
|
.target(
|
|
name: "Persistence",
|
|
dependencies: []
|
|
),
|
|
.target(
|
|
name: "Remote",
|
|
dependencies: [
|
|
"APICore"
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "APICoreTests",
|
|
dependencies: [
|
|
"APICore"
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "CoreTests",
|
|
dependencies: [
|
|
"Core"
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "DependencyTests",
|
|
dependencies: [
|
|
"Dependency"
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "PersistenceTests",
|
|
dependencies: [
|
|
"Persistence"
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "RemoteTests",
|
|
dependencies: [
|
|
"APICore",
|
|
"Remote"
|
|
]
|
|
),
|
|
]
|
|
)
|