The app must have been published once in order to be transferrable. If it hasn't been published then it can't be transferred. Instead you'll have to recreate all the keys and IDs and re-bind the app and re-deploy.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: