'xcode error: Command CodeSign failed with a nonzero exit code

I am trying to setup the environment for connecting my iPhone with xcode and iOSTagent.

the version of xcode is 11.2.1 and my iphone ios is 13.3.

When I firstly open iostaget with xcode, I have the issue of "Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the Signing & Capabilities editor". I followed the online solution to tick the "auotomatically manage signing" and add a team (personal team).

enter image description here

Then I came across another issue: “The app ID "com.facebook.WebDriverAgentRunner" cannot be registered to your development team. Change your bundle identifier to a unique string to try again.”

Following the online solution again, I changed the bundle identifier to a unique string

enter image description here

after that, I came to the current problem which is about:

  1. ld: warning: directory not found for option '-F/Users/jie/Desktop/iOS-Tagent-master/Carthage/Build/iOS'
  2. Command CodeSign failed with a nonzero exit code

enter image description here

enter image description here

What are the root cause of above two problems and how to fix them?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source