Comments (4)
You could try Xcode 9 and see if it builds. Sorry that's the only tip I have for you at this moment
from curl-android-ios.
Thanks - will give it a try and if I get to the bottom of it, will add to this.
from curl-android-ios.
Looks like the build issue is referred to upstream and comment curl/curl#3189 (comment) recommends installing the following package:
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
This seems to be added to the machine by the xcode-select --install
step.
Installing this package, deleting curl/configure and re-running the build gets the iOS build running on Mojave (possibly solving #56 ).
In my case I encountered this error:
ld: warning: ignoring file /opt/local/lib/libz.dylib, file was built for x86_64 which is not the architecture being linked (armv7): /opt/local/lib/libz.dylib
It seems that I have a libz in /opt/local for something or other and the only way I could prevent attempts to link against this was by renaming libz.dylib and libz.a to libz.dylib.unused and libz.a.unused. After that, this project happily builds on Mojave... I'm now digging deeper on the pinning issue.
from curl-android-ios.
The answer is right there in my initial post... it's the supported iOS version. Curl sets or resets SSLSUPP_PINNEDPUBKEY based on the compile time version, not at runtime; this is consistent with documentation and resulting error codes.
Setting IPHONEOS_DEPLOYMENT_TARGET="10"
in the build_iOS.sh script enables the support and when I run...
ENABLING PINNING
Set Fail on Error: No error
Set verify peer: No error
Set verify host: No error
Set pinned key: No error
Closing issue as this is intended and expected operation for iOS 9 which is the current spec for the prebuilt binaries.
from curl-android-ios.
Related Issues (20)
- build failed: 'connectx' is only available on iOS 9.0 HOT 1
- Cannot build for Android HOT 1
- SSL link error happened HOT 4
- openssl file headers not found HOT 3
- arm version prebuilt library for Android is not exist. HOT 1
- Could you please post compiled Android binaries? HOT 3
- config failed with curlbuild.h.in HOT 2
- undefined reference to 'curl_easy_init' HOT 1
- Build on MacOS Mojave failed with Socekt Support problem HOT 4
- build android - ssl configuration
- Could you please update it to support arm64e for A12/A12X?
- Can't build on MacOS Mojave 10.14.5
- problem with using the library
- Missing LICENSE HOT 1
- url.c:55:2: error: "We can't compile without socket() support!" HOT 1
- Build iOS Error Catalina HOT 3
- Curl ios
- clang: error: unsupported option '--noexecstack' HOT 1
- Configured for android. 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 curl-android-ios.