Skip to content

[IOS] app crashes immediately after focusing on Card Number or MM/YY inputs. #3

@a-eid

Description

@a-eid
Simulator.Screen.Recording.-.iPhone.16.-.2025-02-01.at.01.08.42.mp4
Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) 
(
    "<NSAutoresizingMaskLayoutConstraint:0x6000022bf340 h=-&- v=-&- UIView:0x12430b7e0.minX == 0   (active, names: '|':PaymobSDK.TopBarView:0x124307ad0 )>",
    "<NSAutoresizingMaskLayoutConstraint:0x6000022bdc20 h=-&- v=-&- H:[UIView:0x12430b7e0]-(0)-|   (active, names: '|':PaymobSDK.TopBarView:0x124307ad0 )>",
    "<NSLayoutConstraint:0x6000022a0320 UIButton:0x124308890.width == 0.15*UIStackView:0x12430b970.width   (active)>",
    "<NSLayoutConstraint:0x6000022a1270 UIButton:0x12430a010.width == UIButton:0x124308890.width   (active)>",
    "<NSLayoutConstraint:0x6000022a3200 H:[UIStackView:0x12430b970]-(25)-|   (active, names: '|':UIView:0x12430b7e0 )>",
    "<NSLayoutConstraint:0x6000022a3390 H:|-(25)-[UIStackView:0x12430b970]   (active, names: '|':UIView:0x12430b7e0 )>",
    "<NSLayoutConstraint:0x6000022a0410 H:[UIStackView:0x12430cd50]-(0)-|   (active, names: '|':PaymobSDK.PaymobSDKView:0x124308170 )>",
    "<NSLayoutConstraint:0x6000022a0280 UILayoutGuide:0x600003b48460'UIViewSafeAreaLayoutGuide'.trailing == PaymobSDK.PaymobSDKView:0x124308170.trailing   (active)>",
    "<NSLayoutConstraint:0x6000022a1900 PaymobSDK.TopBarView:0x124307ad0.leading == UILayoutGuide:0x600003b48460'UIViewSafeAreaLayoutGuide'.leading   (active)>",
    "<NSLayoutConstraint:0x6000022a2580 '_UITemporaryLayoutWidth' UIView:0x124307fe0.width == 393   (active)>",
    "<NSLayoutConstraint:0x6000022977f0 'UISV-canvas-connection' UIStackView:0x12430b970.leading == UIButton:0x124308890.leading   (active)>",
    "<NSLayoutConstraint:0x600002295130 'UISV-canvas-connection' H:[UIButton:0x12430a010]-(0)-|   (active, names: '|':UIStackView:0x12430b970 )>",
    "<NSLayoutConstraint:0x6000022abc50 'UISV-canvas-connection' H:[PaymobSDK.TopBarView:0x124307ad0]-(0)-|   (active, names: '|':UIStackView:0x12430cd50 )>",
    "<NSLayoutConstraint:0x6000022bc4b0 'UISV-spacing' H:[UIButton:0x124308890]-(25)-[UIButton:0x12430a010]   (active)>",
    "<NSLayoutConstraint:0x6000022a1db0 'UIViewSafeAreaLayoutGuide-left' H:|-(0)-[UILayoutGuide:0x600003b48460'UIViewSafeAreaLayoutGuide'](LTR)   (active, names: '|':UIView:0x124307fe0 )>",
    "<NSLayoutConstraint:0x6000022a0690 'UIViewSafeAreaLayoutGuide-right' H:[UILayoutGuide:0x600003b48460'UIViewSafeAreaLayoutGuide']-(0)-|(LTR)   (active, names: '|':UIView:0x124307fe0 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x6000022bc4b0 'UISV-spacing' H:[UIButton:0x124308890]-(25)-[UIButton:0x12430a010]   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) 
(
    "<NSAutoresizingMaskLayoutConstraint:0x6000022d5ae0 h=-&- v=-&- UIView:0x122f0e650.minX == 0   (active, names: '|':PaymobSDK.TopBarView:0x101c10800 )>",
    "<NSAutoresizingMaskLayoutConstraint:0x6000022d5b30 h=-&- v=-&- H:[UIView:0x122f0e650]-(0)-|   (active, names: '|':PaymobSDK.TopBarView:0x101c10800 )>",
    "<NSLayoutConstraint:0x6000022b85a0 UIButton:0x121df5e10.width == 0.15*UIStackView:0x122f0e7e0.width   (active)>",
    "<NSLayoutConstraint:0x6000022b84b0 UIButton:0x122f0d2c0.width == UIButton:0x121df5e10.width   (active)>",
    "<NSLayoutConstraint:0x6000022b82d0 H:[UIStackView:0x122f0e7e0]-(25)-|   (active, names: '|':UIView:0x122f0e650 )>",
    "<NSLayoutConstraint:0x6000022b8280 H:|-(25)-[UIStackView:0x122f0e7e0]   (active, names: '|':UIView:0x122f0e650 )>",
    "<NSLayoutConstraint:0x6000022da620 H:[UIStackView:0x101c27a90]-(0)-|   (active, names: '|':PaymobSDK.PaymobSDKView:0x121df15a0 )>",
    "<NSLayoutConstraint:0x6000022da670 H:|-(0)-[UIStackView:0x101c27a90]   (active, names: '|':PaymobSDK.PaymobSDKView:0x121df15a0 )>",
    "<NSLayoutConstraint:0x6000022da7b0 UILayoutGuide:0x600003bf8380'UIViewSafeAreaLayoutGuide'.trailing == PaymobSDK.PaymobSDKView:0x121df15a0.trailing   (active)>",
    "<NSLayoutConstraint:0x6000022da940 PaymobSDK.PaymobSDKView:0x121df15a0.leading == UILayoutGuide:0x600003bf8380'UIViewSafeAreaLayoutGuide'.leading   (active)>",
    "<NSLayoutConstraint:0x6000022d4a00 '_UITemporaryLayoutWidth' UIView:0x124406100.width == 393   (active)>",
    "<NSLayoutConstraint:0x6000022d54a0 'UISV-canvas-connection' UIStackView:0x122f0e7e0.leading == UIButton:0x121df5e10.leading   (active)>",
    "<NSLayoutConstraint:0x6000022d54f0 'UISV-canvas-connection' H:[UIButton:0x122f0d2c0]-(0)-|   (active, names: '|':UIStackView:0x122f0e7e0 )>",
    "<NSLayoutConstraint:0x6000022bb8e0 'UISV-canvas-connection' UIStackView:0x101c27a90.leading == PaymobSDK.TopBarView:0x101c10800.leading   (active)>",
    "<NSLayoutConstraint:0x6000022bb980 'UISV-canvas-connection' H:[PaymobSDK.TopBarView:0x101c10800]-(0)-|   (active, names: '|':UIStackView:0x101c27a90 )>",
    "<NSLayoutConstraint:0x6000022d5770 'UISV-spacing' H:[UIButton:0x121df5e10]-(25)-[UIButton:0x122f0d2c0]   (active)>",
    "<NSLayoutConstraint:0x6000022da850 'UIViewSafeAreaLayoutGuide-left' H:|-(0)-[UILayoutGuide:0x600003bf8380'UIViewSafeAreaLayoutGuide'](LTR)   (active, names: '|':UIView:0x124406100 )>",
    "<NSLayoutConstraint:0x6000022da8f0 'UIViewSafeAreaLayoutGuide-right' H:[UILayoutGuide:0x600003bf8380'UIViewSafeAreaLayoutGuide']-(0)-|(LTR)   (active, names: '|':UIView:0x124406100 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x6000022d5770 'UISV-spacing' H:[UIButton:0x121df5e10]-(25)-[UIButton:0x122f0d2c0]   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) 
(
    "<NSAutoresizingMaskLayoutConstraint:0x6000022d5ae0 h=-&- v=-&- UIView:0x122f0e650.minX == 0   (active, names: '|':PaymobSDK.TopBarView:0x101c10800 )>",
    "<NSAutoresizingMaskLayoutConstraint:0x6000022d5b30 h=-&- v=-&- H:[UIView:0x122f0e650]-(0)-|   (active, names: '|':PaymobSDK.TopBarView:0x101c10800 )>",
    "<NSLayoutConstraint:0x6000022b85a0 UIButton:0x121df5e10.width == 0.15*UIStackView:0x122f0e7e0.width   (active)>",
    "<NSLayoutConstraint:0x6000022b84b0 UIButton:0x122f0d2c0.width == UIButton:0x121df5e10.width   (active)>",
    "<NSLayoutConstraint:0x6000022b82d0 H:[UIStackView:0x122f0e7e0]-(25)-|   (active, names: '|':UIView:0x122f0e650 )>",
    "<NSLayoutConstraint:0x6000022b8280 H:|-(25)-[UIStackView:0x122f0e7e0]   (active, names: '|':UIView:0x122f0e650 )>",
    "<NSLayoutConstraint:0x6000022da620 H:[UIStackView:0x101c27a90]-(0)-|   (active, names: '|':PaymobSDK.PaymobSDKView:0x121df15a0 )>",
    "<NSLayoutConstraint:0x6000022da670 H:|-(0)-[UIStackView:0x101c27a90]   (active, names: '|':PaymobSDK.PaymobSDKView:0x121df15a0 )>",
    "<NSLayoutConstraint:0x6000022da7b0 UILayoutGuide:0x600003bf8380'UIViewSafeAreaLayoutGuide'.trailing == PaymobSDK.PaymobSDKView:0x121df15a0.trailing   (active)>",
    "<NSLayoutConstraint:0x6000022da940 PaymobSDK.PaymobSDKView:0x121df15a0.leading == UILayoutGuide:0x600003bf8380'UIViewSafeAreaLayoutGuide'.leading   (active)>",
    "<NSLayoutConstraint:0x6000022d54a0 'UISV-canvas-connection' UIStackView:0x122f0e7e0.leading == UIButton:0x121df5e10.leading   (active)>",
    "<NSLayoutConstraint:0x6000022d54f0 'UISV-canvas-connection' H:[UIButton:0x122f0d2c0]-(0)-|   (active, names: '|':UIStackView:0x122f0e7e0 )>",
    "<NSLayoutConstraint:0x6000022bb8e0 'UISV-canvas-connection' UIStackView:0x101c27a90.leading == PaymobSDK.TopBarView:0x101c10800.leading   (active)>",
    "<NSLayoutConstraint:0x6000022bb980 'UISV-canvas-connection' H:[PaymobSDK.TopBarView:0x101c10800]-(0)-|   (active, names: '|':UIStackView:0x101c27a90 )>",
    "<NSLayoutConstraint:0x6000022d5770 'UISV-spacing' H:[UIButton:0x121df5e10]-(25)-[UIButton:0x122f0d2c0]   (active)>",
    "<NSLayoutConstraint:0x6000022bbb60 'UIView-Encapsulated-Layout-Width' UIView:0x124406100.width == 393   (active)>",
    "<NSLayoutConstraint:0x6000022da850 'UIViewSafeAreaLayoutGuide-left' H:|-(0)-[UILayoutGuide:0x600003bf8380'UIViewSafeAreaLayoutGuide'](LTR)   (active, names: '|':UIView:0x124406100 )>",
    "<NSLayoutConstraint:0x6000022da8f0 'UIViewSafeAreaLayoutGuide-right' H:[UILayoutGuide:0x600003bf8380'UIViewSafeAreaLayoutGuide']-(0)-|(LTR)   (active, names: '|':UIView:0x124406100 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x6000022d5770 'UISV-spacing' H:[UIButton:0x121df5e10]-(25)-[UIButton:0x122f0d2c0]   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) 
(
    "<NSAutoresizingMaskLayoutConstraint:0x6000022c0cd0 h=-&- v=-&- UIView:0x122af2a20.minX == 0   (active, names: '|':PaymobSDK.TopBarView:0x12430fa60 )>",
    "<NSAutoresizingMaskLayoutConstraint:0x6000022c0d20 h=-&- v=-&- H:[UIView:0x122af2a20]-(0)-|   (active, names: '|':PaymobSDK.TopBarView:0x12430fa60 )>",
    "<NSLayoutConstraint:0x6000022ab2a0 UIButton:0x122af1fa0.width == 0.15*UIStackView:0x122af3b70.width   (active)>",
    "<NSLayoutConstraint:0x6000022a8000 UIButton:0x122af37f0.width == UIButton:0x122af1fa0.width   (active)>",
    "<NSLayoutConstraint:0x6000022dc8c0 H:[UIStackView:0x122af3b70]-(25)-|   (active, names: '|':UIView:0x122af2a20 )>",
    "<NSLayoutConstraint:0x6000022df520 H:|-(25)-[UIStackView:0x122af3b70]   (active, names: '|':UIView:0x122af2a20 )>",
    "<NSLayoutConstraint:0x6000022d8910 H:[UIStackView:0x12430f8b0]-(0)-|   (active, names: '|':PaymobSDK.PaymobSDKView:0x1200d9db0 )>",
    "<NSLayoutConstraint:0x6000022d8960 H:|-(0)-[UIStackView:0x12430f8b0]   (active, names: '|':PaymobSDK.PaymobSDKView:0x1200d9db0 )>",
    "<NSLayoutConstraint:0x6000022d8af0 H:[PaymobSDK.PaymobSDKView:0x1200d9db0]-(0)-|   (active, names: '|':UIView:0x122af76d0 )>",
    "<NSLayoutConstraint:0x6000022d8b40 PaymobSDK.PaymobSDKView:0x1200d9db0.leading == UILayoutGuide:0x600003bff560'UIViewSafeAreaLayoutGuide'.leading   (active)>",
    "<NSLayoutConstraint:0x6000022db1b0 '_UITemporaryLayoutWidth' UIView:0x122af76d0.width == 393   (active)>",
    "<NSLayoutConstraint:0x6000022c0690 'UISV-canvas-connection' UIStackView:0x122af3b70.leading == UIButton:0x122af1fa0.leading   (active)>",
    "<NSLayoutConstraint:0x6000022c06e0 'UISV-canvas-connection' H:[UIButton:0x122af37f0]-(0)-|   (active, names: '|':UIStackView:0x122af3b70 )>",
    "<NSLayoutConstraint:0x6000022c1c70 'UISV-canvas-connection' UIStackView:0x12430f8b0.leading == PaymobSDK.TopBarView:0x12430fa60.leading   (active)>",
    "<NSLayoutConstraint:0x6000022c1cc0 'UISV-canvas-connection' H:[PaymobSDK.TopBarView:0x12430fa60]-(0)-|   (active, names: '|':UIStackView:0x12430f8b0 )>",
    "<NSLayoutConstraint:0x6000022c0960 'UISV-spacing' H:[UIButton:0x122af1fa0]-(25)-[UIButton:0x122af37f0]   (active)>",
    "<NSLayoutConstraint:0x6000022d8be0 'UIViewSafeAreaLayoutGuide-left' H:|-(0)-[UILayoutGuide:0x600003bff560'UIViewSafeAreaLayoutGuide'](LTR)   (active, names: '|':UIView:0x122af76d0 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x6000022c0960 'UISV-spacing' H:[UIButton:0x122af1fa0]-(25)-[UIButton:0x122af37f0]   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.

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