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
|
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 |

@katieliuu Thank you for posting your question!
The error is probably related to your
Package.swiftconfiguration. E.g., myTargetconfiguration looks like this:The important part to focus on here is the
excludeArrayofStrings. This defines what resources (defined in theresourcesproperty to just process the complete"Resources"subfolder) should be excluded.As @vishnuravi has pointed out in #8, we wan…