pristineio / webrtc-build-scripts

A set of build scripts useful for building WebRTC libraries for Android and iOS.
BSD 3-Clause "New" or "Revised" License
1.13k stars 447 forks source link

Problem using the build scripts - dance ends with "choose_code_signing:1: = not found" #59

Open anagromataf opened 9 years ago

anagromataf commented 9 years ago

I'm failing using the build scripts. After cloning the repo I ran through the steps form the README.

> git clone https://github.com/pristineio/webrtc-build-scripts.git
> cd webrtc-build-scripts
> source ios/build.sh
> export WEBRTC_DEBUG=true
> dance
Get the current working directory so we can change directories back when done
If no directory where depot tools should be...
Make directory for gclient called Depot Tools
Pull the depot tools project from chromium source into the depot tools directory
Cloning into '/Users/tobias/Projekte/webrtc-build-scripts/depot_tools'...
remote: Sending approximately 13.43 MiB ...
remote: Total 11922 (delta 7651), reused 11922 (delta 7651)
Receiving objects: 100% (11922/11922), 13.43 MiB | 395.00 KiB/s, done.
Resolving deltas: 100% (7652/7652), done.
Checking connectivity... done.
Go back to working directory
Get the current working directory so we can change directories back when done
If no directory where depot tools should be...
Change directory into the depot tools
Pull the depot tools down to the latest
Already up-to-date.
Go back to working directory
Get the current working directory so we can change directories back when done
If no directory where depot tools should be...
Change directory into the depot tools
Pull the depot tools down to the latest
Already up-to-date.
Go back to working directory
choose_code_signing:1: = not found

After this the depot_tools are updated/downloaded correctly but the webrtc sources have not been checked out (the directory "webrtc" is empty).

I am grateful for every tip.

anagromataf commented 9 years ago

The problem seams to be zsh-related. I'm trying it with bash now and it looks promising.

anagromataf commented 9 years ago

With bash as shell it works. Unfortunately I'm very bad in shell programming, but I guess it has to do something with the "signature" of the function choose_code_signing.

yehjunwei commented 9 years ago

Nice comment, you save my day.

hyphenlee commented 8 years ago

Thanks! I have the same problem.

mfroeschl commented 8 years ago

Had the same issue, saved my day as well. Thanks for doing the research, and sharing it with us!