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

Problems setting up the project #15

Open
MaisaMilena opened this issue Oct 4, 2018 · 4 comments
Open

Problems setting up the project #15

MaisaMilena opened this issue Oct 4, 2018 · 4 comments

Comments

@MaisaMilena
Copy link

Description

After running the code from Quick Instruction - Setup, it takes a while, prints a lot of things and finishes with a curl error. This is the end of the execution:

+ rm -rf /Users/maisa/Documents/Lab_de_bagunca/Hacktoberfest/Kitura-HelloWorld-iOS/iOSStaticLibraries/Curl
+ echo 'ERROR: Building /Users/maisa/Documents/Lab_de_bagunca/Hacktoberfest/Kitura-HelloWorld-iOS/iOSStaticLibraries/Curl failed.'
ERROR: Building /Users/maisa/Documents/Lab_de_bagunca/Hacktoberfest/Kitura-HelloWorld-iOS/iOSStaticLibraries/Curl failed.
+ echo 'See the logs in ./CurlBuildLogs directory'
See the logs in ./CurlBuildLogs directory
+ echo 'Try curl version 7.43.0 from https://curl.haxx.se/download/ - it worked for us.'
Try curl version 7.43.0 from https://curl.haxx.se/download/ - it worked for us.
+ echo 'Also, remember to run xcode-select --install each time you update your Xcode'
Also, remember to run xcode-select --install each time you update your Xcode
+ exit 1

I'm using MacOS Mojave v10.14. When executing curl --version this is the message:

curl 7.54.0 (x86_64-apple-darwin18.0) libcurl/7.54.0 LibreSSL/2.6.4 zlib/1.2.11 nghttp2/1.24.1
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz HTTP2 UnixSockets HTTPS-proxy 

Problem

I'm not able to execute make openXcode or make openXcode32:

make NUMBER_OF_BITS="64" prepareXcodeAll
Please download a curl source, uncompress it and run Builder/Scripts/buildCurlStaticLibrary.sh <the uncompressed curl directory>
You can download curl source from https://curl.haxx.se/download/
exit 1
make[1]: *** [iOSStaticLibraries/Curl] Error 1
make: *** [prepareXcode] Error 2

Am I doing something wrong?

@vadimeisenbergibm
Copy link
Member

@MaisaMilena Let me try it during the next weekend, cannot get to earlier, sorry.

@vadimeisenbergibm
Copy link
Member

@MaisaMilena Sorry for being late with the solution. The solution for the Mojave's compilation problem is described here -
curl/curl#3189 (comment).

@albrasic
Copy link

albrasic commented Jan 3, 2020

@vadimeisenbergibm The same error reported above for MacOS Mojave v10.14 appears now for MacOS Catalina v10.15 and the /Library/Developer/CommandLineTools/Packages/ folder, mentioned in your comment, is no longer available. Could you please suggest another fix? Thanks a lot.

@vadimeisenbergibm
Copy link
Member

@albrasic Sorry, I stopped supporting this project, I do not work on Swift/iOS anymore.

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