Programing

권한은 ... 프로파일을 지정했습니다.

lottogame 2020. 6. 19. 19:23
반응형

권한은 ... 프로파일을 지정했습니다. (0xE8008016). iOS 4.2 오류


The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile. (0xE8008016).iOS 4.2.6 (Verizon)에서 첫 번째 앱을 손상되지 않은 장치에 배포하려고 할 때 '두려운'오류가 발생 합니다. 문제는 Entitlements file전혀 배포하지 않고 하나의 장치에만 배치하기 때문에 프로젝트에 포함되어 있지 않습니다. 나는 사과가 당신에게 (증명서, 장치, 프로비저닝)을 당신에게 보내는 모든 후프와 루프를 겪었고, 무엇이 잘못되었는지 알아낼 수 없습니다.

누구 든지이 문제를 도와 줄 수 있습니까?


방금이 문제를 직접 겪었을 때 문제는 프로젝트에 임시 배포의 일환으로 Entitlements.plist 파일이 있고 get-task-allow (예 : '디버깅 가능') 속성이 NO로 설정되어 있다는 것입니다 -YES로 설정하면 문제가 해결되었으며 개발중인 기기의 Xcode4에서 앱을 실행할 수있었습니다.

당연히 임시 배포를 위해 NO로 다시 설정해야하지만 다른 사람이 같은 문제를 겪을 경우 언급 할 것이라고 생각했습니다.


Xcode 4.2.1 에서이 문제가 발생했습니다.

저에게는 인 타이틀먼트 파일이나 애드혹과는 아무 관련이 없습니다 ...

나는 오래된 프로젝트로 돌아가고 있었고, 새로운 iPhone을 조항에 추가하는 것을 잊었습니다.

바보 같은 실수뿐만 아니라 어리석은 해당 오류 메시지 ... :-/


반응 네이티브를 사용하는 경우 테스트 대상에 기본 프로비저닝 프로파일과 동일한 프로비저닝 프로파일이 있는지 확인하십시오.


iCloud 인 타이틀먼트에서이 문제가 발생했습니다. 내 문제는 프로비저닝 포털에서 내 앱 ID에 iCloud를 활성화하는 것을 잊었다는 것입니다.

앱 ID에 iCloud를 활성화 한 후 프로비저닝 프로파일을 다시 작성해야합니다.


대상> 빌드 설정> 코드 서명> 코드 서명 권한에 자격 파일을 유지하십시오.

대상> 기능으로 이동하십시오. 기능 중 하나를 On / Off 또는 Off / On으로 토글합니다.

운영.


나를 위해 일한 것은 자격 파일, 그룹 목록 및 프로젝트 및 대상의 빌드 설정에서 완전히 삭제하는 것이 었습니다. 그런 다음 대상의 요약 탭에서 권한을 다시 작성했으며 오류 메시지없이 정상적으로로드되었습니다.


여기에 내 5 센트를 넣으세요. 나에게 위의 어느 것도 효과가 없었기 때문에 스트레스를 받고 실제로 모든 과정을 신선한 눈으로 보았습니다.

이것을 서두르면서 완전히 새로운 장치에 앱을 설치하려고한다는 것을 잊었습니다.

그래서 내 오류는 프로비저닝 포털에서 프로비저닝 프로파일 설정의 "장치"섹션에서 새 장치를 선택하여 프로비저닝 프로파일을 업데이트하지 않았다는 것입니다.

프로비저닝 프로파일에 장치를 포함시키지 않은 것 역시이 오류 메시지를 생성합니다.


많은 답변 중 어느 것도 나를 위해 0xE8008016 오류를 수정하지 않았습니다.

그러나 Xcode 4> Organizer> Devices> Provisioning Profiles에서 "Automatic Device Provisioning"을 선택했을 때 마침내 작동했습니다.


제 경우에는 멍청한 실수였습니다. "Debug"또는 "Release"구성 대신 "Distribution"빌드 구성을 사용하도록 "Run"구성표를 잘못 설정했습니다. 어리석은 실수이지만 디버깅하는 데 시간이 걸렸으므로 스택 오버플로의 지식 기반을 개선하기 위해 답변을 추가 할 것입니다!


프로비저닝 프로파일을 삭제하고 '모두 정리'를 수행 한 후 프로비저닝 설정이 올바른지 확인하고 다시 다운로드 한 후 다시 실행하십시오.


  1. Safari에서 'iOS 프로비저닝 포털'을 엽니 다.
  2. 사이드 바에서 '기기'를 탭하십시오.
  3. 기기의 UDID 등록
  4. '프로비저닝 프로파일'을 누릅니다.
  5. 앱 프로파일을 편집하십시오.
  6. 방금 추가 한 장치를 선택하십시오.
  7. .mobileprovision 파일을 다운로드하십시오.
  8. 설치하십시오.
  9. 다시 빌드하십시오.

몇 달 후이 특정 앱이 정상적으로 작동했습니다.

문제는 내 Xcode 프로젝트에서 구성 된 기능 (대상-> {ProjectName}-> 기능)이 프로비저닝 프로파일에 구성된 기능과 동일하지 않다는 것입니다 (Apple 회원 센터의 Identifier-> App 아래에서 확인할 수 있습니다) Ids-> {귀하의 앱 ID} 회원 센터에서 Game Center가 활성화 된 것을 보았고 프로젝트에서 Game Center도 활성화 한 후 앱을 시작할 수있었습니다.

지금까지 어떻게 작동했는지 모르겠습니다. 그것은 여전히 ​​미스터리입니다 :)


나를 위해 대상의 "자동 서명 관리"옵션을 확인하여 문제를 해결하십시오!


xcuserdata 폴더를 삭제하면 문제가 해결되었습니다. 자세한 내용은 https://stackoverflow.com/a/9968884/300694


인증서와 관련된 내용을 변경하지 않은 경우 (바꾸거나 업데이트하지 않은 경우)을 수행하십시오 Product -> Clean. 그것은 여러 번 도움이되었습니다. (Xcode 6.2)


XCode 4로 업그레이드하면 문제가 해결되었습니다.


나는 오늘이 문제에 부딪 쳤고 그것을 알아 내려고 노력했다. 여기의 많은 사람들과 마찬가지로 자격 파일에서 iCloud 옵션을 제거하면 작동합니다. iCloud 옵션이 활성화 된 상태에서 앱을 디버깅하려고하면 0xe8008016 오류가 발생합니다. 새 인증서를 해지하고 재생성 한 직후입니다.

그래서 나를 위해 해결 한 것은 자동 생성 된 Xcode 팀 프로필에 대한 iCloud 지원을 켜는 것입니다. 로그는 온라인 프로비저닝 도구로,로 이동 App IDs, 클릭 Xcode iOS Wildcard App ID클릭, edit체크 박스를 체크, 그리고 마지막으로 클릭하여 아이 클라우드를 활성화 Done. Xcode에서 프로파일을 새로 고치면 작동하기 시작합니다.

디버깅 할 때 기본적으로 팀 프로필이 설정되며 팀 프로필에 iCloud가 켜져 있어야합니다.


실수로 로컬 테스트에 앱 스토어 배포 프로비저닝 프로파일을 사용하려고 할 때 나에게 일어났다. 적절한 개발 프로파일을 사용했을 때 잘 작동했습니다. 아마도 이것은 누군가에게도 도움이 될 것입니다.


이것은 나를 위해 일했다 ...

  1. 에서 Entitlements파일을 삭제했습니다 target.
  2. 모든 기기에서 앱을 삭제했습니다.
  3. Cleaned Xcode의 빌드
  4. *optional delete the provisioning profile and re-add it

Hope it works for you guys too :)


This is what solved my problem: Deleting the path in the Code Signing Entitlements section of the Targets build settings.


My provisioning profile from Apple developer matched my Xcode capabilities but it still wouldn't build onto my device until I did the following:

  1. Remove/Delete the entitlements file from your Xcode project.

  2. Go back to the Xcode capabilities tab

  3. Hit "Fix Issue" button to get Xcode to re-add the entitlements file.

Worked for me, hope it helps someone.


Happened to me on Xcode 8, it was partially caused by the new Provisioning Profile build setting, as in this Xcode version there are two entries for provisioning profile:

  • Provisioning Profile
  • Provisioning Profile (Deprecated)

My fault was that I updated only the first one, and the deprecated entry was still pointing to an invalid provisioning profile. Changing both to the same value solved the issue (clearing the deprecated entry should also have the same effect).


In my case, it looks like Xcode (secretly) reset the Scheme. I found that the build configuration for Archive was set to Release instead of distribution one, and after I changed it to the correct one, it worked.

I think it is better to check the Schemes as well as the build settings.


I had old project and same problem and I solved .

1.Go to summary
2.Summary have keychain groups and delete keychanin groups's object.

I hope it's will work for you . Regards.


i'm using xcode 6 and encounter this issue for one particular iphone 4

finally , i go to device => provision profile =>

and then add the profile manually and problem is fixed .


For me in Xcode 5.1 I was getting The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile. when trying to test the app on my device. Device Development Certificate has to expire Feb 2015.

Issue was resolved:

Selected Target->Capabilities, under GameCenter, here I was getting error on GameCenter entitlement as it was not added to project, although first version of application was released via same XCode 5.1 but there were no errors like this before.

Below, a button was given with title Fix Issue. When clicked it added the GameCenter entitlement and issue was resolved.

After wards the screen looks like:

enter image description here

For me, there was nothing to do with certificate. App now runs successfully on the device.


One more potential problem that will throw this error message: If you're using a perfectly valid provisioning profile for you main app, but have an expired or otherwise invalid provisioning profile for your Today widget extension. I imagine it'd be the same for an Apple watch extension as well.

Check all the profiles!


The code I was working on had a different bundleid in the Info-plist than in the Product Bundle Identifier build setting.

I found this because I noticed this message in the device console in the devices view:

MIS: entitlement 'application-identifier' has value not permitted by provisioning profile 'iOS Team Provisioning Profile: com.xxx.yyy'


If you are trying to activate iCloud syncing, you will need to enable iCloud for the AppID that is used to create the development provisioning profile (which Xcode does automatically). You'll also need to enable this for distribution profiles as well.

The tricky part is that when you refresh profiles in Xcode, this does not trigger a renewal of the profiles; they are simply re-downloaded. So in your iOS Provisioning Portal under Provisioning/Development, you'll need to check the profile that is labeled (Managed by Xcode) and delete it (Remove Selected button). Do this for ALL profiles, development & distribution, that you need to regenerate.

Now, in Xcode in the Organizer, delete provisioning profiles that you are about to replace.

Now to get new ones. If you develop for more than one team and only want to refresh a particular one, select the appropriate Team in the left pane under TEAMS, otherwise select Provisioning Profiles under LIBRARY, then select Refresh.

Finally, remove any old provisioning profiles on your device that could conflict with the new ones since profiles are never deleted automatically; newer profiles are simply added to the list.


My problem was that the scheme was having Archive point to Release, and Release in the Build Settings had the Code Signing Identity set to the one of the automatic profile selectors. Well the "automatic" did the wrong thing (and in fact changed what it pointed to since two days ago), and was pointing to a different profile than the one I was selecting when creating the ad-hoc release. Pointing the identity to an explicit setting and using that same profile when distributing fixed the problem.

참고URL : https://stackoverflow.com/questions/5240801/the-entitlements-specified-profile-0xe8008016-error-ios-4-2

반응형