35179d5b15
GitOrigin-RevId: 839b50a7f881025d2b9cc2b2e761423a1305a2f6
13 lines
334 B
Markdown
13 lines
334 B
Markdown
# TDLib swift MacOS example
|
|
|
|
TDLib should be prebuilt and installed to local subdirectory `td/`:
|
|
```
|
|
cd <path to TDLib sources>
|
|
mkdir build
|
|
cd build
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=../example/swift/td ..
|
|
cmake --build . --target install
|
|
```
|
|
|
|
Then you can open and build the example with the latest Xcode.
|