Question: 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](https://i.stack.imgur.com/XJOZQ.png)

Can anybody tell me how to solve this?

Answer: 
I have been searching answer for this problem past 6 hours. Nothing is satisfactory. As no one knows why this is happening. 
Following is way to generate .ipa via command line. If that works I will update here tomorrow.

> 
> xcodebuild -exportArchive -archivePath $projectname.xcarchive -exportPath $projectname -exportFormat ipa -exportProvisioningProfile "Provisioning Profile Name"
> 
> 
> 

Note : The "Provisioning Profile Name" is the name specified in the name field of the certificate (viewable from developer.apple.com).

This will create .ipa.

credit goes to Orginal author [here](https://stackoverflow.com/questions/25901269/xcode-attempted-to-locate-or-generate-matching-signing-assets-and-failed-to-do-s)

This trick worked for me.
For me, all I had to do was restart XCode and it worked.