your programing

Xcode는 시스템 키 체인을 사용하기 위해 암호를 계속 묻습니다.

lovepro 2020. 10. 6. 18:53
반응형

Xcode는 시스템 키 체인을 사용하기 위해 암호를 계속 묻습니다.


Lion 10.7.3에서 Xcode 4.3.2를 실행하고 있지만 장치에 iPhone 앱을 설치할 때마다 관리자 사용자 이름과 암호를 묻는 메시지가 계속 표시됩니다.

여기에 제안 된 모든 작업을 수행했으며 Xcode를 다시 설치했습니다.

또 다른 StackOverflow 관련 질문

그러나 지금까지 성공하지 못했습니다.

다음은 항상 나타나는 창 사진입니다.

Xcode 4.3.2는 관리자 사용자 이름과 암호를 계속 묻습니다.

이 문제를 해결하는 방법에 대한 다른 제안이 있습니까?


문제는 키 체인의 개발자 인증서 가 왼쪽 패널의 " 시스템 " 아래에 있었는데 , 항상 잠겨있어 잠금을 해제하려면 암호가 필요했습니다!

그런 다음 개발자 인증서를 항상 잠금 해제 된 " 로그인 " 으로 옮겼 으며 이제 모든 것이 완벽하게 작동합니다. 암호를 묻는 xCode의 성가심이 사라졌습니다.

자세한 내용은이 사진을 참조하십시오. 여기에 이미지 설명 입력


  1. " 키 체인 접근 "으로 이동
  2. 인증서 사용 아래의 개인 키를 두 번 클릭하여 앱에 코드 서명
  3. " 액세스 제어 "섹션 목록 에서 " 항상 다음 애플리케이션 허용 : "에 "Xcode"를 추가 하십시오.

다음은 Xcode 7.2에서 수정 한 방법입니다 (7.3에서도 작동 함).

1) Open KeyChain.
2) Select System, Choose Certificates category.  
3) Select developer certificate  and double click the private key.
4) Check Access Control and tick on 'Allow all item to access this'.
5) Restart Xcode and run the app on device.

위의 문제를 해결하기 위해 다음을 수행했습니다.

  1. 키 체인 접근으로 이동

  2. Select System >> Your certificate >> Right click "Get Info"

  3. Certificate information window will open >> Select "Trust" section

  4. From drop down option select "Always Trust"

여기에 이미지 설명 입력


Hopefully these steps solve your problem.

- Open Keychain Access.
- In the top-left corner, unlock the keychain (if it is locked).
- Choose the System keychain from the top-left corner.
- Find your distribution certificate and click the disclosure triangle.
- Double-click ‘Private key’ under your distribution certificate.
- In the popup, go to the Access Control tab.
- Select ‘Allow all applications to access this item’.
- Save the changes.
- Close all windows.
- Run the application.

In my case the required certificate with private key was saved in System keychain, Certificates category. To fix the problem I've exported the certificate (including the private key), and moved it to login keychain, Certificates category.

참고 URL : https://stackoverflow.com/questions/10068566/xcode-keeps-asking-for-password-to-use-the-system-keychain

반응형