tdlight/example/swift/README.md
levlam 35179d5b15 Minor Swift example fixes.
GitOrigin-RevId: 839b50a7f881025d2b9cc2b2e761423a1305a2f6
2018-02-12 19:28:26 +03:00

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.