Skip to content

iOS build fails — ReaderStatusInfo has no member reason #56

@NKoroloff

Description

@NKoroloff

Hello!
After updating to the latest square_mobile_payments_sdk, my iOS build is failing with this error:

Could not build the precompiled application for the device.
Swift Compiler Error (Xcode): Value of type 'any ReaderStatusInfo' has no member 'reason'
/~/.pub-cache/hosted/pub.dev/square_mobile_payments_sdk-2025.11.1/ios/Classes/Extensions/ReaderExtensions.swift:18:39

Uncategorized (Xcode): Command SwiftCompile failed with a nonzero exit code

It looks like ReaderStatusInfo.reason doesn't exist in SquareMobilePaymentsSDK (2.3.1), but the plugin still references it. Not sure if it's a regression or expected API change — I just can't build the app because of it.

If you know the correct field or replacement, please let me know
Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions