App installation failed

A C++ / iOS project that was created with cocos,
fails to run on an iPhone Xs Max device from Xcode.
The following message appears:
38

App installation failed.
No code signature found.

There is a valid provisioning profile,
Manual signing or automatic all end with the same message.
Version 3.17
Xcode 10.1
iOS 12.3.1

Please review Apples IOS deployment docs.