A valid provisioning profile for this executable was not found.

Hi Developer,


have problems with my provisioning profile.


Steps


create certificate for Distribution

create app ID select BundleID

create provisioning profile !!!! successfull !!!!!


import profile successfull too !!!!

select that import profile in Xcode 8.3.



it compile success,but message A valid provisioning profile for this executable was not found.

appears.


have clean my app,and remove.


uncheck the selected to Automaticly Sign,the wrong ID is used,have 2

different Developer ID's in my Account.


it was soooooooo **** complicated with so many certificates.

there are certificates for BundleID,AppID,in APP ID are certificates to add more

and more and more certificates in this certificate for every other stuff...


Now my provisioning profile contains 1 vertificate,but first XCode message appear

that the profile does not include the certificate this is wrong,maybe a Bug,this message is

gone solved ,however but the last one did not solved



need help to create provisioning profile with push certificate,

all worked before but it was still for Development and can not send

to any other Devices.


have no idea