Closed alexreg closed 7 years ago
Closing this issue because alexreg isn't responding with more information.
You didn't ask for more info?
I commented on your gist Feb 6: https://gist.github.com/anonymous/76219f9acafc6624f529faa86ab65dad
Ah, okay.
What command did you use to produce this output?
xcodebuild -configuration Release
OK. Don't know why you're getting that. I don't get an error when I compile it that way. Maybe something changed in the intervening 3 months.
Nope. It still happens now... same error.
I have MacOS 10.12.5 and Xcode 8.3.2. Doesn't happen for me, so I don't know how to reproduce it. This is the output for 'clean' and then build:
https://gist.github.com/arqbackup/fac1800e16c1a0f3fcaffdd89aa4f8f9
Well, can't you debug it from the error message? Anyway, what environmental configuration are you doing before running those commands, if any at all?
I don't understand the error message you get. It says the header file can't be found, but the header file exists. I don't set any special environment variables. Looks like you reset HEADER_SEARCH_PATHS and LIBRARY_SEARCH_PATHS though, overriding the values in the Xcode project. Maybe stop doing that.
Yeah... if I don't set those environment variables, I get these errors however.
Have you looked at the Xcode project at all? It expects the OpenSSL library in /usr/local/ssl.
Ah. Well, I don't have anything there. That directory doesn't exist, and indeed it's non-standard. Homebrew installs the library to to /usr/local/opt/openssl
. I think you may want to allow for a configurable path, or just use pkgconfig.
https://gist.github.com/76219f9acafc6624f529faa86ab65dad
What's going on here?