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

Does not support ability to build both i386 and x86_64 builds for simulator. #22

Closed
mobileben opened this issue Jan 13, 2019 · 3 comments

Comments

@mobileben
Copy link

This is related to

microsoft/cpprestsdk#1015

Xcode uses armv7 as the trigger point to building i386 slices when building for the simulator. The way to cause this is to build a target that builds for all architectures.

In the case of cpprestsdk, this causes a linker error because there is no i386 slice. cpprestsdk uses this repo.

@mobileben
Copy link
Author

I can work around this by modifying the CMakeLists.txt file in cpprestsdk. I'm closing this and will re-open if for some reason it looks like there is an issue. I've already built and am just testing some simulator builds.

@leetal
Copy link
Owner

leetal commented Jan 14, 2019 via email

@mobileben
Copy link
Author

Yeah, it's deprecated. But Xcode is "internally wired" to use i386 for 32-bit targets. It will be interesting to see what happens if they stop the Intel train on the Macs but still support iOS versions for 32-bit devices.

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

2 participants