From d144e564d8f48737f1bf684ee741c9ccf6a5909d Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Fri, 17 Jan 2020 16:55:00 -0800 Subject: [PATCH] Project import generated by Copybara. GitOrigin-RevId: df2c4ee5ecd342bd88f332389348615b47a0244c --- mediapipe/docs/mediapipe_ios_setup.md | 28 +++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/mediapipe/docs/mediapipe_ios_setup.md b/mediapipe/docs/mediapipe_ios_setup.md index 533e075d..71a65d4b 100644 --- a/mediapipe/docs/mediapipe_ios_setup.md +++ b/mediapipe/docs/mediapipe_ios_setup.md @@ -1,28 +1,32 @@ ## Setting up MediaPipe for iOS -1. Install [Xcode](https://developer.apple.com/xcode/). +1. Install [Xcode](https://developer.apple.com/xcode/) and the Command Line + Tools. - Follow Apple's instructions to obtain the required developemnt certificates - and provisioning profiles for your iOS device. + Follow Apple's instructions to obtain the required development certificates + and provisioning profiles for your iOS device. Install the Command Line + Tools by -2. Install [Bazel](https://bazel.build/). + ```bash + xcode-select --install + ``` + +2. Install [Bazel 1.1.0](https://bazel.build/). - See their - [instructions](https://docs.bazel.build/versions/master/install-os-x.html). We recommend using [Homebrew](https://brew.sh/): ```bash - brew tap bazelbuild/tap - brew install bazelbuild/tap/bazel + $ brew install https://raw.githubusercontent.com/bazelbuild/homebrew-tap/f8a0fa981bcb1784a0d0823e14867b844e94fb3d/Formula/bazel.rb ``` -3. Install python "future" and "six". +3. Set Python 3.7 as the default Python version and install the Python "six" + library. - To make Mediapipe work with TensorFlow, please install the python "future" - library and the python "six" library: + To make Mediapipe work with TensorFlow, please set Python 3.7 as the default + Python version and install the Python "six" library. ```bash - pip install --user future six + pip3 install --user six ``` 4. Clone the MediaPipe repository.