Hello @wootmoot!
Congratulations on the release and many thanks for these improvements! Looking forward to future improvements!
I already started integrating this into my apps and Android implementation was a breeze, everything working so far. However, I am having some issues with iOS. I added and integrated the SDK according to the instructions, but I am getting runtime crashes when the app launches, supposedly something about the CorePaymentCard.framework not being due to it not being found.
dyld[32584]: Library not loaded: @rpath/CorePaymentCard.framework/CorePaymentCard
Referenced from: <788E2AB0-3071-3109-832B-57AE73EE184C> /Users/jakovglavina/Library/Developer/CoreSimulator/Devices/FF7FB197-345E-4140-9AD9-CEFCACA8E173/data/Containers/Bundle/Application/BD8FFA1E-BA09-46F2-BF67-8EFA2FA7A11C/reactnativesquarereadersdk2example.app/Frameworks/SquareMobilePaymentsSDK.framework/SquareMobilePaymentsSDK
Reason: tried: '/Users/jakovglavina/Library/Developer/Xcode/DerivedData/reactnativesquarereadersdk2example-fsfjamellizadtfjouxomutgjpwt/Build/Products/Debug-iphonesimulator/CorePaymentCard.framework/CorePaymentCard' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/CorePaymentCard.framework/CorePaymentCard' (no such file), '/usr/lib/swift/CorePaymentCard.framework/CorePaymentCard' (no such file, not in dyld cache), '/Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/CorePaymentCard.framework/CorePaymentCard' (no such file), '/usr/lib/swift/CorePaymentCard.framework/CorePaymentCard' (no such file, not in dyld cache), '/Users/jakovglavina/Library/Developer/CoreSimulator/Devices/FF7FB197-345E-4140-9AD9-CEFCACA8E173/data/Containers/Bundle/Application/BD8FFA1E-BA09-46F2-BF67-8EFA2FA7A11C/reactnativesquarereadersdk2example.app/Frameworks/CorePaymentCard.framework/CorePaymentCard' (no such file), '/Users/jakovglavina/Library/Developer/CoreSimulator/Devices/FF7FB197-345E-4140-9AD9-CEFCACA8E173/data/Containers/Bundle/Application/BD8FFA1E-BA09-46F2-BF67-8EFA2FA7A11C/reactnativesquarereadersdk2example.app/Frameworks/CorePaymentCard.framework/CorePaymentCard' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/CorePaymentCard.framework/CorePaymentCard' (no such file), '/usr/lib/swift/CorePaymentCard.framework/CorePaymentCard' (no such file, not in dyld cache), '/Users/jakovglavina/Library/Developer/CoreSimulator/Devices/FF7FB197-345E-4140-9AD9-CEFCACA8E173/data/Containers/Bundle/Application/BD8FFA1E-BA09-46F2-BF67-8EFA2FA7A11C/reactnativesquarereadersdk2example.app/Frameworks/CorePaymentCard.framework/CorePaymentCard' (no such file), '/Users/jakovglavina/Library/Developer/CoreSimulator/Devices/FF7FB197-345E-4140-9AD9-CEFCACA8E173/data/Containers/Bundle/Application/BD8FFA1E-BA09-46F2-BF67-8EFA2FA7A11C/reactnativesquarereadersdk2example.app/Frameworks/CorePaymentCard.framework/CorePaymentCard' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CorePaymentCard.framework/CorePaymentCard' (no such file)
As you can see, it looked up a bunch of different folders to try and find the framework but it seems it’s looking in the wrong place. I can find the framework on my filesystem located at
/Users/jakovglavina/Library/Developer/CoreSimulator/Devices/FF7FB197-345E-4140-9AD9-CEFCACA8E173/data/Containers/Bundle/Application/BD8FFA1E-BA09-46F2-BF67-8EFA2FA7A11C/reactnativesquarereadersdk2example.app/Frameworks/SquareMobilePaymentsSDK.framework/Frameworks/CorePaymentCard.framework/
So, with that said, I don’t know if I’m missing anything… any help would be greatly appreaciated!