When I try to distribute an app I get this error:
Xcode attempted to locate or generate matching signing assets and failed to do so because of the following issues.
No matching provisioning profiles found for "Application/TheApp.app"
None of the valid provisioning profiles allowed the specified entitlements: application-identifier, beta-reports-active, keychain-access-groups.
I don't really understand what that error means. Any help?
You can't submit an app to App Store with beta software, you have to wait GM release.
From Apple
New apps and app updates submitted to the App Store must be built with release versions of Xcode 5. Do not submit apps built with beta software, as beta versions are for development and testing only.
Xcode 6 beta, iOS 8 beta, and OS X Yosemite Developer Preview are pre-release software. Your use is subject to and licensed only under the terms and conditions of the iOS Developer Program License Agreement ("iOS PLA"), including any applicable consent to collect diagnostic data set forth therein. If you have not agreed to the iOS PLA, you are not permitted to use this software.
9 Sep. 2014
You may now use Xcode 6 GM seed to submit apps to the App Store and Mac App Store.