IBM-Swift / Kitura-HelloWorld-iOS

A Hello World example of running Kitura on iOS
https://developer.ibm.com/swift/2017/03/13/kitura-ios/
Apache License 2.0
55 stars 16 forks source link

Problems setting up the project #15

Open MaisaMilena opened 5 years ago

MaisaMilena commented 5 years ago

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 commented 5 years ago

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

vadimeisenbergibm commented 5 years ago

@MaisaMilena Sorry for being late with the solution. The solution for the Mojave's compilation problem is described here - https://github.com/curl/curl/issues/3189#issuecomment-434889077.

albrasic commented 4 years ago

@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 commented 4 years ago

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