Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added requirements to build for 2.1.3 version
  • Loading branch information
simbadMarino authored May 29, 2022
1 parent 430981e commit 75eae09
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,20 @@
BTFS shared libraries implementation for iOS and Android
This code is a modified fork from the official bittorrent/go-btfs code. Some dependencies were adapted/removed so it can run on iOS. Android support is pending to be tested.

Steps to build a shared library for iOS:
# Requirements(iOS library):
* go1.16.15 darwin/arm64
* XCode command line tools installed
* Tested on XCode 13.3.1, other versions might present unexpected problems.

# Steps to build a shared library for iOS:

1. git clone this repository
2. cd into cmd/btfs
3. export IOS_OUT=$(pwd) #Defining the IOS_OUT PATH envar used in makefile.
4. make ios


Steps to add shared library into iOS for testing:
# Steps to add shared library into iOS for testing:

1. Open btfs-ios-app in Xcode
2. Copy btfs.a and bfs.h into btfs/btfs-test using Xcode drag and drop function.
Expand Down

0 comments on commit 75eae09

Please sign in to comment.