You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After adding this SDK (165fd67), we observed crashes on iOS 11 and <= 12.1:
We could also reproduce this ourselves on iOS 11.4.1 with the store version of our app. Upon excluding the Klarna SDK from the app again, the app started without issue on device. (iOS Simulator 11.41. is similarly broken, but I hoped it might be related to just that architecture not being supported by the package.)
We're on Xcode 11.4.1, so we can't yet use the latest underlying SDK version
To Reproduce
This can also be seen with the Klarna sample project (when using the latest version which is compatible with our Xcode version).
Edit the Podfile to use pod "KlarnaMobileSDK/xcode-11.4.1-fat-full", '= 2.0.20'
Run on iOS 11.4.1 Simulator (couldn't test on device, as I don't have physical access to it)
Crashes on start, with message
dyld: Library not loaded: @rpath/libswiftos.dylib
Referenced from: /Users/timm/Library/Developer/CoreSimulator/Devices/73E1D4B2-F725-4E8D-8ECB-D82BFCAF7765/data/Containers/Bundle/Application/86A43189-5CD3-4DAD-8443-F2CF3AE35CD4/FashionStore-CocoaPods.app/Frameworks/KlarnaMobileSDK.framework/KlarnaMobileSDK
Reason: no suitable image found. Did find:
/usr/lib/swift/libswiftos.dylib: mach-o, but not built for iOS simulator
/usr/lib/swift/libswiftos.dylib: mach-o, but not built for iOS simulator
(lldb)
I am just wondering whether this error on the simulator (which should be supported), is also happening on device 🤔
Expected behavior
App starts.
Device and version:
Device: iPhone SE / iPad mini
OS version: iOS 11.4.1 (we see 11.0.0 up to including 12.1.0 in the server-side logs)
thanks a lot for figuring out the OSLog workaround and including it so quickly (the Swift lib embedding was already set, but didn't have the desired effect).
We have pinned the your Flutter SDK for revision bf47230 and successfully tested it on an affected device 👍
Describe the bug
After adding this SDK (165fd67), we observed crashes on iOS 11 and <= 12.1:
We could also reproduce this ourselves on iOS 11.4.1 with the store version of our app. Upon excluding the Klarna SDK from the app again, the app started without issue on device. (iOS Simulator 11.41. is similarly broken, but I hoped it might be related to just that architecture not being supported by the package.)
We're on Xcode 11.4.1, so we can't yet use the latest underlying SDK version
To Reproduce
This can also be seen with the Klarna sample project (when using the latest version which is compatible with our Xcode version).
Steps to reproduce the behavior:
Podfile
to usepod "KlarnaMobileSDK/xcode-11.4.1-fat-full", '= 2.0.20'
Crashes on start, with message
I am just wondering whether this error on the simulator (which should be supported), is also happening on device 🤔
Expected behavior
App starts.
Device and version:
(This is the same issue I sent you via mail, but I guess it makes sense to share the issue and solution for future users as well.)
The text was updated successfully, but these errors were encountered: