My iOS app crashes immediately after initializing SquareMobilePaymentsSDK with the following exception:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unable to find an entity with name 'TIPPTippingPreferences'.'
I’m using the square_mobile_payments_sdk Flutter plugin (version 2025.7.2), which internally uses the SquareMobilePaymentsSDK.xcframework.
The SDK appears to initialize successfully, but the app terminates during runtime with the above exception.
Steps to Reproduce:
Add dependency in Flutter:
dependencies:
square_mobile_payments_sdk: ^2025.7.2
Initialize the SDK in AppDelegate.swift:
import SquareMobilePaymentsSDK
let applicationId = "sq0idp-xxxxxxxxxxxxxxxxxx"
MobilePaymentsSDK.initialize(squareApplicationID: applicationId)
Would appreciate guidance on whether this is a packaging issue with the SDK or an initialization problem on our side.