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

ARM simulator support #82

Closed
kashkashio opened this issue Mar 2, 2023 · 18 comments
Closed

ARM simulator support #82

kashkashio opened this issue Mar 2, 2023 · 18 comments

Comments

@kashkashio
Copy link

Hi, Any plans to support development on ios simulator ? as for now doesn't seem possible with spm or cocoapods

@tamastimar
Copy link
Contributor

Hi @kashkashio, could you please paste here the exact error message you have?

@kashkashio
Copy link
Author

kashkashio commented Mar 6, 2023

This is the message from the build out put.
It seems like this missing the required symbols or lib for the architecture
Screenshot 2023-03-06 at 12 07 10

When building for device or arm it works

@tamastimar
Copy link
Contributor

Do you use an ARM-based Mac? If yes, could you try it with Rosetta enabled for Xcode?

@kashkashio
Copy link
Author

Hi, Thanks for the reply.
I do use ARM based and yes the rosetta thing worked, just I'm not feeling like its the right solution tho my xcode builds now are slower because they don't take full advantage of my m1 chip :/ do you think you can compile the sources for arm sim?

@kashkashio
Copy link
Author

?

@tamastimar
Copy link
Contributor

Thanks for the report. We've filed your request and will look into that.

@tamastimar tamastimar changed the title Simulator support ARM simulator Support Mar 22, 2023
@tamastimar tamastimar changed the title ARM simulator Support ARM simulator support Mar 22, 2023
@kashkashio
Copy link
Author

kashkashio commented May 4, 2023

Any news regarding this?
It's also breaking the SwiftUI preview option and makes development tedious due to the fact that I have to build and run on the device every change I do in the UI.

Also the option to run in Rosetta mode is now gone in 14.3

@dhruvalpatel88
Copy link

Hello,
Could you kindly provide an update on the status of the fix? I am currently encountering a similar issue on my Mac equipped with an M1 chip. Below, I have attached a screenshot depicting the errors I am experiencing.
Thank you.
Screenshot 2023-12-07 at 5 09 05 PM

@kashkashio
Copy link
Author

@dhruvalpatel88 I wouldn't count on it, they are too lazy just to recompile the source code as a dlyb with multiple arch support or just give us different pre compiled static libraries for different archs.

We ditched the product due to that, look for something better. GL

@tamastimar
Copy link
Contributor

tamastimar commented Dec 11, 2023

@kashkashio Rosetta support for iOS Simulator is still available in Xcode 14.3.

You can find it here in Xcode menu: Product > Destination > Destination Architectures > Show Rosetta Destinations.

@tamastimar
Copy link
Contributor

@dhruvalpatel88 Does enabling Rosetta solve your issue? (See my previous comment.)

@dhruvalpatel88
Copy link

@tamastimar We are engaged in a substantial project that currently relies on Xcode 14.2 exclusively. Unfortunately, the suggested workaround involving Rosetta Destinations is not applicable as Xcode 14.2 lacks this feature. Attempting to install Xcode 14.3 resulted in numerous additional errors.
Could you kindly offer a definitive solution to ensure the LMI SDK is configured to run seamlessly on the ARM iOS simulator too?

@tamastimar
Copy link
Contributor

@dhruvalpatel88 For pre-14.3 Xcode versions you can use the standard way to enable Rosetta until the issue is fixed.

See here: https://support.apple.com/en-us/HT211861

@dhruvalpatel88
Copy link

@tamastimar Please note that we have already tried that option and still facing the same errors. Rosetta is already installed and enabled for Xcode 14.2.

@tamastimar
Copy link
Contributor

tamastimar commented Dec 14, 2023

Our team is working on the build of all the components of the SDK for ARM Simulator.

ETA for the update is by the end of January.

@tamastimar
Copy link
Contributor

@dhruvalpatel88 Could you please try out one of our example apps?
https://github.com/LogmeinRescue/iOS-SDK/tree/master/Examples

We see no issues with them on M1+ Macs when Rosetta is enabled.

@dhruvalpatel88
Copy link

@tamastimar we'll continue to investigate on our end and reach out if the issue continues to be related to LMI and we'll reach back out near the end of January to see if there is any update

@tamastimar
Copy link
Contributor

Version 5.17 has been released with ARM iOS Simulator support.

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

3 participants