Trying to package project for iOS but receive "CodeSign Failed" error

Hey guys, no solutions worked for me, including many of the xcode ones such as running “xattr -cr .” in the root project folder, the only thing that did work is moving the project outside of an iCloud sync directory.

My project location was: ~/Documents/Unreal Projects/PROJECT_NAME
I moved my project to: ~/Development/Unreal Projects/PROJECT_NAM

The error I got was:

resource fork, Finder information, or similar detritus not allowed
Command CodeSign failed with a nonzero exit code

Absolutely frustrating issue to deal with, but I believe the hint was in the error, “Finder information not allowed”, I assume iCloud sync was adding Finder information.

So, if your ~/Documents folder is iCloud synced, try moving it. It had nothing to do with my Signing under the project, my Signing & Capabilities looks like so:

Under the ALL tab:

  • Automatically manage signing
  • Team: None
  • Signing Certificate: Sign to Run Locally

Super annoying one to figure out, hope this helps people out.

1 Like