I'm running into an issue where a Mac OSX 10.11 El Capitan is unable to codesign a binary for adhoc distribution. The issue is bizarre:
As a result, I'm unable to export an IPA (this private key has never been used before on this Mac).
How do I fix "unable to click allow or always allow" issue with Xcode7 / El Capitan?
Attempting to set the distribution cert to "always allow" fails within keychain assistant as well:
El Capitan does not allow software to click the "Allow" or "Always Allow" buttons for security reasons. If you are running software that intercepts mouse events such as MagicPrefs
, this may register as a software click. Try disabling any software that reads mouse events, or using a standard USB mouse.
I found the answer here: https://forums.developer.apple.com/thread/25092 and here: https://discussions.apple.com/thread/7305746
Not a complete solution but I was able to work around this by booting into Safe Mode and building from there. While in Safe Mode I also added the Xcode application to the keychain item and now it doesn't ask for permission anymore.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With