skip to Main Content

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 ?

3

Answers


  1. 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.

    Login or Signup to reply.
  2. To fix this, simply select the distribution certificate that you need for signing your app in the Keychain application. Select the cert > Get Info > Trust. Then select Always Trust in the drop down and enter password to make this change permanent.

    enter image description here

    Login or Signup to reply.
  3. You might have put your certificates in the wrong group. I’m guessing you have put it into the "System" group. Then it will always prompt you to input username and password. You can solve this by removing it from "System" and then adding it to the "Login" group. I had this problem 10 minutes ago, and I solved it by doing this.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search