0

When I use resources: [.copy("Resources")] for my Swift package, the bundle can't be built: "Command CodeSign failed with a nonzero exit code" (undle format unrecognized, invalid, or unsuitable).

When I rename the folder to something else, the package can be built without issues.

What's wrong with "Resources"?

chkpnt
  • 125
  • 10
  • What is the directory three? – iDevid Dec 12 '22 at 14:34
  • Hi, I feel that you need to provide more info. How are you "building" the package? Are you using XCode or Command-In-Line? Can you show us your package's structure? Have you tried using .process instead of .copy? Have you seen the [official doc](https://developer.apple.com/documentation/xcode/bundling-resources-with-a-swift-package)? – Jorge Poveda Dec 12 '22 at 15:30

0 Answers0