Code sign error : bundle format unrecognized, invalid, or unsuitable

I have had this issue in two different projects, I done alot of the suggested stuff, cleared the DerivedData folder, re-installed pods etc.

In both projects it was complaining about a particular Pod and being unable to codesign it.

What fixed it for me was:

  1. Select the Pods Project
  2. In the main editor window, select the Pod in the targets dropdown
  3. Under the general tab, and under the identity header, click choose Info.plist file
  4. Select the plist file for the Pod

The project should now build. For some reason it seems to lose this setting, or not be able to reference it's own plist file.

This worked for me in both projects. Not 100% sure why, but I hope it helps someone else having the same issue.


I have the same issue for some hours. But the following helped me.

  1. Delete Derived data
  2. Clean the project

Then running again, worked.


Just in case someone else is having this issue: Make sure you didn't add a Static Framework into the "Embedded Binaries" section, only Dynamic Frameworks are required to be there.


OK, solved it, This answer helped me.

I renamed the folder. Apparently Xcode does not like "Resources" file to be created manually.