Some troubleshooting suggestions are here:
I followed the above steps using a wildcard profile and this time I was able to build and test it on my Iphone which I could't do before but, so no error on build but as soon as I turn on build for the app store I get the same error:
A distribution profile is required when building for the app store.
I have tried so many things I dont know what it could be !!
all my cert appear correctly in Xcode I dont get it
tks for the help
@serge r A distribution profile is required when building for the app store.
Unfortunately there is no quick solution that I know of. StackOverflow has many, many posts on this exact issue for people also using Xcode. It is frustrating, but only Apple can make the process better.
Sometimes the only thing you can do is revoke and remove everything and start again.