OneSignal-iOS-SDK icon indicating copy to clipboard operation
OneSignal-iOS-SDK copied to clipboard

[question]: OneSignalExtension framework not being added on a Intel build

Open Martin-Gonzalez90 opened this issue 2 years ago • 3 comments

How can we help?

Hi! I just wanted to ask if there is anything in the latest build 3.12.4 that is related with architectures? I have the very same build and if I run it on an intel machine OneSignalExtension is not being added to the .ipa but in a M1/M2 that framework is being added correctly.

The problem with not being added is that the app crashes at the beginning saying that could not load OneSignalExtension library.

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Martin-Gonzalez90 avatar Jun 08 '23 11:06 Martin-Gonzalez90

Hi @Martin-Gonzalez90,

Thanks for reaching out, and there are no changes with architecture in the latest 3.12.4 release. Was your app working as expected on Intel machine using a previous version of the OneSignal-iOS-SDK?

Can you provide the entire stack trace for the error please?

nan-li avatar Jun 08 '23 19:06 nan-li

Indeed, the version 3.11.2 is working fine in both archs. I don't have right now the stack trace, but is basically the error when it cannot load a library because it cannot find it, and points to OneSignalExtensions specifically.

After reviewing an .ipa made by an intel and a M1 I can see in the Frameworks folder that in the intel build is missing the OneSignalExtensions framework, and in the M1 is there.

Martin-Gonzalez90 avatar Jun 08 '23 19:06 Martin-Gonzalez90

@nan-li where you able to check this by any chance?

Martin-Gonzalez90 avatar Jun 20 '23 10:06 Martin-Gonzalez90