-
-
Notifications
You must be signed in to change notification settings - Fork 541
Open
Description
With the latest InappSettingsKit 3.9.2 I see 2 new behaviours while testing on device with iOS 26.1 (23B82).
When I tab the row that should open IASKAppSettingsWebViewController:
1. Xcode 26.1 shows 2 warnings about Autolayout constraints in the Console log:
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:0x129dd7c50 h=--& v=--& _TtCC5UIKit19NavigationButtonBar15ItemWrapperView:0x129c05500.width == 0 (active)>",
"<NSLayoutConstraint:0x116ab28a0 _TtCC5UIKit19NavigationButtonBar15ItemWrapperView:0x129c05500.leading == _UIButtonBarButton:0x129c5f480.leading (active)>",
"<NSLayoutConstraint:0x116ab1720 H:[_UIButtonBarButton:0x129c5f480]-(0)-| (active, names: '|':_TtCC5UIKit19NavigationButtonBar15ItemWrapperView:0x129c05500 )>",
"<NSLayoutConstraint:0x1079c0320 'IB_Leading_Leading' H:|-(7)-[_UIModernBarButton:0x129f28700] (active, names: '|':_UIButtonBarButton:0x129c5f480 )>",
"<NSLayoutConstraint:0x1079c2300 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x129f28700]-(7)-| (active, names: '|':_UIButtonBarButton:0x129c5f480 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x1079c2300 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x129f28700]-(7)-| (active, names: '|':_UIButtonBarButton:0x129c5f480 )>
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:0x1163d2440 h=--& v=--& _TtCC5UIKit19NavigationButtonBar15ItemWrapperView:0x129c07100.width == 0 (active)>",
"<NSLayoutConstraint:0x129dd5db0 _TtCC5UIKit19NavigationButtonBar15ItemWrapperView:0x129c07100.leading == _UIButtonBarButton:0x129f09e00.leading (active)>",
"<NSLayoutConstraint:0x129dd6a80 H:[_UIButtonBarButton:0x129f09e00]-(0)-| (active, names: '|':_TtCC5UIKit19NavigationButtonBar15ItemWrapperView:0x129c07100 )>",
"<NSLayoutConstraint:0x116ab3070 'IB_Leading_Leading' H:|-(7)-[_UIModernBarButton:0x129f28000] (active, names: '|':_UIButtonBarButton:0x129f09e00 )>",
"<NSLayoutConstraint:0x116ab3930 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x129f28000]-(7)-| (active, names: '|':_UIButtonBarButton:0x129f09e00 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x116ab3930 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x129f28000]-(7)-| (active, names: '|':_UIButtonBarButton:0x129f09e00 )>
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.
Also another stack trace is shown:
1 0x1af738584 0 WebKit 0x00000001af738584 F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 11171204
2 0x1af3b837c 1 WebKit 0x00000001af3b837c F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 7500668
3 0x102864788 -[IASKAppSettingsWebViewController webView:decidePolicyForNavigationAction:decisionHandler:]
4 0x1af39ed7c 3 WebKit 0x00000001af39ed7c F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 7396732
5 0x1af76e51c 4 WebKit 0x00000001af76e51c F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 11392284
6 0x1af76c790 5 WebKit 0x00000001af76c790 F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 11384720
7 0x1af20eb8c 6 WebKit 0x00000001af20eb8c F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 5757836
8 0x1afe05f90 7 WebKit 0x00000001afe05f90 F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 18304912
9 0x1af7eb334 8 WebKit 0x00000001af7eb334 F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 11903796
10 0x1aed260c8 9 WebKit 0x00000001aed260c8 F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 610504
11 0x1aed13c48 10 WebKit 0x00000001aed13c48 F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 535624
12 0x1aed23b40 11 WebKit 0x00000001aed23b40 F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 600896
13 0x1a985316c 12 JavaScriptCore 0x00000001a985316c 9E1FE0BC-E8D2-3653-A93C-B2ADCC9EF055 + 1663340
14 0x1a9852f24 13 JavaScriptCore 0x00000001a9852f24 9E1FE0BC-E8D2-3653-A93C-B2ADCC9EF055 + 1662756
15 0x1948b2f24 14 CoreFoundation 0x00000001948b2f24 B4A0233B-F37D-3EF6-A977-E4F36199C5A4 + 429860
16 0x1948b2e98 15 CoreFoundation 0x00000001948b2e98 B4A0233B-F37D-3EF6-A977-E4F36199C5A4 + 429720
17 0x194890acc 16 CoreFoundation 0x0000000194890acc B4A0233B-F37D-3EF6-A977-E4F36199C5A4 + 289484
18 0x1948676d8 17 CoreFoundation 0x00000001948676d8 B4A0233B-F37D-3EF6-A977-E4F36199C5A4 + 120536
19 0x194866a6c 18 CoreFoundation 0x0000000194866a6c B4A0233B-F37D-3EF6-A977-E4F36199C5A4 + 117356
20 0x235468498 GSEventRunModal
21 0x19a22aba4 20 UIKitCore 0x000000019a22aba4 46FEF81D-075E-38E2-9002-C5F285AF522D + 646052
22 0x19a1d3a78 UIApplicationMain
23 0x1025cb2c8 main
24 0x19187ee28 23 dyld 0x000000019187ee28 EF27E386-3CFF-3752-B152-D96A0AA9EFFD + 20008
1 0x1af738584 0 WebKit 0x00000001af738584 F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 11171204
2 0x1af3b837c 1 WebKit 0x00000001af3b837c F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 7500668
3 0x102864788 -[IASKAppSettingsWebViewController webView:decidePolicyForNavigationAction:decisionHandler:]
4 0x1af39ed7c 3 WebKit 0x00000001af39ed7c F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 7396732
5 0x1af76e51c 4 WebKit 0x00000001af76e51c F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 11392284
6 0x1af76c790 5 WebKit 0x00000001af76c790 F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 11384720
7 0x1af20eb8c 6 WebKit 0x00000001af20eb8c F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 5757836
8 0x1afe05f90 7 WebKit 0x00000001afe05f90 F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 18304912
9 0x1af7eb334 8 WebKit 0x00000001af7eb334 F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 11903796
10 0x1aed260c8 9 WebKit 0x00000001aed260c8 F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 610504
11 0x1aed13c48 10 WebKit 0x00000001aed13c48 F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 535624
12 0x1aed23bc0 11 WebKit 0x00000001aed23bc0 F2321104-8C05-34EF-BB9E-5F9FCEAB779B + 601024
13 0x1a985316c 12 JavaScriptCore 0x00000001a985316c 9E1FE0BC-E8D2-3653-A93C-B2ADCC9EF055 + 1663340
14 0x1a9852f24 13 JavaScriptCore 0x00000001a9852f24 9E1FE0BC-E8D2-3653-A93C-B2ADCC9EF055 + 1662756
15 0x1948b2f24 14 CoreFoundation 0x00000001948b2f24 B4A0233B-F37D-3EF6-A977-E4F36199C5A4 + 429860
16 0x1948b2e98 15 CoreFoundation 0x00000001948b2e98 B4A0233B-F37D-3EF6-A977-E4F36199C5A4 + 429720
17 0x194890acc 16 CoreFoundation 0x0000000194890acc B4A0233B-F37D-3EF6-A977-E4F36199C5A4 + 289484
18 0x1948676d8 17 CoreFoundation 0x00000001948676d8 B4A0233B-F37D-3EF6-A977-E4F36199C5A4 + 120536
19 0x194866a6c 18 CoreFoundation 0x0000000194866a6c B4A0233B-F37D-3EF6-A977-E4F36199C5A4 + 117356
20 0x235468498 GSEventRunModal
21 0x19a22aba4 20 UIKitCore 0x000000019a22aba4 46FEF81D-075E-38E2-9002-C5F285AF522D + 646052
22 0x19a1d3a78 UIApplicationMain
23 0x1025cb2c8 main
24 0x19187ee28 23 dyld 0x000000019187ee28 EF27E386-3CFF-3752-B152-D96A0AA9EFFD + 20008
unable to make sandbox extension: 22
And another failure:
Failed to open URL about:blank : Error Domain=NSOSStatusErrorDomain Code=-10814 "(null)" UserInfo={_LSFile=LSDOpenService.mm, _LSLine=282, _LSFunction=-[_LSDOpenClient openURL:fileHandle:options:completionHandler:]}
2. The app is moved to the background and Safari opens
Safari loads URL https://consentcdn.cookiebot.eu/sdk/bc-v4.min.html which is an empty page.
Why is this redirect performed?
Notes
- With the same Xcode 26.1 and an iPhone with iOS 18.7.2 the same behaviour is observed on device. However, in issue 1 only the last failure is shown in the Xcode console log:
Failed to open URL about:blank : Error Domain=NSOSStatusErrorDomain Code=-10814 "(null)" UserInfo={_LSFile=LSDOpenService.mm, _LSLine=282, _LSFunction=-[_LSDOpenClient openURL:fileHandle:options:completionHandler:]}
- With InappSettingsKit 3.8.5 and the same Xcode 26.1 and on both iPhones, these issues are not present, except that this log is observed too:
Failed to open URL about:blank : Error Domain=NSOSStatusErrorDomain Code=-10814 "(null)" UserInfo={_LSFile=LSDOpenService.mm, _LSLine=282, _LSFunction=-[_LSDOpenClient openURL:fileHandle:options:completionHandler:]}
- The used URL in the plist is https://www.atagverwarming.nl/over-atag/contact/ and is retrieved from the localisation file with key
contactAtagLocalizedUrllike:
- This URL shows a cookie popup from Cookiebot, which is exactly the domain that is being opened in Safari with InappSettingsKit 3.9.2:
Metadata
Metadata
Assignees
Labels
No labels
