Xcode 5 서명에 사용할 수있는 ID가 없습니다.
Xcode 5에서 내 앱의 유효성을 검사하려고 할 때 "서명에 사용할 수있는 ID가 없습니다"라는 오류가 있습니다. 모두 시도 : 인증서 및 프로비저닝 프로파일,이 사이트 및 다른 리소스에 설명 된 모든 방법을 다시 만듭니다. 내 앱을 Ad-hoc으로 배포하려고하면 테스트 장치에서 IPA 파일을 성공적으로 만들어 설치하기 때문에 혼란스러워합니다. 그러나 앱의 유효성을 검사하거나 AppStore에 제출하려고하면 항상 오류가 발생합니다. 어쩌면 누군가이 문제를 도와 줄 수 있습니다.
당신이해야 할 일은 :
개발자 센터의 인증서, 식별자 및 프로필로 이동
"프로비저닝 프로파일"/ "배포"에서 새로운 프로비저닝 프로파일 생성
프로필을 다운로드하여 엽니 다
Xcode를 다시 시작하십시오
개발이 아닌 배포 프로비저닝 프로파일을 사용하고 있는지 확인하십시오. 그리고 Xcode의 코드 부호 설정은 배포 프로비저닝 프로파일과 호환됩니다.
유효성 검사 프로세스는 Ad-hoc 프로파일에서 작동하지 않습니다. 배포 프로비저닝 프로파일을 만들어야합니다. 베타 테스트 지침에는 지정되어 있지 않습니다. 나는 깨달을 때까지 하루 종일 고통을 겪었다.
응용 프로그램 로더 (Xcode-> 개발자 도구 열기-> 응용 프로그램 로더)를 사용하십시오.
또한-이 답변 / 질문이 도움이 될 수도 있습니다. https://stackoverflow.com/a/18914073/730172
Xcode를 다시 시작하면 문제가 해결되었습니다! 다시 시작 및 / 또는 정리하면 모든 문제의 99 %가 해결됩니다 ...
@CainaSouza의 의견은 저에게 효과적이었습니다. 새로운 프로비저닝 프로파일을 만들 필요조차 없었습니다.
Xcode> 환경 설정> 계정> (Apple ID)> 세부 정보보기로 이동하여 새로 고침 버튼을 누르십시오. 1-2 분 후에 완료되었으며 프로비저닝 프로파일을로드했습니다. 프로젝트 옵션에서 선택하지 않아도 이미 가장 최근에 생성 된 옵션을 선택했습니다.
제품 빌드 폴더 정리 (Alt 버튼 사용) Xcode 재시작
그것은 같은 문제를 해결했다
나는 비슷한 문제가 있었다. 번들 식별자가 iTunes 연결에 있던 앱 ID와 일치하지 않는다는 것을 알았습니다. 다르게 대문자로 표기되었습니다. 식별자를 일치시켜 문제를 해결했습니다.
예, appID 및 번들 식별자가 일치해야합니다. 대소 문자를 구분한다는 것을 기억하십시오. 그것은 저에게 문제였습니다.
Maverick 및 Xcode 5로 업데이트했으며 프로파일에서 모든 것이 정상이지만 동일한 문제가 발생했습니다. 새 배포 프로파일 (이전 프로파일과 동일)을 새로 고쳐 프로파일을 추가하여 추가했으며 문제는 다시 작성하지 않고 해결되었습니다.
Apple은 최신 Xcode로 업그레이드 한 후 자신의 사이트에서 배포 프로비저닝 프로파일을 "Magically Dissapear"로 결정하여이 문제도 발생했습니다.
이 사실을 발견 한 후에 만 해결책이 분명합니다!
새로운 배포 프로비저닝 프로파일 생성
계정 세부 정보에서-다운로드 및 설치 / Xcode 환경 설정 새로 고침
이전 개발 / 배포 프로파일을 삭제하고 새 이름으로 새 프로파일을 작성하여이 문제를 해결했습니다.
Xcode의 번들 식별자와 Developer.Apple.Com의 앱 ID (인증서, 식별자 및 프로필)가 일치하지 않습니다. 이 StackOverflow 게시물 은 큰 도움이되었습니다. 약간의 추가 정보는 이 블로그 게시물을 확인하십시오 . 터치 명령에 대한 공식 문서는 여기 에서 찾을 수 있습니다 . 아래를 수행하기 전에 Xcode를 종료했습니다. 아래 세부 사항을 완료하고 Xcode를 다시 열면 문제가 해결되었습니다.
텍스트 편집기를 사용하여 App ID와 일치하도록 번들 ID를 업데이트하십시오. Info.plist 파일은 다음 위치에 있습니다.
ProjectName> ProjectName> ProjectName> ProjectName-Info.plist
다음 줄을 찾고 있습니다.
<key>CFBundleIdentifier</key>
<string>MyCompany.${PRODUCT_NAME:rfc1034identifier}</string>
앱 ID와 일치하도록 값을 업데이트하십시오 (예 :
<string>com.MyCompany</string>
터미널을 사용하여 touch 명령을 실행하고 위에 나열된 디렉토리 내에 있는지 확인하십시오.
touch ProjectName-Info.plist
Xcode 5.1 이상을 사용하는 경우 (이제 가능할 것입니다) : Xcode 5.1 + iOS 7.1에서 코드 서명이 끊어졌습니다.
핵심은 Mac에서 이전 프로비저닝 프로파일을 삭제하고 Apple 웹 사이트에서 새 이름 (다른 이름으로)을 작성하여 다운로드하는 것입니다. Xcode 5.1은 기존 프로비저닝 프로파일을 손상시키는 것으로 보이며 다시 다운로드하더라도 도움이되지 않습니다.
내 솔루션은 개발 센터로 이동하여 배포 프로비저닝 프로파일을 찾고 만료되었습니다. 그래서 편집을 탭하고 갱신하고 다운로드 한 다음 설치하고 빌드 설정에서 프로파일을 선택하여 작동했습니다.
HTH 누군가.
소프트웨어 개발자로 20 년 이상 겪었던 모든 개발 문제 중에서 Xcode의 코드 서명 / 프로비저닝 프로파일 쓰레기만큼 많은 시간을 낭비하지 않았습니다.
This week, I have wasted 8+ hours trying to build an Ad-hoc release of our iPhone app. In the past, it just worked, I could Archive, stick a download button on our in-house webpage, and users could just install our app from this page.
But, this week, I was facing the same "No identities are available" issue, described here.
EVENTUALLY, here's what solved the issue for me:
When I logged into the hopeless Apple Developers website, it showed that our company had 2 "iOS Distribution" certificates. They were valid, their expiry dates are months away, and in the Keychain Access application, the certificates were installed and valid... no problems here.
But what fixed my issue was to delete these two certificates, recreate a new one, then recreate my "In house" Provisioning Profile (as the original one was now showing as being invalid, as it used the old "iOS Distribution" certificate).
I also went into the "Keychain Access" application on my MacBook, and deleted all "iOS Distribution" keychains.
Then, I downloaded the new certificates & provisioning profiles, now, finally, Xcode would report that there was an identity which I could code-sign with.
To the Xcode development team:
Please. Get this fixed.
If a developer like myself, is up against a wall, unable to get a valid Provisioning Profile, which will result in a downloadable app, which will fail each time on "The app couldn't be downloaded at this time" message.. DON'T allow the Archive function to be used.
Instead, TELL the user what the problem is. HELP them resolve it, rather than going through the motions, and happily allowing them to create Archives which will never be useable.
And if an Ad-Hoc install is invalid, please put something in the Log to explain what's gone wrong, and make this accessible from Xcode. Currently your "The app can't be downloaded at this time" message is both useless and misleading.
One last thing (if this helps):
Our company accidentally let its Developer Enterprise Program license expire last month. We did then renew, everything was seemingly okay again, but perhaps, behind the scenes, this messed up our "iOS Distribution" certificate ? And perhaps, not. From the Apple website's point of view, everything was fine.
My issue was that I had none.myApp in my Bundle Identifier whereas in the AppID, I had com.myApp.
This drove me crazy for hours.
I ran into this issue today and it seems to be related to the face that the profile started with a number. I deleted the profile and recreated it exactly the same way (after a lot of other troubleshooting steps found on SO) EXCEPT this time I started with a word instead of a number. Coincidence? Not sure but worth trying.
Had this yesterday and could not figure it out, no matter what I did! To solve the problem, I went to both the Project and the Target in Xcode, and under code signing, chose
- Code signing identity: Don't code sign
- Provisioning profile: None
Build, and then Product > Archive, and now Organizer chose the correct code signing identities and profiles to allow it to get to the Validation step. Woohoo!
It happen to me after update Xcode.
I fixed doing the follow
change the sign in to "no sign"
restart Xcode
set it to the correct sign
re-archive the build
I hope it helps
"If Xcode doesn’t find signing identities, a dialog stating “No identities are available for signing” appears. Verify that you have a distribution certificate and an ad hoc provisioning profile before continuing.
If your ad hoc provisioning profile doesn’t appear in the Provisioning Profile pop-up menu when you create the iOS App Store Package, refresh the profiles in Xcode, as described in “Refreshing Provisioning Profiles in Xcode.”"
In my case, the adhoc provisioning that I wanted to set was not selectable in Code Signing in Build Settings. Though, I created and downloaded the adhoc provisioning from developer store. The answers mentioned here didn't work for me. Fix Issue button in General tab fixed the issue by downloading the required adhoc provisioning file by itself.
Creating a new certificate, Profile in Apple development center did not work for me! I tried editing a profile/certificates and download again and double click to install in KeyChain, but still did not work. I restarted XCode (Version 7 and Mac on El Capitan), restarted Mac but still did not work!
What worked for me is: XCode -> Preferences -> Accounts - Then I deleted the Apple ID. Shutdown my Mac, and restarted it. Started my XCode, added the Apple ID, went to view details in Apple ID's and downloaded the Provisional Profile again and only then it started working!
Restarting solved my problem. I have a new mac and tried downloading the profiles, which should've transferred anyways. restarting solved it.
참고URL : https://stackoverflow.com/questions/18746703/no-identities-are-available-for-signing-xcode-5
'Programing' 카테고리의 다른 글
활동에서 뒤로 버튼을 처리하는 방법 (0) | 2020.07.04 |
---|---|
HashSet / HashMap에 중복 값을 추가하면 이전 값이 대체됩니다 (0) | 2020.07.03 |
구아바 ImmutableMap 초기화 (0) | 2020.07.03 |
child_process.execSync를 사용하지만 콘솔에서 출력을 유지하십시오. (0) | 2020.07.03 |
git에서 첫 번째 커밋을 제거하는 방법은 무엇입니까? (0) | 2020.07.03 |