Can I automate the to trust ios enterprise app on iOS device

refer to this link https://learn.buildfire.com/en/articles/1473780-how-to-manually-trust-an-ios-enterprise-app

is there a way for appium to automate this step?

or can I do it using some CLI from xcode?

Thanks