XITRIX / iTorrent

Torrent client for iOS 16+
2.07k stars 197 forks source link

How to compile? Error 'boost/config.hpp' file not found #350

Open matti157 opened 1 week ago

matti157 commented 1 week ago

Cloned the repository, configured the parameters for signing, but when I compile it goes to error because it can't find the boost/config.hpp file

Error at line of code “#include <boost/config.hpp>” inside export.hpp

There is a building guide? I use Xcode 16

XITRIX commented 1 week ago

You need to install Boost and OpenSSL: brew install boost openssl

Then run: ./submodules/LibTorrent-Swift/make.sh

Now you can try building app

Skawtnyc commented 5 days ago

You need to install Boost and OpenSSL: brew install boost openssl

Then run: ./submodules/LibTorrent-Swift/make.sh

Now you can try building app

I see there is an ios.yml file in the workflow directory, but it doesn’t activate when I try to run it. Is there any way to get that working so we could run a compile process within GitHub itself if we fork the repository?

XITRIX commented 4 days ago

Workflow contains a lot of "Secrets" so you'll need to set them up for yourself as well (certificates, provision profiles, appstore connect key, etc). Also in current state it runs only on tag push, you'll probably need to modify it first

Skawtnyc commented 4 days ago

Workflow contains a lot of "Secrets" so you'll need to set them up for yourself as well (certificates, provision profiles, appstore connect key, etc). Also in current state it runs only on tag push, you'll probably need to modify it first

That’s probably a lot more involved than I want to get. The app works fine for me right now even on iOS 18.1b5, so I can wait until your next compile/release cycle.