File Errors? #9
-
In what area do you have a technical challenge?Xcode, Simulator & Previews DescriptionHi! I had this weird error in my Xcode file while I was working on my application. How might I be able to resolve this? Thanks so much! ReproductionI added nested files and folders in my Resources folder. Expected behaviorThere should not have been an error. Additional contextNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
@katieliuu Thank you for posting your question! The error is probably related to your .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 The error message you encountered is due to the fact that you still have defined that there should be a, e.g., a |
Beta Was this translation helpful? Give feedback.
@katieliuu Thank you for posting your question!
The error is probably related to your
Package.swift
configuration. E.g., myTarget
configuration looks like this:The important part to focus on here is the
exclude
Array
ofString
s. This defines what resources (defined in theresources
property to just process the complete"Resources"
subfolder) should be excluded.As @vishnuravi has pointed out in #8, we wan…