Skip to content

Commit 85807e2

Browse files
committed
fix rdm
1 parent b0a29a9 commit 85807e2

File tree

1 file changed

+13
-20
lines changed

1 file changed

+13
-20
lines changed

README.md

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Swift Client for Everscale SDK
22

33
[![SPM](https://img.shields.io/badge/swift-package%20manager-green)](https://swift.org/package-manager/)
4-
[![SPM](https://img.shields.io/badge/SDK%20VERSION-1.38.0-orange)](https://github.com/tonlabs/TON-SDK)
4+
[![SPM](https://img.shields.io/badge/SDK%20VERSION-1.38.0-orange)](https://github.com/tonlabs/ever-sdk)
55

66
Swift is a strongly typed language that has long been used not only for iOS development. Apple is actively promoting it to new platforms and today it can be used for almost any task. Thanks to this, this implementation provides the work of Everscale SDK on many platforms at once, including the native one for mobile phones. Let me remind you that swift can also be built for android.
77

@@ -54,41 +54,34 @@ client.crypto.factorize(TSDKParamsOfFactorize(composite: "17ED48941A08F981")) {
5454

5555
### Install sdk with bash script
5656

57-
0. This download TON-SDK to current dirrectory, compile it and add library symlinks to your system
57+
0. This download SDK to current dirrectory, compile it and add library symlinks to your system
5858
```sh
5959
cd everscale-client-swift
6060
```
6161

62+
1. For install or update the SDK version simply by running these command
6263
```sh
6364
bash scripts/install_tonsdk.sh
6465
```
6566

66-
- __note:__ then you can update the TON-SDK version simply by running these commands:
67-
```
68-
cd ton-client-swift/TON-SDK
69-
git pull
70-
cargo update
71-
cargo build --release
72-
```
73-
7467
### Manual install sdk ( if you have any problem with script install_tonsdk.sh )
7568

7669
<details>
7770
<summary>SPOILER: Manual installation</summary>
7871

7972
0. Install Rust to your OS
80-
1. git clone https://github.com/tonlabs/TON-SDK
81-
2. cd ./TON-SDK
73+
1. git clone https://github.com/tonlabs/ever-sdk
74+
2. cd ./SDK
8275
3. cargo update
8376
4. cargo build --release
8477
5. copy or create symlink of dynamic library
8578
__macOS :__
86-
**./TON-SDK/target/release/libton_client.dylib**
79+
**./SDK/target/release/libton_client.dylib**
8780
to
8881
**/usr/local/lib/libton_client.dylib**
8982

9083
__Linux :__
91-
**./TON-SDK/target/release/libton_client.so**
84+
**./SDK/target/release/libton_client.so**
9285
to
9386
**/usr/lib/libton_client.so**
9487
6. Create pkgConfig file :
@@ -126,7 +119,7 @@ Cflags: -I${includedir}
126119
Libs: -L${libdir} -lton_client
127120
```
128121
7. Copy or create symlink of file
129-
**/TON-SDK/ton_client/client/tonclient.h**
122+
**/SDK/ton_client/client/tonclient.h**
130123
to
131124
__MacOS:__
132125
**/usr/local/include/tonclient.h**
@@ -151,13 +144,13 @@ rustup target add aarch64-apple-ios x86_64-apple-ios || true && \
151144
cargo install cargo-lipo
152145
```
153146

154-
2. Build TON-SDK for iOS
147+
2. Build SDK for iOS
155148

156149
**Go to your project folder and:**
157150

158151
```bash
159-
git clone https://github.com/tonlabs/TON-SDK.git || true && \
160-
cd ./TON-SDK
152+
git clone https://github.com/tonlabs/SDK.git || true && \
153+
cd ./SDK
161154
```
162155

163156
```bash
@@ -167,7 +160,7 @@ cargo lipo --release
167160
```
168161
⚠️ Wait installation
169162

170-
3. In xcode __File > Add files to "Name Your Project"__ navigate to ./TON-SDK/ton_client/tonclient.h
163+
3. In xcode __File > Add files to "Name Your Project"__ navigate to ./SDK/ton_client/tonclient.h
171164

172165
4. Create bridge. In xcode __File > New > File__, select Header File, set name for example **Tonclient-Bridging-Header.h**
173166

@@ -193,7 +186,7 @@ like this:
193186

194187
![](https://user-images.githubusercontent.com/10519803/101789966-9591bc80-3b0a-11eb-8918-1adf36130617.png)
195188

196-
6. Add path to search for libraries ( path to directory withlibton_client.a ) **$(PROJECT_DIR)/TON-SDK/target/universal/release**
189+
6. Add path to search for libraries ( path to directory withlibton_client.a ) **$(PROJECT_DIR)/SDK/target/universal/release**
197190

198191

199192
![](https://user-images.githubusercontent.com/10519803/101791171-e524b800-3b0b-11eb-98fa-29b7a50c3b67.png)

0 commit comments

Comments
 (0)