Latest Flutter Plugin (1.7.6) Doesn't Build on iOS

We previously had some issues working with the 1.7.5 Flutter in app payments SDK. We upgraded to the latest version and it doesn’t build at all on iOS. Android isn’t a problem but we’re testing thoroughly just in case.

Flutter Version: 3.0.6.pre.7 channel master (although we upgraded to latest and same effect)
Dart: 2.19.0
MacBook Pro 2021
MacOS Monterey 12.6
M1 Pro

This is hugely problematic because the 1.7.5 version of the in app payments is preventing potential customers from adding cards as the verification step freezes…

Would be great to get some feedback on this asap!

Many thanks,
Peter

What errors are you getting when the build fails? :slightly_smiling_face:

Hey Bryan,

Firstly, want to correct the title. The ipa builds but crashes immediately. The below error is what is provided in the logs:

Library not loaded: @rpath/ThreeDS_SDK.framework/ThreeDS_SDK referenced from ..... SquareBuyerVerificationSDK

Our iOS developer then updated to the newest flutter version but had other issues. He reverted everything back and dropped down to 1.7.5 and it worked.

This stack overflow post is very similar to the problem we are seeing:

Thanks!

If you remove the framework and reinstall it does the build work? :slightly_smiling_face:

I’m not sure I follow entirely. The flutter plugin has all of the Square magic packaged away. We only add that specific entry to the pubspec.yaml and then we get the 1.7.x version of the in app payments.

The 1.7.5 version works as expected apart from the inabilty for certain users to add cards. This is why we have bumped up the version. Our app version with 1.7.5 is live on the App Store.

Thanks,
Peter

Hey Bryan, could you elaborate on the above? We’re still having trouble with this!

Thanks,
Peter