I am trying to download an application to a device, but received a message as shown in the image.
How can i solve this? I am using xcode 6.4
I assume that you are working on a device. Using a different provisioning profile, the key to solving this problem is to use the developer's profile rather than the distribution profile.
In my case, this dialog box appeared in an Objective-C project using Swift modules. We are debugging the Release configuration directly. If so, then my problem was to disable the Swift Compiler - Code Generation optimization for release: