问题
I've got an enterprise cert and in-house provisioning profile wired up. I've got the cert installed, and Xcode 7.1 prompts me with this nice permissions request alert. I click Always Allow. I click Allow.
No matter what I click, it just ignores me and asks again:
Well, unless I click Deny. But why would I want to do that?!
I also tried this, but I can't click that Allow button either!
Also: related
Help?
回答1:
Just got this fixed. I use a plugin called SmoothMouse that improves acceleration of trackpad and mouse. It likely integrates with the accessibility APIs in OS X and thus triggers the same behavior as screensharing. Disabling the plugin resolved the problem.
回答2:
Are you running from a remote machine? Apparently there was a recent security hole where remote agents were gaining access to the keychain by scripted control of the mouse.
So it was 'fixed' by preventing this. After finding a keyboard, mouse, etc and wiring the machine up, I was able to allow keychain access. After this the machine could run remotely again.
Edit:
It is also necessary disable Apple remote desktop and ensure there are no active VNC connections to the machine.
回答3:
For me, the problem was that I was running a remote session using TeamViewer.
When I logged in the actual computer, the 'allow' button pressed successfully.
回答4:
I solve this by unplugged all the mouse and keyboard on the Mac, and using the trackpad and buildin keyboard, and that works for me.I guess it is apple's security policy.
来源:https://stackoverflow.com/questions/33311873/el-capitan-xcode-7-1-not-letting-me-allow-enterprise-signing