Xcode won't let to build for Device after denying Codesign to access Keychain
I found a solution for that. If that error occurs, only you have to do is just lock the keychain (click on lock in the left upper most corner). Then build again. It will ask to unlock again like first time and Let you to choose always allow
or allow
or deny
in Codesign keychain access. Just type account (Mac User account) password and click on always allow. Then project will build successfully.
App won't run on iPhone after denying keychain access
Had the same problem last weak its a pain in the a..
Solution:
1- Delete ~/Library/Preferences/com.apple.security.plist
2- Reboot
3- Solved!
PD: if still complains just download the provisional profile again or if automatic then change to none and back to yours again.
Where is the option saved for always allowing codesign'ing with a particular key?
For Xcode in particular, it happened to me to pressed Deny by mistake when asking access for codesign access. Here is how I did to solve my issue:
- Open to the keychain
- look for the key
com.apple.gs.xcode.auth.com.apple.account.AppleIDAuthentication.token
- open it
- click on the Access Control tab
- at the bottom there's Always allow access for these applications: -> add Xcode in the list
- Don't forget to press
Save Changes
Related Topics
Change Table to Edit Mode and Delete Rows Inside a Normal Viewcontroller
Bridge Google Drive API to Swift
Swift 3.0, Alamofire 4.0 Extra Argument 'Method' in Call
How to Use Multi-Path Update with the Rest API in Firebase? Error 400
@State Var Not Updated as Expected in Lazyvgrid
Cannot Assign Value of Type '() -> Void' to Type '(() -> Void)!'
Why My Nsdateformatter Returns Null
iOS Simulator Display Scaled Incorrectly
iOS Bar Item Image Displaying Wrong Color
How to Delete Object from Core Data in Swift 3
How to Return Value After the Execution of the Block? Swift
How to Upload Audio with Alamofire Multipart Upload
Return Lighter Color from Skcolor Using Hsl Lightness Factor
Enterprise Deployment Certificate and Profiles
iOS Documents Directory Size Limit
Variable Used Before Being Initialized in Function
How to Split a Numeric String Using Multiple Separators in a Swift Closure