I’m trying to set up Appium 2 for iOS testing by running Appium Inspector.
However, I’m running into an issue where whenever I try to initiate a session, it fails to run because XCode fails to build webdriveragent.
I have an iPhone 12 Pro Simulator running iOS 14.5.
The simulator is running fine, and whenever I build the webdriveragent project directly from XCode, it works.
However the build command that appium inspector calls seems to fail every single time.
Running the same command directly in the commandline ends up with the same error.
In “Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/”
Rename
MacOSX.sdk -> MacOSX12.5.1.sdk (the same as my current Mac OSX version)
Apparently xcodebuild was failing due to this descrepency in os version but didn’t output anything.
Which is double weird because xcode UI had no issues.
But since fixing this portion, it seems to be running fine.