I am very new to package manager and can't seem to import a library correctly. I am using the following code:
import PackageDescription
let package = Package(
    name: "MyAppName",
    products: [
        .executable(name: "MyAppName", targets: ["MyAppName"])
    ],
    dependencies: [
        .package(url: "https://github.com/socketio/socket.io-client-swift", .upToNextMinor(from: "13.1.0"))
    ],
    targets: [
        .target(name: "MyAppName", dependencies: ["SocketIO"], path: "./Source Files")
    ]
)
After creating this file and placing it in my project main directory, I open a terminal window and type swift build. The files are fetched however I get the following error message:
could not find target(s): MyAppName; use the 'path' property in the Swift 4 manifest to set a custom target path
I really don't understand the products and targets section of the package file and what I am doing wrong. I just put my app "MyAppName" for the executable and target but don't quite understand if that is correct. Also, not sure the path is correct. I want the libraries to be added to a folder titled Source Files in my main project directory.
 
     
     
    