mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-20 12:42:50 +02:00
(& rename instructions to the actual state) Old instruction names were from the time when tdesktop used GYP that had MSVC, XCode and CMake backends. But tdesktop uses CMake now, so these names are no longer correct.
28 lines
927 B
Markdown
28 lines
927 B
Markdown
## Build instructions for Mac App Store
|
|
|
|
**NB** These are used for Mac App Store build, after the [Build for macOS][mac] instructions.
|
|
|
|
### Prepare breakpad
|
|
|
|
Go to ***BuildPath*** and run
|
|
|
|
MACOSX_DEPLOYMENT_TARGET=10.12
|
|
|
|
cd Libraries/macos
|
|
|
|
git clone https://chromium.googlesource.com/breakpad/breakpad
|
|
cd breakpad
|
|
git checkout bc8fb886
|
|
git clone https://chromium.googlesource.com/linux-syscall-support src/third_party/lss
|
|
cd src/third_party/lss
|
|
git checkout a91633d1
|
|
cd ../../..
|
|
git apply ../patches/breakpad.diff
|
|
cd src/client/mac
|
|
xcodebuild -project Breakpad.xcodeproj -target Breakpad -configuration Debug build
|
|
xcodebuild -project Breakpad.xcodeproj -target Breakpad -configuration Release build
|
|
cd ../../tools/mac/dump_syms
|
|
xcodebuild -project dump_syms.xcodeproj -target dump_syms -configuration Release build
|
|
cd ../../../../..
|
|
|
|
[xcode]: building-xcode.md
|