[Bugfix] Location library naming (#8)

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
This commit is contained in:
Javier Cicchelli 2023-04-11 15:57:38 +00:00
parent 9172827b8b
commit d51cc97aa4
10 changed files with 14 additions and 14 deletions

View File

@ -13,8 +13,8 @@ let package = Package(
targets: [
"Core",
"Dependency",
"Locations",
"Persistence"
"Persistence",
"Remote"
]
),
],
@ -33,15 +33,15 @@ let package = Package(
dependencies: []
),
.target(
name: "Locations",
name: "Persistence",
dependencies: []
),
.target(
name: "Remote",
dependencies: [
"APICore"
]
),
.target(
name: "Persistence",
dependencies: []
),
.testTarget(
name: "APICoreTests",
dependencies: [
@ -60,18 +60,18 @@ let package = Package(
"Dependency"
]
),
.testTarget(
name: "LocationsTests",
dependencies: [
"APICore",
"Locations"
]
),
.testTarget(
name: "PersistenceTests",
dependencies: [
"Persistence"
]
),
.testTarget(
name: "RemoteTests",
dependencies: [
"APICore",
"Remote"
]
),
]
)