Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65

Can someone please help on this issue?

selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65

Testing failed:
No profiles for ‘com.facebook.WebDriverAgentRunner.xctrunner’ were found: Xcode couldn’t find any iOS App Development provisioning profiles matching ‘com.facebook.WebDriverAgentRunner.xctrunner’. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
Building for iOS, but the embedded framework ‘CocoaAsyncSocket.framework’ was built for iOS + iOS Simulator.
Building for iOS, but the embedded framework ‘YYCache.framework’ was built for iOS + iOS Simulator.
Building for iOS, but the linked and embedded framework ‘YYCache.framework’ was built for iOS + iOS Simulator.

did you follow -> http://appium.io/docs/en/drivers/ios-xcuitest-real-devices/

1 Like

Hi @Aleksei, yes, but I’m unable to find WebDriverAgentRunner app on the device.

describe more steps. what you did. what flow you follow to build WDA. What profile you added into WDA app.