From 9f4e5e46031bd0489b0baa61460cd4b9c6552d35 Mon Sep 17 00:00:00 2001 From: Alexander Nestorov Date: Fri, 26 Jan 2018 01:55:31 +0100 Subject: [PATCH] Fix xcode build instructions (#4345) --- docs/building-xcode.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/building-xcode.md b/docs/building-xcode.md index 80b1b2c82e..f3d356f32c 100644 --- a/docs/building-xcode.md +++ b/docs/building-xcode.md @@ -16,6 +16,11 @@ Go to ***BuildPath*** and run MACOSX_DEPLOYMENT_TARGET=10.8 + ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" + brew install automake fdk-aac git lame libass libtool libvorbis libvpx opus sdl shtool texi2html theora wget x264 xvid yasm automake libtool + + sudo xcode-select -s /Applications/Xcode.app/Contents/Developer + git clone --recursive https://github.com/telegramdesktop/tdesktop.git cd Libraries @@ -64,9 +69,6 @@ Go to ***BuildPath*** and run sudo make install cd .. - ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" - brew install automake fdk-aac git lame libass libtool libvorbis libvpx opus sdl shtool texi2html theora wget x264 xvid yasm - git clone https://github.com/FFmpeg/FFmpeg.git ffmpeg cd ffmpeg git checkout release/3.4 @@ -85,7 +87,7 @@ Go to ***BuildPath*** and run cmake -D LIBTYPE:STRING=STATIC -D CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.8 .. make -j4 sudo make install - cd .. + cd ../.. git clone https://chromium.googlesource.com/external/gyp git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git