LogmeinRescue / iOS-SDK

Rescue In-App Support iOS SDK
http://secure.logmeinrescue.com/welcome/webhelp/EN/SDKi/MobileSDK/c_riossdk_overview.html
Other
6 stars 7 forks source link

ARM simulator support #82

Closed kashkashio closed 7 months ago

kashkashio commented 1 year ago

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

tamastimar commented 1 year ago

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

kashkashio commented 1 year ago

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 commented 1 year ago

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

kashkashio commented 1 year ago

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 commented 1 year ago

?

tamastimar commented 1 year ago

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

kashkashio commented 1 year ago

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 commented 9 months ago

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 commented 9 months ago

@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 commented 9 months ago

@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 commented 9 months ago

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

dhruvalpatel88 commented 9 months ago

@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 commented 9 months ago

@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 commented 9 months ago

@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 commented 9 months ago

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 commented 9 months ago

@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 commented 9 months ago

@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 commented 7 months ago

Version 5.17 has been released with ARM iOS Simulator support.