The problem is that you have several iOS developer keys. This line is located in the line of the file libjingle_examples.gyp 271 above the inscription.
When you run the command directly:
security find-identity -p codesigning -v | grep "iPhone Developer" | awk '{print $2}' 555XXXX6DA325E6097E5301381XXXXXXD35D620E 315XXXX6B19AD10A0F4567XXXX03B1BXXXXXXXXX
it lists two dev identifiers, which is the problem, so I edited libjingle_examples.gyp line 271 and added | head -1 | head -1 so that it returns only 1 key, in this case the top or first key. I also double-checked in Xcode to ensure that the top key is my current one.
I have been working in this space for the past few months, and webrtc on iOS is not easy. To help this problem, I added a github repository with a working example iOS application using webrtc.
https://github.com/gandg/webrtc-ios
The site also links to a Google site, so it should be a useful starting point.
source share