Skip to content
This repository was archived by the owner on Oct 25, 2022. It is now read-only.

x86_64 for simulator #33

Open
ZhiXinXu opened this issue Mar 19, 2016 · 2 comments
Open

x86_64 for simulator #33

ZhiXinXu opened this issue Mar 19, 2016 · 2 comments

Comments

@ZhiXinXu
Copy link

Xcode 7.2.1 can't find x86_64 architecture (iOS simulator) in libcurl.a. It seems the latest XCode ignores i386...

Would you like to add x86_64 support?

Thanks a lot.

@tsznober
Copy link

I just tried this and it seems to work:

$ ./build_curl --archs x86_64 --osx-sdk-version none

[PREPARE] INFO - Using Xcode at '/Applications/Xcode.app/Contents/Developer'...
[PREPARE] INFO - Setting up work directory...
[PREPARE] INFO - Downloading archive for libcurl version 7.47.1
[PREPARE] INFO - Archive downloaded, expanding...
[PREPARE] INFO - Archive expanded.
[COMPILE] INFO - Attempting to compile for architectures: x86_64...
[COMPILE] INFO - Building libcurl 7.47.1 for iPhoneSimulator 9.3 (x86_64)...
[PACKAGE] INFO - Packing binaries for architectures 'x86_64-apple-darwin'...
[PACKAGE] INFO - Creating binary for architecture x86_64-apple-darwin (ios-dev)...
[ BUILD ] INFO - Build complete with output binaries: ios-dev (x86_64-apple-darwin)
[ BUILD ] INFO - Output can be found on the 'curl' folder
[ CLEAN ] INFO - Cleaning up...

@yilmazedis
Copy link

In addition to tsznober comment, I also changed sdk_version: "9.13" to "15.0" in curl_builder.rb. Similar with my iPhoneOS version according to iPhoneOS15.0.sdk in "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs" folder.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants