Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCode 11 #2

Open
dexmar opened this issue Oct 28, 2019 · 10 comments
Open

XCode 11 #2

dexmar opened this issue Oct 28, 2019 · 10 comments

Comments

@dexmar
Copy link
Contributor

dexmar commented Oct 28, 2019

Hello!

I'm interested in i2p for iOS so I grabbed your project and started to work on it. I have successfully updated and built i2p, boost and openssl but am running into numerous errors with the wrapper that I am not familiar with. Are you interested in working together to get this project updated to XCode 11?

@vovasty
Copy link
Owner

vovasty commented Oct 29, 2019

Hi @dexmar,

yes, I'm planning some changes (hope doing that over this weekend)

  1. switch to https://github.com/leetal/ios-cmake.git
  2. use Daemon.cpp in the wrapper. Currently wrapper has modified version of it (very inconvenient).

I'll create a branch with my ongoing changes shortly.

@dexmar
Copy link
Contributor Author

dexmar commented Oct 31, 2019

Hi @vovasty,

That sounds really great! I used that same iOS-cmake to build i2p.

@vovasty
Copy link
Owner

vovasty commented Nov 10, 2019

hi @dexmar could you share your build things? As per Xcode 11.2 I'm having Invalid OS X arch name: arm64 error. when building i2p

@dexmar
Copy link
Contributor Author

dexmar commented Nov 12, 2019

Hi @vovasty I got it to build but it is a mess, the solution is not portable. I copied .a and .h files around so it needs allot of work. When I moved it to my laptop it has a cmake error still but that gets it allot closer to building. I am going out of town tomorrow otherwise I would fix it tonight. I will have some time over the next few days to look at it though. In the meantime here is what I have, warts and all:

https://www.dropbox.com/s/hpaw8ff85xzfus0/SwiftyI2P-master.zip?dl=1

I will work to get it distribution ready when I get back from holiday.

@vovasty
Copy link
Owner

vovasty commented Nov 12, 2019

Great! Actually I only have problems with device build (simulator is ok). Seems cmake-ios doesn't like Xcode 11.2. I guess it is related to Catalyst somehow.
Reason for these troubles: I need to patch i2p (will submit them PR as soon as will be ready).
So, if you manage how to properly build vanilla i2p for device, it would be great.

@dexmar
Copy link
Contributor Author

dexmar commented Nov 12, 2019

Ok sounds good! I will post here with updates as I have them.

@dexmar
Copy link
Contributor Author

dexmar commented Dec 28, 2019

Hi @vovasty Finally got a chance to work on this. There are warnings generated by libtool at the end but I'm not sure what to do with them. This version uses i2pd 2.29.0, Boost 1.71.0, and openssl 1.0.2t. Now that it builds successfully I am going to work on updating the script to use openssl 1.1.1 series.

https://www.dropbox.com/s/h1m32yk62vv5xf2/Swifty-I2P-Scripts-1.0.2t.zip?dl=1

@dexmar
Copy link
Contributor Author

dexmar commented Feb 3, 2020

Updated to 1.0.2u openssl and Boost 1.72.0. Next update to 1.1.1d openssl.

https://www.dropbox.com/s/hcsvk6prqtleint/Swifty-I2P-Scripts-base-1.0.2u-1.72.0.zip?dl=1

EDIT: Updated the link above, found a small mistake.

@vovasty
Copy link
Owner

vovasty commented Feb 11, 2020

Hi @dexmar sorry for the delay, could you make a PR so it will be authored by you?

@dexmar
Copy link
Contributor Author

dexmar commented Feb 18, 2020

Hi @vovasty let me know if there are any changes you would like to see made to the build scripts that would be useful for the wrapper.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants