问题
之前build的时候都没有问题的,但这几天用xcodebuild WDA的时候出现了问题,提示说自动签名是disabled,导致没办法生成profile。
解决方法
根据报错的提示信息:Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=udid' test -allowProvisioningUpdates