SQMPMockReaderUI - App crashes for iOS 26

Hi,

I am using SDK SQVersion - 2.3.0

For testing using SQMPMockReaderUI. Now click on it

app crashes on iOS 26 with

*** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘You must provide a value (key=filters.glassBackground.inputBleedColorMatrixFillColor)’

but its working fine on iOS 18.

:waving_hand: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Troubleshoot In-App Payments SDK Problems
Build on iOS: Point of Sale API
Update Reader SDK Version

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

Did you add a visual effect parameter during a UI animation. :slight_smile:

Hi Bryan,

Is this something new for ios 26? Can you provide sample?

Hi Bryan,

Here is the code I am using to present

if (_mockReaderUI.isPresented == false)
    {
        NSLog(@"Mock reader not presented. Calling present");
        [_mockReaderUI presentAndReturnError:&error];
        if (error != nil)
        {
            NSLog(@"Present Failed with error: %@", error);
        }
        else
            [self payViaSqaureReaderForAmount:100];
    }
    else
    {
        NSLog(@"Mock reader already being presented");
    }

Can you please explain a little bit further? This works fine in iOS 18, but there is an issue in iOS 26.

What is the full crash log your getting when this happens? :slight_smile:

Log

*** Assertion failure in -[_UIViewDeferredKeyframeAnimation addAnimationFrameForValue:], UIView.m:3048

*** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘You must provide a value (key=filters.glassBackground.inputBleedColorMatrixFillColor)’

*** First throw call stack:

(

0 CoreFoundation 0x00000001804f39e8 __exceptionPreprocess + 172

1 libobjc.A.dylib 0x000000018009c084 objc_exception_throw + 72

2 Foundation 0x00000001810353c0 _userInfoForFileAndLine + 0

3 UIKitCore 0x0000000186817934 -[_UIViewDeferredAnimation addAnimationFrameForValue:] + 200

4 UIKitCore 0x0000000186818148 -[_UIViewDeferredKeyframeAnimation addAnimationFrameForValue:] + 68

5 UIKitCore 0x000000018681707c __93-[UIViewKeyframeAnimationState addKeyframeWithRelativeStartTime:relativeDuration:animations:]_block_invoke + 360

6 CoreFoundation 0x0000000180435da4 _NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK_ + 16

7 CoreFoundation 0x0000000180561084 -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 260

8 UIKitCore 0x0000000186816eac -[UIViewKeyframeAnimationState addKeyframeWithRelativeStartTime:relativeDuration:animations:] + 156

9 UIKitCore 0x00000001868420d4 +[UIView(UIViewKeyframeAnimations) addKeyframeWithRelativeStartTime:relativeDuration:animations:] + 124

10 MockReaderUI 0x0000000101bbada0 $s19MPSDKFloatingWindow08FloatingB0C0cB5ErrorO9hashValueSivg + 1072

11 MockReaderUI 0x0000000101bacaa8 $s12MockReaderUI0aB7UIErrorOMa + 4832

12 UIKitCore 0x0000000186840a74 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 504

13 UIKitCore 0x0000000186841ff4 +[UIView(UIViewKeyframeAnimations) animateKeyframesWithDuration:delay:options:animations:completion:] + 192

14 MockReaderUI 0x0000000101bbacb4 $s19MPSDKFloatingWindow08FloatingB0C0cB5ErrorO9hashValueSivg + 836

15 MockReaderUI 0x0000000101bbaf1c $s19MPSDKFloatingWindow08FloatingB0C0cB5ErrorO9hashValueSivg + 1452

16 MockReaderUI 0x0000000101bacd44 $s12MockReaderUI0aB7UIErrorOMa + 5500

17 MockReaderUI 0x0000000101bacdbc $s12MockReaderUI0aB7UIErrorOMa + 5620

18 UIKitCore 0x0000000186265098 -[UIApplication sendAction:to:from:forEvent:] + 96

19 UIKitCore 0x0000000185ae7b14 -[UIControl sendAction:to:forEvent:] + 108

20 UIKitCore 0x0000000185ae7e94 -[UIControl _sendActionsForEvents:withEvent:] + 324

21 UIKitCore 0x0000000185ae464c -[UIButton _sendActionsForEvents:withEvent:] + 200

22 UIKitCore 0x0000000185ae6aec -[UIControl touchesEnded:withEvent:] + 428

23 UIKitCore 0x0000000186299fe4 -[UIWindow _sendTouchesForEvent:] + 976

24 UIKitCore 0x000000018629b3e4 -[UIWindow sendEvent:] + 2812

25 UIKitCore 0x0000000186279714 -[UIApplication sendEvent:] + 376

26 Checkin 0x0000000100d1841c -[CheckInApplication sendEvent:] + 80

27 UIKitCore 0x000000018630dc6c __dispatchPreprocessedEventFromEventQueue + 1184

28 UIKitCore 0x0000000186310920 __processEventQueue + 4800

29 UIKitCore 0x0000000186308ecc updateCycleEntry + 168

30 UIKitCore 0x0000000185773878 _UIUpdateSequenceRunNext + 120

31 UIKitCore 0x000000018617ec90 schedulerStepScheduledMainSectionContinue + 56

32 UpdateCycle 0x00000002509462b4 _ZN2UC10DriverCore18continueProcessingEv + 80

33 CoreFoundation 0x00000001804114ac __CFMachPortPerform + 164

34 CoreFoundation 0x000000018044dbe0 _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION_ + 56

35 CoreFoundation 0x000000018044d1f8 __CFRunLoopDoSource1 + 480

36 CoreFoundation 0x000000018044c2c0 __CFRunLoopRun + 2100

37 CoreFoundation 0x0000000180446e24 _CFRunLoopRunSpecificWithOptions + 496

38 GraphicsServices 0x00000001925319bc GSEventRunModal + 116

39 UIKitCore 0x000000018625fc3c -[UIApplication _run] + 772

40 UIKitCore 0x0000000186263e64 UIApplicationMain + 124

41 Checkin 0x0000000100d2cac8 main + 124

42 dyld 0x0000000100ff13d0 start_sim + 20

43 ??? 0x00000001010e4d54 0x0 + 4312681812

)

libc++abi: terminating due to uncaught exception of type NSException

*** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘You must provide a value (key=filters.glassBackground.inputBleedColorMatrixFillColor)’

terminating due to uncaught exception of type NSException

CoreSimulator 1048 - Device: iPad Pro 13-inch (M4) (83EBBACD-AFC7-4DF9-9CE6-73DEF018C388) - Runtime: iOS 26.0 (23A343) - DeviceType: iPad Pro 13-inch (M4)

Looks like this is missing a required color matrix parameter:

  • Missing Key: filters.glassBackground.inputBleedColorMatrixFillColor
  • Effect Type: Glass background blur/frosted glass visual effect
    :slight_smile:

Is it missing for the SDK? Or for my app?