Reputation: 25
When I am trying to run my project on a device or to archive it, I am getting this error:
I have allready tried to delete derived data, deintegrate and clean pods but nothing helped. Appreciate any hints.
Upvotes: 2
Views: 2648
Reputation: 1568
Looks like the code signing is failing. Are you sure you gave access to keychain when Xcode prompted you for it? If not, then try going to KeychainAccess and unlocking the keychain that has your signing assets (usually the login keychain).
Edit:
Go to Keychain Access and in the login keychain find your iOS Developer key under 'Keys'. Double click on the key and change the access control either to allow all apps to access or uncheck 'Ask for keychain password' under 'Confirm before allowing access'. Then restart Xcode and try building again.
Upvotes: 2
Reputation: 4669
I had a similar issue. Most likely you named your app with a space in the name and cocoapods can't do proper string escaping.
Go to a file Pods-YourAppName-frameworks.sh
, do a search for "entitlements", you will see something like this:
Change double quotes surrounding $1
to single quotes like this: entitlements '$1'"
. Run your workspace again, it should work now.
Upvotes: 0