Skip to content
This repository was archived by the owner on Aug 10, 2021. It is now read-only.

Support iOS i386 (32bit simulator) KonanTarget #2615

Closed
AlecKazakova opened this issue Feb 1, 2019 · 10 comments
Closed

Support iOS i386 (32bit simulator) KonanTarget #2615

AlecKazakova opened this issue Feb 1, 2019 · 10 comments

Comments

@AlecKazakova
Copy link

Our CI build runs unit tests against every supported simulator, right now it's failing attempting to link the generated kotlin framework for the i386 architecture (x32). Would it be possible to add an iosX32 target to support old simulators?

Thanks in advance!

@olonho
Copy link
Contributor

olonho commented Feb 1, 2019

Not sure what's the practical sense of doing that.

@AlecKazakova
Copy link
Author

our continuous integration enumerates all the supported iOS builds and runs unit tests in a simulator on them. We support iOS 10 which has arm32 devices supported still, and the simulators that run those images need i386.

@olonho
Copy link
Contributor

olonho commented Feb 4, 2019

Considering Apple is phasing out 32-but phones/tablets, and iOS 11 doesn't support 32-bit devices, not sure is 32-bit simulator is critical for most users. Is it indeed absolutely critical in your case?

@thevery
Copy link

thevery commented Feb 4, 2019

AFAIK Apple Watch (except latest Series 4) is still 32-bit. But watch also requires mandatory bitcode.

@olonho
Copy link
Contributor

olonho commented Feb 5, 2019

watchOS is different story, and we may eventually support it.

@AlecKazakova
Copy link
Author

isnt watchOS already supported since embedded bitcode is supported?

Is it indeed absolutely critical in your case?

32bit simulator definitely is not critical in my case. It was a weird situation that we hit that others may also hit, but on our end we're just going to only build arm and not x86 from CI. We may re-enable x86 builds for all supported devices later if this becomes supported.

@SvyatoslavScherbina
Copy link
Collaborator

isnt watchOS already supported since embedded bitcode is supported?

watchOS requires a bit more than we have: #1202 (comment)

@AlecKazakova
Copy link
Author

got it - thanks for clarification

@tylerwilson
Copy link

+1 for x32 support, if it is not too onerous. I am running into an issue with arm32 and it might be useful to be able to debug in the iPhone 5/4S simulator.

@SvyatoslavScherbina
Copy link
Collaborator

We have no plans to support 32-bit iOS simulator.
32-bit iOS is obsolete, and also it is unclear what prevents one from testing and debugging on a 64-bit emulator:
so far we haven't seen an example of an issue reproducible on both 32-bit device and 32-bit simulator but not on 64-bit device or simulator

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

5 participants