Welcome to MobileTesting YouTube Channel
** This is a temporary quick fix, will make a new video with a better fix.
In this video we will resolve the 'xcodebuild failed with code 65' error. Before doing this ensure you are logged into Xcode with your free Apple Developer account.
When we try to run the test cases on a real iPhone device, we get this error 65. It happens because "[Xcode] WebDriverAgentLib has conflicting provisioning settings"
WebDriverAgent Path in Mac:
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/
Open the WebDriverAgent.xcodeproj in Xcode and search for this "product bundle identifier" in 'Bundle Settings' tab.
Try to change this value "com.facebook.WebDriverAgentLib" to something different.
Choose iPhone in device list and build the project.
The following errors will get fixed:
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[XCUITest] Error: xcodebuild failed with code 65
Error: xcodebuild failed with code 65
[MJSONWP] Encountered internal error running command: Error: xcodebuild failed with code 65
** Ensure you trust the developer in your real iPhone else, the app will get deleted as soon as its installed.
When you run the test case keep an eye on your Mobile screen, the webdriver agent app will be installed and uninstall immediately. I don’t know the reason for this, but what you should do here is as soon as you see the webdriver agent app installed disconnect the cable from mac
Then in iPhone - Settings - General - Profiles & Device Management
webdriver agent will be listed here - tap on it and click ‘Trust’ option. Come to home screen & click on webdriver agent app once, you should see the app opens & a black screen is displayed.
Reconnect the device and rerun your test cases., it should work.
In questa pagina del sito puoi guardare il video online [Appium Error Fixed] Error: xcodebuild failed with code 65 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato MobileTesting 01 ottobre 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 46,816 volte e gli è piaciuto 144 spettatori. Buona visione!