tdesktop/docs/building-xcode-mas.md

29 lines
931 B
Markdown
Raw Normal View History

2019-01-05 12:34:34 +00:00
## Build instructions for Xcode 10.1
**NB** These are used for Mac App Store build, after the [Building using Xcode][xcode] instructions.
### Prepare breakpad
Go to ***BuildPath*** and run
2019-12-13 15:13:28 +00:00
MACOSX_DEPLOYMENT_TARGET=10.12
2019-01-05 12:34:34 +00:00
2019-12-13 15:13:28 +00:00
cd Libraries/macos
2019-01-05 12:34:34 +00:00
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 ../../..
2019-12-13 15:13:28 +00:00
git apply ../patches/breakpad.diff
2019-01-05 12:34:34 +00:00
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