Xcode gives me this warning when I build the app for release.
Application failed codesign verification. The signature was invalid, or it was not signe
Note: you may have to go to XCode's "Project" and select "Edit Active Target (appname)", which is near the bottom of the list ... in the new pane that opens, select "Build", then under "Code Signing Identity" select your distribution provision. Note that this seems to be editing a different thing than "Project" / "Edit Project" (editing "target" instead of "project"). I found I had to edit both project and target's code signing identities.