appodeal/appodeal-ios-demo

SDK doesn't work on devices with M1 SoC's

Opened this issue · 7 comments

I'm trying to use the SDK on a Mac with a M1 SoC but I can't make it run. I tried using cocoa pods and installing manually the SDK but I have no success. Even cloning the sample app demo repository I face with the same issue.
Screenshot 2021-11-05 at 11 25 51

Any solution for this?
Thanks in advance!

Hi! Are you trying to run your project on simulator or device ?

Hi! Are you trying to run your project on simulator or device ?

Running on iOS simulator.
When I run it on a device, I got this error:
Screenshot 2021-11-08 at 11 55 51

Hi, @AlfredoHernandez !
Sorry for the wait, we will check and answer as soon as possible.

Hello @AlfredoHernandez. Right now we don't have ability to test SDK on Apple Silicon Mac. You can try running XCode with Rosetta.

Hi @staskochkin,
By trying to add the SDK downloaded from de docs (https://wiki.appodeal.com/en/ios/get-started) and running with roseta, I got the same error, with both device and simulator.

Screenshot 2021-11-18 at 19 49 17

@AlfredoHernandez Are you using manual or Cocoa Pods installation? I've trying Cocoa Pods (this project) on Mac with Apple Silicon chip and everything compiles and links well. You might be needed to clean previous XCode cache, before running XCode with Rosetta.

rm -rf ~/Library/Developer/Xcode/DerivedData

Hi @staskochkin, when I try with the sample app (this project) everything it's ok, but the error happens when I add manually the SDK I've got that error. (and I need to add the framework manually)

Thank you!