I am trying to create a Managed
package version.
But when I run the command:
sfdx force:package:version:create --package "MyApp" --postinstallscript AppInstallHandler.cls -w 10 --definitionfile config/project-scratch-def.json --loglevel TRACE
I get an error response of:
ERROR running force:package:version:create: MyApp: Installing an app (MyApp) that has been deleted.
This error message isn't giving me any clue regarding what the root cause is.
The source does include a ConnectedApp
, is it OK to try and include a ConnectedApp
in a second-generate Managed
package?
Any other ideas what might be causing this?