mac/ios 从命令行设置 webrtc 并创建一个 .bash_profile
mac/ios setting up webrtc from the command line and creating a .bash_profile
我正在尝试在本机 ios 应用程序中实施 webrtc。我正在学习本教程
http://ninjanetic.com/how-to-get-started-with-webrtc-and-ios-without-wasting-10-hours-of-your-life/
教程从使用命令行和创建文件开始.bash_profile
第 2 步状态
2) 下载 Chromium depot 工具
切换到您的工作目录并使用 git:
获取 Chromium depot_tools 存储库
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
这些是构建过程中使用的一堆工具,它们需要在您的路径中,因此您需要修改您的 .bash_profile(或其他 shell 文件)和像这样修改 PATH 行:
export PATH=/a_bunch_of_stuff:/working_directory/depot_tools:$PATH
我有点困惑要在 .bash_profile 中放入什么,/a_bunch_of_stuff:/
里面有什么,还有什么我应该添加到这个 .bash_profile 中的吗?
您只是向 $PATH 添加了一个位置。 /a_bunch_of_stuff:/ 只是意味着所有已经在你的 $PATH 中的东西。您要添加的一个新位置是您 depot_tools.
的位置
我正在尝试在本机 ios 应用程序中实施 webrtc。我正在学习本教程
http://ninjanetic.com/how-to-get-started-with-webrtc-and-ios-without-wasting-10-hours-of-your-life/
教程从使用命令行和创建文件开始.bash_profile
第 2 步状态
2) 下载 Chromium depot 工具
切换到您的工作目录并使用 git:
获取 Chromium depot_tools 存储库git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
这些是构建过程中使用的一堆工具,它们需要在您的路径中,因此您需要修改您的 .bash_profile(或其他 shell 文件)和像这样修改 PATH 行:
export PATH=/a_bunch_of_stuff:/working_directory/depot_tools:$PATH
我有点困惑要在 .bash_profile 中放入什么,/a_bunch_of_stuff:/
里面有什么,还有什么我应该添加到这个 .bash_profile 中的吗?
您只是向 $PATH 添加了一个位置。 /a_bunch_of_stuff:/ 只是意味着所有已经在你的 $PATH 中的东西。您要添加的一个新位置是您 depot_tools.
的位置