Why am I getting an error “Failed to locate or gen

2019-01-16 06:14发布

I installed the Xcode 6 GM seed, and I'm trying to create an IPA file for the first time. After archive success, when I click on the Export button, a window appears saying:

Failed to locate or generate matching signing assets

Xcode attempted to locate or generate matching signing assets and failed to do so because of the following issues.

  • Your account already has a valid iOS Distribution certificate.

    If you have your signing identity on another Mac, you can import a developer profile. You can also revoke the current certificate and request one again.

Here's a screenshot of the error:

enter image description here

Can anybody tell me how to solve this?

22条回答
爷、活的狠高调
2楼-- · 2019-01-16 06:56

I edited distribution profile and downloaded it again, restarted xcode and it worked.

查看更多
▲ chillily
3楼-- · 2019-01-16 06:59

In keychain access, -> Show Expired Certificates, then in your login keychain click on expired certificate and delete it. I also had the same expired certificate in my System keychain, so I deleted it from there too.

-> After deleting the expired cert from the login and System keychains,download certificate from below link and open with keychain.

Download https://developer.apple.com/certificationauthority/AppleWWDRCA.cer and add it to Keychain access > certificates (which expires on 2023)

this solved my problem

查看更多
聊天终结者
4楼-- · 2019-01-16 06:59

Not sure why 'Use local signing assets' worked for me

查看更多
SAY GOODBYE
5楼-- · 2019-01-16 06:59

I was able to resolve this issue by renaming the provisioning profile name in member center and refreshing in XCode 6.

查看更多
爷的心禁止访问
6楼-- · 2019-01-16 07:00

Had same problem and now i can EXPORT my App again. 1) this reply was very funny but good NOT TO HEAR ANYONE combining with 2) answered Sep 19 '14 at 23:21 hepled me to get work on my iPhone.

Go to development.apple.com -> Certificates -> All / Production and just delete you iOS Distribution thing. It could be so that you deleted all certificates local and it does not match the original anymore thats why you have this message with this image =) As i said i had the same problem. After deleting just Archive and Export new and it will do this for you automaticly.

Version 6.1.1 (6A2008a)

查看更多
淡お忘
7楼-- · 2019-01-16 07:00

I got the same thing the first time, and then I realized that in the dev site there was a new provisioning profile that started with XC: I restarted xcode and xcode automatically found the XC: profile it created earlier and allowed me to sign the app. It looked as if the restart of xcode and refresh of signatures (after signing in while uploading/verifying the app on xcode) did the trick

查看更多
登录 后发表回答