developer tip

Xcode6 오류 : "응용 프로그램에 대해 일치하는 프로비저닝 프로파일이 없습니다."

optionbox 2020. 12. 4. 08:07
반응형

Xcode6 오류 : "응용 프로그램에 대해 일치하는 프로비저닝 프로파일이 없습니다."


Xcode6에서 iOS 앱을 제출하려고합니다. Organizer에서 Submit 또는 Validate를 클릭하면 다음과 같은 창이 나타납니다.

일치하는 서명 자산을 찾거나 생성하지 못했습니다.

Xcode가 일치하는 서명 자산을 찾거나 생성하려고 시도했지만 다음 문제로 인해 실패했습니다.

"Applications / MyApp.app"에 대해 일치하는 프로비저닝 프로파일이 없습니다.

유효한 프로비저닝 프로파일 중 어떤 것도 지정된 권한 (application-identifier, beta-reports-active, keychain-access-groups)을 허용하지 않았습니다.

회원 센터에서이 앱에 대한 배포 프로비저닝 프로파일을 생성했으며 Xcode에 나타납니다. 나는 주위를 둘러 보았지만이 문제를 해결하는 방법을 알려주는 온라인을 찾지 못했습니다. 누구든지 도울 수 있습니까? 감사.

앤디


문제에 대한 몇 가지 가능성이 있지만 주요 원인은 다른 SO 답변뿐만 아니라 경험에서 얻은 것입니다.

  1. 인증서 또는 프로필이 오래되었습니다.이 경우 프로필을 다시 생성해야합니다. 이전에이 문제가 있었지만 Apple 은이 문제를 (부분적으로) 설명했습니다.
  2. Build Settings/Code Signing적절한 인증서와 함께 해당 영역 에서 프로필을 설정하지 않았습니다 . 로그인 TeamGeneral/Identity확인하고 프로필이 올바르게 설정 되었는지 확인하십시오 .

    에서 엑스 코드 5 : 코드 서명 권한 오차 (이미지는 약간 오래되었지만 엑스 코드 6로서의 동일)빌드 설정 코드 서명 섹션

  3. Xcode의 베타 버전을 사용하고 있습니다.
  4. @jaytrixz는 "빌드 설정의 코드 서명 권한에서 Entitlements.plist를 방금 제거했습니다."라고 말합니다. 프로비저닝 프로파일도 구성되어 있는지 확인하십시오.

jaytrixz로서 댓글에 썼습니다 ...

"빌드 설정 아래의 코드 서명 권한에서 Entitlements.plist를 제거했습니다."

나는 똑같이했고 다른 일을 한 시간 후에 작동했습니다!


여기에는 많은 답변이 있으며 일부는 과거에 나를 위해 일했지만 이번에는 그렇지 않았습니다. 새 프로비저닝 프로필도 만들었지 만 여전히 도움이되지 않았습니다. " 유효한 프로비저닝 프로파일이 지정된 권한을 허용하지 않았습니다 ." 오류의 일부를 기반으로 직감으로 다음을 시도했고 저에게 효과적 이었습니다.

1. 특정 기능 추가 및 제거

Targets> Capabilities로 이동하여 하나를 켰다가 끕니다.
어떤 것을 선택하든 상관 없습니다. "Push Notifications"(내 앱에는 필요하지 않음)를 추가했습니다. "ON"이되면 다시 "OFF"로 변경했습니다.

여기에 이미지 설명 입력

2. 다시 아카이브

이제 스토어에 앱을 성공적으로 업로드하고 있습니다.


나를 위해이 증상을 수정 한 또 다른 솔루션은 다음에서 찾을 수 있습니다. Xcode Watchkit : 지정된 권한을 허용하는 유효한 프로비저닝 프로파일이 없습니다. beta-reports-active, com.apple.security.application-groups

간단히 : 명확 ~/Library/MobileDevice/Provisioning Profiles


유효한 인증서 및 프로비저닝 프로파일이 있다고 확신하는 경우 다음을 수행해야 할 수 있습니다.

다음을 수행하여 사람들에게 xCode와 개발자 계정 간의 링크를 새로 고칠 것을 제안합니다.

Xcode-> 환경 설정-> 계정-> 세부 정보보기-> (새로 고침 아이콘)으로 이동합니다.

그렇지 않으면 빌드 설정의 옵션으로 프로비저닝 프로파일을 볼 수 없습니다 (이전 프로파일 만 볼 수 있음).

여러 번 연결 오류가 발생하면 다시 시도해야 할 수 있습니다.

Apple Developer Member Center에서 프로비저닝 프로파일 또는 인증서를 온라인으로 편집 할 때마다이 새로 고침을 수행하십시오.


인증서와 빌드 설정이 모두 양호하고 여러 팀에 속해있는 경우 앱에 적합한 팀선택 해야합니다 . 다시 정리하고 보관하십시오.


이 문제에 대한 또 다른 원인이 있습니다.

세 가지 구성 (Debug, AdHoc, AppStore)이 있습니다. 실수로 Archive Scheme 설정에서 AdHoc 구성을 선택하고 생성 된 아카이브를 AppStore에 업로드하려고했습니다.

따라서 아카이브 구성을 AppStore로 설정하면 문제가 해결되었습니다.

여기에 이미지 설명 입력


2017 년이되었고 조항은 여전히 ​​작동하지 않습니다. 30 분만에 자동으로 작동하지 않아서 수동 모드로 설정해야했습니다. 해당 권한이 무엇인지 전혀 모르고 권한 파일이 없습니다.


세상에서 가능한 모든 수정을 시도한 후 다음을 권한 파일에 추가했습니다.

<key>beta-reports-active</key>
<true/>

에서 올바른 권한 파일을 찾습니다 Targets > Build Settings > Code Signing > Code Signing Entitlements.

XCode 7에서 누락 된 특정 항목 (예 : 환경 설정> 계정의 새로 고침 아이콘)으로 지침을 완전히 따를 수는 없지만 이 Apple 문서 와 관련 있을 수 있습니다.


Another possible cause for this message is if you accidentally did remove the 'target inclusion checkbox' for the entitlement file – in that case the error message is slightly misleading...


In my case, the problem was caused by different Bundle Identifier in Target General tab than in Build Setttings.


If you have only development provisionning profile, just create distribution also


I played with fastlane gym, and there it gave some interesting insights:

There was an error exporting your application Unfortunately the new Xcode export API is unstable and causes problems on some project You can temporary use the :use_legacy_build_api option to get the build to work again

This is the according Bug-Report. Seems to be unfixed for month. https://openradar.appspot.com/radar?id=4952000420642816

Building the app in legacy mode worked for me.

gym --use_legacy_build_api true

Hope, this helps anyone.


In my entitlement file for Health kit there was development key. I removed that and my problem resolved.

I hope this answer could help :)


There seem to be many possible causes of this error.

In my case, my app was an Enterprise release and I was clicking "Validate" when I should have been heading straight to "Export".

I found this in the Apple docs:

Validate or Submit is not intended to be used with Development, Ad Hoc or Enterprise builds. Ad Hoc or Enterprise distributions should skip straight to Export.

Source: https://developer.apple.com/library/content/qa/qa1830/_index.html


I ran into this issue using App Groups. To resolve, I had to log into developer.apple.com and reassign the App Group ID to my App ID.


If other solutions do not work, try going to XCode -> Preferences -> Accounts -> View Details

Now look in Provisioning Profiles section. If your provisioning profile has an action button of 'Download', click the button and download. Then try again


Create a new provisioning profile

This solution worked for me when I had this problem.

Step by step :

여기에 이미지 설명 입력

  1. log onto the apple developer portal and go here : https://developer.apple.com/account/ios/profile/production

  2. Click the [+] add button and fill in a new profile name and select your app ID

  3. Click the Download button, and once it has downloaded double click to open that file in Xcode

  4. 다시 보관하면 이번에는 스토어에 성공적으로 업로드 할 수 있습니다.

참고 URL : https://stackoverflow.com/questions/28006773/xcode6-error-no-matching-provisioning-profiles-found-for-application

반응형