Skip to content

File Errors? #9

Jan 21, 2023 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

@katieliuu Thank you for posting your question!

The error is probably related to your Package.swift configuration. E.g., my Target configuration looks like this:

.target(
    name: "PaulSchmiedmayer",
    dependencies: [
        .target(name: "InstructorViews")
    ],
    exclude: [
        "Resources/PaulSchmiedmayer.jpeg.license",
        "Resources/PaulSchmiedmayerBio.md.license"
    ],
    resources: [
        .process("Resources")
    ]
),

The important part to focus on here is the exclude Array of Strings. This defines what resources (defined in the resources property to just process the complete "Resources" subfolder) should be excluded.
As @vishnuravi has pointed out in #8, we wan…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@PSchmiedmayer
Comment options

@katieliuu
Comment options

katieliuu Jan 23, 2023
Collaborator Author

@PSchmiedmayer
Comment options

@katieliuu
Comment options

katieliuu Jan 23, 2023
Collaborator Author

@PSchmiedmayer
Comment options

Answer selected by PSchmiedmayer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants