I was typing up the original post over a very slow internet connection so their some wonky grammar.
I have been modifying the Package.swift file for the Reality Kit project & I have been using relative paths but it does not work for some reason.
let package = Package(
name: "RealityKitContent",
platforms: [
.visionOS(.v2),
.macOS(.v15),
.iOS(.v18)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "RealityKitContent",
targets: ["RealityKitContent"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "RealityKitContent",
dependencies: []),
]
)
I tried setting a path like
dependencies: [
.package(path: "../../../../MyFramework"),
],
targets: [
.target(
name: "RealityKitContent",
dependencies: [
.product(name: "MyFramework", package: "MyFramework")
]),
]
At this time, the Swift package Framework is being referenced as a local package. Eventually, there will be a public GitHub repo.
Topic:
Spatial Computing
SubTopic:
Reality Composer Pro