Absturz von iOS 26 mit _UIRemoteKeyboardPlaceholderView-EinschränkungenIOS

Programmierung für iOS
Anonymous
 Absturz von iOS 26 mit _UIRemoteKeyboardPlaceholderView-Einschränkungen

Post by Anonymous »

Ich habe festgestellt, dass diese Abstürze bei allen Versionen von iOS 26, einschließlich der Betaversion 26.2, recht häufig auftraten.
Hat sonst noch jemand dieses Problem und weiß, wie man das Problem findet? Bei früheren iOS-Versionen gibt es keinen Absturz.
In meiner SwiftUI-App versuche ich überhaupt nicht, etwas an die Tastatur anzuschließen. Alle meine Ansichten ignorieren auch die Tastatur (keine Tastaturvermeidung)

Code: Select all

CrashReporter Key:  51e430ca13e319afe098a5e52730eecc943d7f6d
Hardware Model:     iPad13,16
Process:            MyApp
Identifier:         com.MyApp
Version:            2.61.0
Role:               Foreground
OS Version:         iOS 26.0.1

NSGenericException: Unable to activate constraint with anchors  and  because they have no common ancestor.   Does the constraint or its anchors reference items in different view hierarchies?  That's illegal.

0  CoreFoundation +0xc98c4    ___exceptionPreprocess
1  libobjc.A.dylib +0x317c0   _objc_exception_throw
2  CoreAutoLayout +0x22548    -[NSLayoutConstraint _setActive:mutuallyExclusiveConstraints:]
3  CoreAutoLayout +0x30fe8    ___55+[NSLayoutConstraint _addOrRemoveConstraints:activate:]_block_invoke
4  CoreAutoLayout +0x13d60    -[NSISEngine withBehaviors:performModifications:]
5  CoreAutoLayout +0x22698    +[NSLayoutConstraint _addOrRemoveConstraints:activate:]
6  UIKitCore +0x38d43c        -[UIInputWindowControllerHostingItem updateViewConstraints]
7  UIKitCore +0x392610        -[UIInputWindowController updateSupportsDockViewController]
8  UIKitCore +0x210cd4        -[UIInputSetHostView _updateSafeAreaInsets]
9  UIKitCore +0x18fcff0       -[UIView(Geometry) _applyISEngineLayoutValuesToBoundsOnly:]
10 UIKitCore +0x18fd0d0       -[UIView(Geometry) _resizeWithOldSuperviewSize:]
11 CoreFoundation +0x1514c    ___NSARRAY_IS_CALLING_OUT_TO_A_BLOCK__
12 CoreFoundation +0x186b60   -[__NSSingleObjectArrayI enumerateObjectsWithOptions:usingBlock:]
13 UIKitCore +0x18fc6dc       -[UIView(Geometry) resizeSubviewsWithOldSize:]
14 UIKitCore +0x4fc8c         -[UIView(AdditionalLayoutSupport) _is_layout]
15 UIKitCore +0x43468         -[UIView _updateConstraintsAsNecessaryAndApplyLayoutFromEngine]
16 UIKitCore +0x2750c         -[UIView(Hierarchy) layoutSubviews]
17 UIKitCore +0x27074         0x18899a074 (0x188999d3c + 824)
18 UIKitCore +0x27b34         0x18899ab34 (0x18899ab14 + 32)
19 UIKitCore +0x190df64       -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
20 QuartzCore +0xac9a4        CA::Layer::perform_update_(CA::Layer*, CALayer*, unsigned int, CA::Transaction*)
21 QuartzCore +0x8f2f8        CA::Layer::update_if_needed(CA::Transaction*, unsigned int,  unsigned int)
22 UIKitCore +0x57b0          -[UIView(Hierarchy) layoutBelowIfNeeded]
23 UIKitCore +0x3918d8        -[UIInputSetHostView layoutIfNeeded]
24 UIKitCore +0x114553c       ___64-[UIInputWindowControllerHostingItem updateTransition:withInfo:]_block_invoke
25 UIKitCore +0x11454cc       -[UIInputWindowControllerHostingItem updateTransition:withInfo:]
26 UIKitCore +0x11c4a64       ___65-[_UIRemoteKeyboards _performOnDistributedControllersExceptSelf:]_block_invoke
27 UIKitCore +0x11c491c       -[_UIRemoteKeyboards performOnControllers:]
28 UIKitCore +0x11c4a04       -[_UIRemoteKeyboards _performOnDistributedControllersExceptSelf:]
29 UIKitCore +0x11a0354       -[UIFlickingAssistantViewSupport updateTransition:animated:]
30 UIKitCore +0x119eb8c       -[UIFlickingAssistantViewSupport _updatedController]
31 UIKitCore +0x1199268       -[UIKeyboardMotionSupport setMasterController:]
32 UIKitCore +0x1146e2c       -[UIInputWindowControllerHostingItem configureFlickingAssistantViewController:]
33 CoreFoundation +0x144d60   -[NSArray makeObjectsPerformSelector:]
34 UIKitCore +0x1139784       -[UIInputWindowController changeToInputViewSet:]
35 UIKitCore +0x113ad80       ___43-[UIInputWindowController setInputViewSet:]_block_invoke
36 UIKitCore +0x19047f8       +[UIView(Animation) performWithoutAnimation:]
37 UIKitCore +0x113a8e8       -[UIInputWindowController setInputViewSet:]
38 UIKitCore +0x112fa20       -[UIInputWindowController performOperations:withAnimationStyle:]
39 UIKitCore +0xd81ab0        -[UIKeyboardSceneDelegate setKeyWindowSceneInputViews:animationStyle:]
40 UIKitCore +0xd80ff0        -[UIKeyboardSceneDelegate setInputViews:animationStyle:]
41 UIKitCore +0xd820a8        -[UIKeyboardSceneDelegate setInputViews:animated:]
42 UIKitCore +0xd8210c        -[UIKeyboardSceneDelegate setInputViews:]
43 UIKitCore +0xd7f554        ___102-[UIKeyboardSceneDelegate _reloadInputViewsForKeyWindowSceneResponder:force:fromBecomeFirstResponder:]_block_invoke.587
44 UIKitCore +0x1191fe4       ___65-[UIPeripheralHost(UIKitInternal) queueDelayedTask:forKey:delay:]_block_invoke
45 libdispatch.dylib +0x1b7e8 __dispatch_client_callout
46 libdispatch.dylib +0x6660  __dispatch_continuation_pop
47 libdispatch.dylib +0x19524 __dispatch_source_latch_and_call
48 libdispatch.dylib +0x181f8 __dispatch_source_invoke
49 libdispatch.dylib +0x38a44 __dispatch_main_queue_drain.cold.5
50 libdispatch.dylib +0x10ec4 __dispatch_main_queue_drain
51 libdispatch.dylib +0x10e00 __dispatch_main_queue_callback_4CF
52 CoreFoundation +0x6b51c    ___CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
53 CoreFoundation +0x1dd10    ___CFRunLoopRun
54 CoreFoundation +0x1cc40    __CFRunLoopRunSpecificWithOptions
55 GraphicsServices +0x1494   _GSEventRunModal
56 UIKitCore +0xa9dd8         -[UIApplication _run]
57 UIKitCore +0x4eb08         _UIApplicationMain
58 SwiftUI +0x326ec           closure #1 in KitRendererCommon(_:)
59 SwiftUI +0x2f228           runApp(_:)
60 SwiftUI +0x2ed14           static App.main()
61 MyApp +0x4aa0e0         static MyApp.$main() (MyApp.swift)
62 MyApp +0x4aa0e0         main (MyApp.swift)
63 dyld +0x4e24               start

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post