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 resports errors and fails to build "PIA VPN" scheme #2

Closed
2 tasks
t0mmar opened this issue Dec 15, 2018 · 4 comments
Closed
2 tasks

Xcode resports errors and fails to build "PIA VPN" scheme #2

t0mmar opened this issue Dec 15, 2018 · 4 comments

Comments

@t0mmar
Copy link

t0mmar commented Dec 15, 2018

Summary

Steps to reproduce

Building from scratch as described in the README file.

What is the current bug behaviour?

Xcode reports errors and fails to build "PIA VPN" scheme.

What is the expected correct behaviour?

Xcode should successfully build the app when build directions are followed.

Relevant logs and/or screenshots

Showing Recent Messages
:-1: /Users/tom/Projects/vpn-ios/Pods/Target Support Files/Pods-PIA VPN Tunnel/Pods-PIA VPN Tunnel.debug.xcconfig: unable to open file (in target "PIA VPN Tunnel" in project "PIA VPN") (in target 'PIA VPN Tunnel')

screen shot 2018-12-14 at 6 09 38 pm

Possible fixes suggested re-mediation

The error is complaining about a missing file: Pods-PIA VPN Tunnel.debug.xcconfig
That file is indeed missing on the filesystem.

If this is a private file with secrets, can you update the build instructions explaining what should go in that file and provide a dummy file with example values that result in a successful build?

Or is the error possibly caused by the spaces in the PATH?

Assignees and labels

( please add labels as applicable )

  • Patched
  • Verified patch
@ueshiba
Copy link
Contributor

ueshiba commented Dec 17, 2018

Hello @t0mmar !

Thanks for your message, could you try to run the following commands, hopefully that should fix your issue:

pod deintegrate
pod install

Regards,
Jose Blaya

@thomasmarkiewicz
Copy link

Hi @ueshiba,

I just cloned latest and tried pod deintegrate as you suggested.

pod install fails for me on OpenSSL step Installing OpenSSL-Apple (1.1.0h). This was likely happening before and I just have not noticed.

Any idea how to fix this?

Building openssl-1.1.0h for MacOSX 10.14 i386...
  Logfile: /Users/tom/Library/Caches/CocoaPods/Pods/Release/OpenSSL-Apple/1.1.0h-cd153/bin/MacOSX10.14-i386.sdk/build-openssl-1.1.0h.log
  Configure...
  Make (using 8 thread(s))...
Problem during make - Please check /Users/tom/Library/Caches/CocoaPods/Pods/Release/OpenSSL-Apple/1.1.0h-cd153/bin/MacOSX10.14-i386.sdk/build-openssl-1.1.0h.log
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 5295k  100 5295k    0     0  11.4M      0 --:--:-- --:--:-- --:--:-- 11.3M

Log file attached...

build-openssl-1.1.0h.log

@ueshiba
Copy link
Contributor

ueshiba commented Jan 13, 2019

Hi @t0mmar

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

The quick solution is to change the deployment target to iOS11+

If you need to compile your app for old versions, you can follow the solution described in this issue pia-foss/tunnel-apple#66

I hope this can help you to resolve the issue.

Thank you,
Jose Blaya

@t0mmar
Copy link
Author

t0mmar commented Jan 16, 2019

Hi @ueshiba,

The solution suggested in the link above worked for me using XCode 7.3.1. Thanks!

Tom

@t0mmar t0mmar closed this as completed Jan 16, 2019
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

3 participants