Programing

Xcode 7.2 일치하는 프로비저닝 프로파일이 없습니다.

lottogame 2020. 6. 14. 10:20
반응형

Xcode 7.2 일치하는 프로비저닝 프로파일이 없습니다.


Xcode를 7.2로 업그레이드하기 전에 Xcode 7.1.1을 사용하여 앱을 빌드하고 배포했습니다. Xcode 7.2로 업그레이드했으며 특정 프로비저닝 번들 (특정 앱의 번들 ID와 일치)이 Xcode 7.1.1에서 작동했던 설치된 인증서와 일치하지 않습니다.

나는 단지 얻는다 :

빌드 설정은 UUID“some_number”를 사용하여 프로비저닝 프로파일을 지정하지만 그러한 프로비저닝 프로파일을 찾을 수 없습니다.

.certSigningRequest새 인증서 및 프로필을 생성 하기 위해 a 다시 생성 하려고 시도 했으며 대상의 일반 탭에있는 팀이 올바른지 확인했습니다. 프로비저닝 프로파일을 선택할 때마다 모든 코드 서명 ID가 키 체인의 ID에 나타나지만 올바르게 페어링되지는 않습니다.

프로비저닝 프로파일을 자동으로 설정하고 iOS 개발자에게 코드 서명 ID를 사용하면이 오류가 해결되지만 Xcode가 관리한다고 믿기 때문에 프로비저닝 프로파일 관리의 이점은 사라졌습니다.

프로비저닝 프로파일 및 코드 서명 ID를 Automatic 및 iOS Developer 이외의 것으로 설정하는 이유에 대한 생각이 있습니까?


Xcode를 업데이트 한 후에도 문제가 발생했습니다.

Xcode 환경 설정 ( + ,) 을 열고 계정세부 정보보기로 이동하여 문제를 해결했습니다 . 그런 다음 모든 프로비저닝 프로파일을 선택하고 백 스페이스로 삭제하십시오 (참고 : Xcode 7.2에서는 제거 할 수 없음). Xcode를 다시 시작하십시오. 그렇지 않으면 목록이 올바르게 업데이트되지 않는 것 같습니다.

이제 모두 다운로드 버튼을 클릭하면 회원 센터에서 정의한 모든 프로비저닝 프로파일이 Xcode로 다시 표시됩니다. Xcode에서 생성 한 것 (앞에 접두사 XC:) 에 대해 걱정하지 마십시오 . Xcode는 필요할 경우 다시 생성합니다. Xcode를 다시 시작하십시오.

이제 빌드 설정 코드 서명 섹션으로 이동 하여 올바른 프로파일과 인증서를 선택하십시오.

왜 이런 일이 발생합니까? 모르겠다 ... 나는 앱 서명에 관한 애플의 정책 이해를 포기했다.


다른 답변을 시도하기 전에 먼저 XCode를 다시 시작하십시오 . 나는 다른 답변에 제공된 조언을 따르려고했지만 여러 단계에서 XCode를 다시 시작해야한다고 말하는 사람들이 많았습니다. XCode를 다시 시작하면 문제가 해결되었습니다. 그것이 당신을 위해 문제를 해결할지 아는 사람은 있지만 다른 해결책을 시도하기 전에 한 번 가치가 있습니다. XCode 7.2.1을 사용하고 있습니다.


나는 또한 같은 문제를 겪었다. Xcode 7.2

다음 단계에 의해 해결되었습니다.

1) Xcode 환경 설정을 엽니 다.

2) 적절한 팀을 선택하고

3) "세부 사항보기"를 클릭하십시오.

4) "서명 식별"섹션에서 : 각각의 "재설정"을 클릭하십시오.

5) "프로비저닝 프로파일"섹션. "모두 다운로드"를 클릭하십시오.

6) "완료"를 클릭하십시오.

7) Xcode로 가서 설정을 작성하고 선택하십시오. 일반 탭에서 문제가 제거되어야합니다.

8) Xcode를 다시 시작하십시오.

9) 최종 빌드를 수행하십시오.

그게 다야.


지독한 것이 작동 할 때까지 Xcode를 계속 종료하십시오.


https://developer.apple.com/certificationauthority/AppleWWDRCA.cer을 다운로드 하여 키 체인 액세스> 인증서 (2023 년에 만료 됨)에 추가하십시오.


또한 제안 된 모든 단계 (btw, 어떤 이유로 백 스페이스가 프로비저닝 프로파일을 제거하지 못함)를 모두 수행 한 후에도 오류가 발생합니다. 마지막으로 Xcode 재시작을 알아낼 때까지. 아마도 Xcode를 다룰 때 첫 번째 단계가되어야합니다. :)


Xcode 7.3을 사용 하여이 사실을 알아 내려고 너무 많은 시간을 보냈습니다. 여기 또는 다른 곳에서는 답을 찾지 못했습니다. 결국 엄청나게 쉬운 솔루션으로 넘어졌습니다.

  1. Xcode 환경 설정 팀 설정에서 다른 답변에 언급 된대로 모든 프로비저닝 프로파일을 삭제하십시오. "파인더에 표시", Command + A, delete를 마우스 오른쪽 단추로 클릭하면됩니다.이 세부 사항은 다른 Xcode 버전에 따라 변경된 것 같습니다.
  2. 프로파일을 다시 다운로드 하지 마십시오 . 대신 환경 설정을 종료하고 프로젝트를 다시 빌드하십시오 (연결된 iPhone 용으로 빌드했습니다). 빌드 시퀀스 중에 잠시 동안 프로비저닝 프로파일을 찾을 수 없다는 경고가 표시되며이를 자동으로 수정할지 묻는 메시지가 표시됩니다. 자동으로 수정하도록 선택하십시오.
  3. Xcode가 몇 가지 작업을 수행하면 앱에 필요한 것을 제공하는 새로운 프로비저닝 프로파일이 마술처럼 생깁니다. 그 후 TestFlight 용 앱을 업로드했으며 훌륭하게 작동합니다.

이것이 누군가를 돕기를 바랍니다.


키 체인 확인-로그인 및 시스템 키 체인에서 만료 된 인증서 또는 오류 메시지를 확인하십시오.

"이 인증서에 유효하지 않은 사용자가 있습니다"라는 오류 메시지와 만료 된 Apple Worldwide Developer Relations Certificate가있는 인증서를 찾았습니다.

https://developer.apple.com/certificationauthority/AppleWWDRCA.cer 에서 새 AWDRC 인증서를 삭제하고 설치 하십시오.

그런 다음 수락 된 답변따라 Xcode가 새 인증서를 사용하도록하십시오.


나를 위해 슬프게도 효과가없는 2 단계를 따라 시도 했습니다 .

  • Xcode 환경 설정 계정 → 세부 사항보기에서 모든 임시 프로파일을 삭제하고 모든 임시 프로파일을 새로 다운로드하십시오.
  • 매번 Xcode를 다시 시작하십시오.

대신, 여기에 주어진 다른 문제와 관련된 키 체인 인증서를 해결하려고했습니다. 이 인증서에는 잘못된 발급자 Apple Push Services가 있습니다.

이 인증서에는 잘못된 발급자가 있습니다

enter image description here

  • 키 체인 액세스에서보기-> 만료 된 인증서 표시로 이동하십시오.
  • 로그인 및 시스템 키 체인 및 "Apple Worldwide Developer Relations Certification Authority" 에서 만료 된 인증서를 찾으십시오 .
  • 만료 된 모든 인증서를 삭제하십시오.
  • 만료 된 인증서를 삭제 한 후 다음 URL을 방문하여 새 AppleWWDRCA 인증서 ( https://developer.apple.com/certificationauthority/AppleWWDRCA.cer)를 다운로드 하십시오.
  • 새로 다운로드 한 인증서를 두 번 클릭하여 키 체인에 설치하십시오. 인증서 유효 메시지를 볼 수 있습니다 .

enter image description here

Now go to xcode app. target → Build Setting → Provisioning Profile . Select value from 'automatic' to appropriate Provisioning profile . Bingo!!! profile mismatch issue is solved.


In my case, the problem was that the Archive was being built with a different TEAM-ID than the one who generated the Provisioning Profile (Me). Therefore I Got the error:

"No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID, however, no such provisioning profile was found."

To Solve this:

  • Clean and Re-Download your Provisioning profiles from Settings
  • Re-Start Xcode
  • in the GENERAL Tab of the Project properties, got to TEAM:

  • Change the current team to the Same team but the one under the ACCOUNT you generated the provisioning profile with.

  • Clean & Build

  • Viola!

Hope this helps someone.


I updated to Xcode v7.3.1 and it solved the issue.


With Xcode 7.2.1, if you are certain that your provisioning profile is correct (it has the correct App ID and certificate, and the corresponding certificate exists in your Keychain Access) then set the Code Signing Identity and set the Provisioning Profile to Automatic.


What I did was: created a new provisioning profile and used it. When setup the provisioning profile in the build setting tab, there were the wrong provisioning profile numbers (like "983ff..." as the error message mentioned, that's it!). Corrected to the new provisioning profile, then Xcode 7.2 refreshed itself, and build successfully.


Solutions described here work, but I want to add that you need to have correct target selected on the top left corner of Build Settings in Xcode. Lost some time figuring this out...

enter image description here


In xcode 7.3 I still got the same error,my certificate was provisional profile was also meaning everything was fine still I was getting the same error, and I was unable to delete the provisional profile in xcode perferences,so I right clicked on provisional profile which give option to move to trash when I clicked nothing happened but when I closed the the preference window and open it again by Command, the provisional profile was gone and download option was visible, I clicked download and it starting working fine


You can easily fix the problem by changing bundle identifier on the Apple web page from com.my.app to com.my.app.iOS. I found this solution at https://forums.developer.apple.com/thread/15712.


For me changing the build configuration from release to Debug solved the issue.

You can find Build Configuration in Edit Scheme -> Run -> Info -> Build Configuration

Clean your project and re run.


In addition to what other users posted, make sure the Team selected on the Target settings (General tab) is the correct one. Xcode will complain it cannot find the Provisioning Profile if the profile belongs to a different team than the one selected.


For me nothing above worked with XCode 7.3.1 because I had nothing in provisioning profiles (expired). I had to connect my iPhone to Mac and then click on Fix provisioning profile which created another profile expires in a week.


When distribute to App Store, you choose Product -> Achieve and encounter "code sign error, no matching provisioning profiles found", if account and downloaded .mobileprovision file is ok. Try click the "Build and Run" button to run it on your phone.

enter image description here

And, a dialog box will popup with a button "Fix", just click "Fix" to do next... Last, your device will have an valid provisioning file. Just do "Product -> Achieve" again, everything is OK!


You can also simply go to xcode preferences then accounts and then it may ask you to simply re sign in with your developer profile and then the issues should go away.

Hope this Helps!


For everyone who didn't solve it yet, my Issue was answered by this:

https://stackoverflow.com/a/41202884/3953197


For me none of the solution worked, but If i disconnect the phone from laptop and then run the build, it succeeds and then I connect and run on the phone. I still couldn't figure out the final fix.

참고URL : https://stackoverflow.com/questions/34346436/xcode-7-2-no-matching-provisioning-profiles-found

반응형