Closed josecriane closed 3 years ago
I created a example workspace with the problem https://github.com/josecriane/klarna-spm-error-example
Thanks for the example @josecriane we will take a look at it.
Hi @josecriane, I checked out the example and found out that it's a xcode bug that is going on since Xcode 12. But i managed to make it work following the pspdfkit guide.
This is fixed in Xcode 12.2 and is related to bad signing when building to a device from Xcode.
Hi, this ticket will be closed, feel free to reopen you are still having the issue.
Describe the bug When we try add KlarnaMobileSDK using SPM the app is unable to install on physical device
To Reproduce We add klarna-mobile-sdk to a core library and the app is unable to install. The structure of project is:
App > Core Library > KlarnaMobileSDK (with SPM)
Compile and run, xcode show a alert message "Unable to Install app".
Screenshots
Device and version:
Additional context Adding the sdk manually it works. In the simulator SPM works. I see that Firebase was a similar problem. https://github.com/firebase/firebase-ios-sdk/issues/6360