GithubHelp home page GithubHelp logo

Comments (20)

ueshiba avatar ueshiba commented on June 12, 2024 1

@t0mmar I just updated the tunnel, library and VPN repositories.

Regards,
Jose Blaya

from mobile-ios.

ueshiba avatar ueshiba commented on June 12, 2024 1

@t0mmar take a look at this commit on the tunnel project

pia-foss/tunnel-apple@8bc012a

you should do the same in your custom implementation or use tunnel_by_git('8bc012a') and library_by_git('78663b6')

from mobile-ios.

patriksharma avatar patriksharma commented on June 12, 2024

Same issue faced by me @DonsWayo , any solutions ?

from mobile-ios.

ueshiba avatar ueshiba commented on June 12, 2024

Hello guys,

Sorry for the late reply!

The problem is compiling the openssl framework with the current version of Xcode and support old iOS SDK at the same time. (you need the iOS9 or iOS10 SDK installed in the computer).

If you change your min version to iOS 11 in the Podfile the problem will be fixed. If you want to keep iOS9 or iOS10, you must follow these steps:

Download Xcode 7 from Apple
Install Xcode 7 in Applications/xcode7
sudo xcode-select -switch /Applications/xcode7/Xcode.app/Contents/Developer
Clean all the pod cache from the computer
pod install ... etc
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
I hope this can help you guys!

Regards,
Jose.

from mobile-ios.

t0mmar avatar t0mmar commented on June 12, 2024

I have a fork with a CI build that used to work with the above xcode-select -switch technique, but it started failing with the same error now - something changed:

Installing OpenSSL-Apple (1.1.0h)

[!] Error installing OpenSSL-Apple
[!] /usr/bin/git clone https://github.com/keeshux/OpenSSL-Apple /var/folders/sn/4mxh3x0539l67dvcp20s85sw0000gp/T/d20190731-82591-4nbnd1 --template= --single-branch --depth 1 --branch 1.0

Cloning into '/var/folders/sn/4mxh3x0539l67dvcp20s85sw0000gp/T/d20190731-82591-4nbnd1'...
warning: Could not find remote branch 1.0 to clone.
fatal: Remote branch 1.0 not found in upstream origin

Updating Podfile iOS to 11 works for 'pod install', but the project target 'PIA VPN' fails to build even after setting project iOS deployment target to ios11:

image

from mobile-ios.

patriksharma avatar patriksharma commented on June 12, 2024

@ueshiba Same error after changing the Pod targer version to IOS 11.0
Screenshot 2019-08-01 at 9 45 19 AM

[!] Error installing OpenSSL-Apple
[!] /usr/bin/git clone https://github.com/keeshux/OpenSSL-Apple /var/folders/r7/1435z4cj3t3cx1b3_nvl91vh0000gp/T/d20190801-27052-1bytqc --template= --single-branch --depth 1 --branch 1.0

Cloning into '/var/folders/r7/1435z4cj3t3cx1b3_nvl91vh0000gp/T/d20190801-27052-1bytqc'...
warning: Could not find remote branch 1.0 to clone.
fatal: Remote branch 1.0 not found in upstream origin

from mobile-ios.

patriksharma avatar patriksharma commented on June 12, 2024

It looks like open SSL is not available in the repository anymore ?

from mobile-ios.

ueshiba avatar ueshiba commented on June 12, 2024

Hi guys, the author of the OpenSSL-Apple project has set the min version to iOS11.

As a quick fix, we need to change the min version to iOS 11 and make this change in the Podfile:

pod 'OpenSSL-Apple', '~> 1.1.0j.2'

from mobile-ios.

t0mmar avatar t0mmar commented on June 12, 2024

I don't see an explicit reference to OpenSSL-Apple in this project. Is this change needed in the tunnel-apple project instead perhaps? Will someone from the PIA team update it?

https://github.com/pia-foss/tunnel-apple/blob/master/Podfile

from mobile-ios.

ueshiba avatar ueshiba commented on June 12, 2024

Hi @t0mmar

Yes, you need to change the tunnel-apple project.

I pushed the changes to a release branch (https://github.com/pia-foss/tunnel-apple/tree/release/2.0.2). You can use the commit hash d4b062d.

Anyway you will need to update the min iOS version and set iOS11 in the this project and in the library if you are using it.

Regards,
Jose.

from mobile-ios.

t0mmar avatar t0mmar commented on June 12, 2024

Hmm, still not having much luck building the workspace itself :(

image

from mobile-ios.

ueshiba avatar ueshiba commented on June 12, 2024

Did you pod cache clean 'OpenSSL-Apple' --all before run the pod install again?

from mobile-ios.

t0mmar avatar t0mmar commented on June 12, 2024

Thanks for the tip @ueshiba! I've tried that, cleared all the pods even, but I'm still getting the same set of errors.

from mobile-ios.

ueshiba avatar ueshiba commented on June 12, 2024

Hello @t0mmar

Can you update the PIATunnel commit to 8bc012a?

Thanks

from mobile-ios.

t0mmar avatar t0mmar commented on June 12, 2024

@ueshiba - I still get a few errors, but much less and different. It sounds like they're related to the library. Is there a new library commit hash that I should be using as well?

image

from mobile-ios.

ueshiba avatar ueshiba commented on June 12, 2024

@t0mmar Yes, the errors are now related with the PIALibrary (because you don't have the latest). The latest commit is f88e06c but this project is not going to compile because the PIAX code is not public yet...

I hope to release the latest code very soon in the three projects, give me a couple of days.

Regards,
Jose

from mobile-ios.

t0mmar avatar t0mmar commented on June 12, 2024

@ueshiba - what's the status of these updates? still in progress?

from mobile-ios.

ueshiba avatar ueshiba commented on June 12, 2024

I am still waiting to receive the approval to push the code and update the develop and master repo. Hopefully maybe today or tomorrow.

from mobile-ios.

t0mmar avatar t0mmar commented on June 12, 2024

Thanks @ueshiba !

Just to verify, because I don't see any new commits to pia-foss/vpn-ios, the latest master should now work? With the following versions in the Podspec?

    library_by_git('12d542c')
    tunnel_by_git('4eff5ca')

from mobile-ios.

ueshiba avatar ueshiba commented on June 12, 2024

closing this issue because the problem is solved.

from mobile-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.