Skip to content

Commit edf0b73

Browse files
committed
update readme with build instructions
1 parent ef38364 commit edf0b73

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,28 @@ open ./web3swiftBrowser.xcworkspace
296296

297297
### Build from source
298298

299-
- Clone repo
300-
- Install dependencies via `./carthage-build.sh --platform iOS` (temp workaround, foe of Carthage bug. [For details please look at](https://github.com/Carthage/Carthage/issues/3019#issuecomment-665136323)
299+
### Default web3swift build
300+
301+
1. Install carthage:
302+
```
303+
brew install carthage
304+
```
305+
2. Run carthage update:
306+
```
307+
# Available platforms: `iOS, macOS`
308+
carthage update --platform iOS --use-xcframeworks
309+
```
310+
3. Build project in XCode:
311+
`Command + B`
312+
313+
### Build web3swift into .framework:
314+
```
315+
carthage build --no-skip-current --platform iOS
316+
```
317+
318+
### In case of build errors, please check this solition
319+
320+
- Install dependencies via `./carthage-build.sh --platform iOS` (temp workaround, for of Carthage bug. [For details please look at](https://github.com/Carthage/Carthage/issues/3019#issuecomment-665136323)
301321

302322
### Requirements
303323

0 commit comments

Comments
 (0)