Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

macOS wants to make changes.Enter an administrator’s name and password to allow this

I’m running a script to generate an ipa file from Xcode. While invoking the xcodebuild a prompt is displayed saying

macOS wants to make changes. Enter an administrator’s name and password to allow this.

If the credentials are entered the ipa file will be generated. If not the ipa will not be generated.

I figured out that the prompts are displayed because of the “Apple Worldwide Developer relations Intermediate Certificate which expires on Feb 7 2023”. Is there any way we can bypass this and the build and automatically generate the ipa without having to enter the keychain credentials?

like image 724
Haritha Thalapaneni Avatar asked Sep 11 '25 17:09

Haritha Thalapaneni


1 Answers

Under the Keychain application, go to the private key associated with your developer certificate. Then do key > Get Info > Access Control. Down there, make sure your application (Xcode) is in the list Always allow access by these applications and make sure Confirm before allowing access is turned of, same for Ask for Keychain password.

like image 102
Bram Avatar answered Sep 14 '25 10:09

Bram