Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to build webrtc with ios objective c

I' m trying to build AppRTCDemom example from google webrtc source code, I'm following the readme file, but after trying this "gclient runhooks" I get:

"key_id gyp variable needs to be set explicitly because there are multiple codesigning keys, or none"

Can someone say what happend? what is missing here?

tks

like image 247
user1698738 Avatar asked Feb 15 '23 12:02

user1698738


1 Answers

Gp-coder's solution was only half the fix for me. After making the change he recommended, I ran into another similar error in another file:

AssertionError: Multiple codesigning identities for identity: iPhone Developer

This assertion is occurring in the following file:

webrtc/trunk/tools/gyp/pylib/gyp/xcode_emulation.py

Strangely, the line after the assertion will take the first code signing identity in the list so the solution was as easy as commenting out the assertion on line 793. That assumes you actually want the first code signing identity. If not, change the index being used on the results array on line 796 to whatever you need.

I ended up writing a blog post with these changes as well as a few others you need to get the full build working.

like image 171
jzn Avatar answered Feb 22 '23 23:02

jzn