no identity found

Building an iOS app I got this error:

so something is not working.
What could that be?

I do have a bundle ID set and there is a Provisioning Profiles for the app in the /Users/cs/Library/MobileDevice/Provisioning\ Profiles/fbb57b23-7796-4d72-ad32-ecd524b76176.mobileprovision file.

No idea what problem was.
I created a new project in Xcode with same bundle ID.
Than I let Xcode fix a couple of things including generating new profiles and certificates.

now it works in Xojo, too.