Xcode 6 beta 2 issue exporting .ipa: “Your account

2019-01-02 19:40发布

I'm having trouble exporting an app for Ad Hoc Distribution on Xcode 6 beta 2:

Failed to locate or generate matching signing assets

When exporting my project for ad hoc development on Xcode 6, I receive this alert. I've tried exporting it on Xcode 5 and had no problems at all saving the .ipa. Is anyone experiencing this problem as well?

27条回答
高级女魔头
2楼-- · 2019-01-02 20:09

I get a solution without renew the certificate:

1 - Archive the target with the appropiate Code Signing Identity and Provisioning Profile

2 - Right button in the created file in Organizer --> Show in Finder

3 - Right button in the xcarchive file --> Show package content

4 - There, in Finder, go to Products/Applications/

5 - Upload the file Products/Applications/appName to iTunes

6 - When the app appear in iTunes, right click on it --> Show in Finder. This is the ipa file

7 - Send this ipa through App Loader 3.0

I dont think that it is a lasting solution but do not want to delete my certificates

查看更多
与风俱净
3楼-- · 2019-01-02 20:11

This is what worked for me.

  1. On my machine I kept both Xcode 5 and Xcode 6 beta.

  2. From Xcode 6 beta, Archive the project. Close Xcode 6.

  3. Open Xcode 5, go to Organizer and export as Ad Hoc build with proper provisioning profile.

That's it!

查看更多
查无此人
4楼-- · 2019-01-02 20:11

I got the same issue today, and found a good solution I think.

First of all, there're something unnormal:

enter image description here

the normal is:

enter image description here

and in the keychain:

enter image description here

the normal is:

enter image description here

then, I realize that I lack the the correct provisioning profile which contains the correct iOS Distribution certificate.

Finally, my solution is: use my CertificateSigningRequest.certSigningRequest file to generate a new iOS distribution certificate, and use the new iOS distribution certificate to generate a new provisioning profile.

Note, I don't delete the old certification and provisioning profile, because my colleague works well with them. Does this affect the apps I already published? The answer is NO. I just change the code signing certificate, and some important certificate like push notification certificate is ties with app ID:

enter image description here

So don't worry about that.

Hope the above is helpful.

查看更多
美炸的是我
5楼-- · 2019-01-02 20:14

In my case, what solved the problem was deleting all Distribution Certificates from my Apple Developer Account. Then, Xcode managed to create development and distribution certificates again, and that did the trick.

查看更多
有味是清欢
6楼-- · 2019-01-02 20:14

I think its a bug from Xcode. to make it work, i need delete the actual distribution provisional profile and i had to make a new provisional distribution profile from devcenter. This works from me

查看更多
其实,你不懂
7楼-- · 2019-01-02 20:19

Create new iOS Distributon Certificate and choose Production> App Store & AdHoc section. Also don't forget to change Target>Build Settings> Code Signing all to iOS Distribution.(but after created ipa set it back to iOS Developer) Only this solved my problem.

查看更多
登录 后发表回答