Note: The Automation instrument only works with apps that have been code signed with a development provisioning profile. Apps signed with a distribution provisioning profile can not be automated with the UI Automation programming interface.
按苹果在相关文档的说法,并不需要源代码,但是需要用开发证书打包,而发布证书打的包是不行的。appium 也是调用的 instrument,所以我想也是一样的