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 19:54

In the official latest Xcode 6.0, this will happen if you accidentally created a record in your entitlements file that has a key like this:

com.apple.security.application-groups

I am not sure if Xcode automatically created it by default. But deleting that key solved my problem. I didn't have to recreate any certificates. It was not my problem.

查看更多
浪荡孟婆
3楼-- · 2019-01-02 19:54

In my case I generated a new distribution profile and added it to XCode, then tried to submit the build. Turns out, all I had to do to get rid of this message is restart XCode and attempt again to submit. Worked.

查看更多
泪湿衣
4楼-- · 2019-01-02 19:55

This is what worked for me (Enterprise Account)

Import the developer profile from the other machine, which loaded the certificate I needed with the secret key.
Rename the app bundle to the enterprise name (it was named under the app store name).
Change the team name in the "General" tab to my company's team - it was defaulting to my personal developer account!

With these changes, I could export an ipa as both ad-hoc and enterprise, upload it to Hockey Rink, and download it on my phone

查看更多
人间绝色
5楼-- · 2019-01-02 19:56

I resolved it following the next steps:

1)in your apple developer account: Create a new Production Certificate Choose the App Store and Ad Hoc Option

2)in your apple developer account: Create a new provisioning profile with you current bundle id and the certificate created in the step one

3)in your xcode:

  • Select your target
  • In the tab Build Settings in the zone Code Signing
  • In the sub-zone Code Signing Identity - Release
  • Set your new distribution certificate (ad hoc)
  • In the Provisioning Profile - set your new provisioning profile (ad hoc)

Seems that xcode 6 now requires an ad hoc distribution certificate in order to export your IPA.

enter image description here

查看更多
牵手、夕阳
6楼-- · 2019-01-02 19:57

I believe the actual reason you ended up in this screen is while trying to get the .ipa file to be distributed to your testers and clients. In Xcode 6, to get the .ipa file you may use the old method for iPA generation:

  1. Select organiser in Xcode. In the Archives tab select the Archive whose iPA file you need to generate.
  2. Right click and select option “Show in Finder”
  3. You will see the .xarchive file. Right click and select “Show Package Contents”
  4. You will see folders: dSYMs, Info.plist and Products.
  5. Open Products>Applications and you will see your .app file.
  6. Drag and drop this .app file to iTunes in Mac.
  7. Your .app file will be listed under "My Apps" in iTunes.
  8. Right click on your application and select “Show in Finder”.

Now you have the .ipa file which you can send to your testers for testing. Hope this helps.

查看更多
ら面具成の殇う
7楼-- · 2019-01-02 19:57

As pointed out by a commenter this has proven to be a solution for myself and others:

I deleted and re-downloaded all my required certificates along with the keys needed to generate and i was able to get past this error

查看更多
登录 后发表回答