Different versions of Xcode need to be installed under specific Mac OS versions and can develop specific iOS versions. For more details, refer to Wikipedia.
High version Xcode can't be installed on macOS with a lower version.
If you try to install Xcode by downloading Xcode.zip, you could then see errors like cpio read error:Undefined error:0
when decompressing.
Apple Developer Certificate is required to deploy iOS-Tagent. Fortunately, Apple now allows us to register with Apple ID without payment.
Select Xcode
-> Preferences
-> Accounts
-> Manage Certificates
-> below the left column +
-> iOS Development
to login Xcode.
After login, you need set up the developer certificate. WebDriverAgent
-> WebDriverAgent-Runner
-> General
-> Signing
select your certificate
If you are using a free developer certificate, you may see the error Xcode failed to create provisioning profile
This error can be fixed by changing the Bundle Identifier Build Settings
-> Product Bundle Identifier
. This should be a unique identifier, you can set up your own.Here's an example 'com.xxx.webDriverAgent-test123'.
The first time you install iOS-Tangent to your iPhone, you will get a pop up as shown below. Select Settings
The first time you installed iOS-Tagent to your iPhone, you will get a pop up as shown below. Select Settings
-> General
-> Device Management
-> to trust the developer certificate on your iPhone. Then retry "test" in Xcode, it should work. See Apple documentation