【问题标题】:mac/ios setting up webrtc from the command line and creating a .bash_profilemac/ios 从命令行设置 webrtc 并创建 .bash_profile
【发布时间】:2016-02-13 06:09:00
【问题描述】:

我正在尝试在本机 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 中的吗?

【问题讨论】:

    标签: ios macos shell webrtc .bash-profile


    【解决方案1】:

    您只是在 $PATH 中再添加一个位置。 /a_bunch_of_stuff:/ 仅表示 $PATH 中已经存在的所有内容。您要添加的一个新位置是您的 depot_tools 的位置。

    【讨论】:

    • 谢谢,这很有道理。
    猜你喜欢
    • 1970-01-01
    • 2023-04-11
    • 1970-01-01
    • 1970-01-01
    • 2016-02-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-06-04
    相关资源
    最近更新 更多