From a116d847566280577972e5aed380ffcc239cfc56 Mon Sep 17 00:00:00 2001 From: Tom Burgin Date: Thu, 14 Feb 2019 11:36:41 -0500 Subject: [PATCH] Update README.md (#56) bazel build --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 35709bb..cb1e6ac 100644 --- a/README.md +++ b/README.md @@ -148,22 +148,22 @@ pre-compiled version of Restor. #### Requirements * Xcode 9+ installed -* [cocoapods](https://cocoapods.org) installed +* [bazel](https://bazel.build) installed * A valid "Mac Developer" Signing Certificate from Apple -* Xcode command line tools installed +* Xcode 9+ command line tools installed #### Build steps 1. `git clone https://github.com/google/restor.git` 1. `cd restor` -1. `pod install` -1. Find your Team Identifer. Manually selecting the correct Team Identifier might be required if you have multiple developer certificates. +1. Find your certificate's common name (CN). ```bash - security find-certificate -p -c "Mac Developer" | openssl x509 -inform pem -subject | perl -ne '/OU=(\w+)\// && print $1' + security find-certificate -p -c "Mac Developer" | openssl x509 -inform pem -subject | perl -ne '/CN=([\w :\(\)]+)\// && print $1' ``` +1. Edit the `.bazelrc` file, filling in your CN. 1. Build with the following command, making sure to insert a valid Team Identifier from the previous step. ```bash - make release TEAM_ID=EQHXZ8M8AV + bazel build //Restor ``` If the build was successful the last line will contain the path to your