Comments (20)
@t0mmar I just updated the tunnel, library and VPN repositories.
Regards,
Jose Blaya
from mobile-ios.
@t0mmar take a look at this commit on the tunnel project
you should do the same in your custom implementation or use tunnel_by_git('8bc012a')
and library_by_git('78663b6')
from mobile-ios.
Same issue faced by me @DonsWayo , any solutions ?
from mobile-ios.
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.
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:
from mobile-ios.
@ueshiba Same error after changing the Pod targer version to IOS 11.0
[!] 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.
It looks like open SSL is not available in the repository anymore ?
from mobile-ios.
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.
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.
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.
Hmm, still not having much luck building the workspace itself :(
from mobile-ios.
Did you pod cache clean 'OpenSSL-Apple' --all
before run the pod install
again?
from mobile-ios.
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.
Hello @t0mmar
Can you update the PIATunnel commit to 8bc012a
?
Thanks
from mobile-ios.
@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?
from mobile-ios.
@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.
@ueshiba - what's the status of these updates? still in progress?
from mobile-ios.
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.
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.
closing this issue because the problem is solved.
from mobile-ios.
Related Issues (20)
- Failed to download 'PIAWireguard' HOT 7
- `pod install` fails after cloning from github HOT 5
- Build fails: No such module 'Regions' HOT 5
- The connection could not be established, you can try selecting a different region.
- Build errors: "Server has no member 'dipToken'" HOT 9
- Pod installing error HOT 1
- Unable to Run, Asking for Password while installing pods. HOT 6
- Pod Install Issue HOT 6
- Error installing PIAAccountModule HOT 1
- Error installing PIAKPIModule HOT 1
- 1 vmess://eyJhZGQiOiJnY29yZWhrLmFyYy5waWNzIiwidiI6MiwicHMiOiJ0Lm1lL3dibmV0XzIiLCJwb3J0IjoiMjA4NiIsImlkIjoiN2E4YTE5ZWMtOTRmNS00MjYyLWVkYmUtYTMwOGUxZDBjNjZkIiwiYWlkIjoiMCIsInNjeSI6ImF1dG8iLCJuZXQiOiJ3cyIsInR5cGUiOiIiLCJob3N0IjoiZ2NvcmVoay5hcmMucGljcyIsInRscyI6IiIsInBhdGgiOiIvYXJpZXMifQ== vmess://
- 我有基于clash和xray核心的vpn源码,可以联系,telegram:@parker_2022
- Source Code for latest versions... HOT 1
- Feature Request: Support for tvOS17 HOT 1
- https://mirrors.edge.kernel.org/pub/software/scm/git/
- Pia HOT 3
- No longer open source? HOT 2
- Please provide code for App Store release version 3.1.0 HOT 3
- Pod install shows "Failed to download 'PIAWireguard' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobile-ios.