Another onDelete crash with ColumnNavigationViewStyle.
withAnimation/withAnimation(.easeInOut(duration: 1)) is not working
but DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(400)) works.
Xcode 13.3, iOS 15.4
Simultaneous accesses to 0x13ee25640, but modification requires exclusive access.
Previous access (a modification) started at SwiftUI`GraphHost.invalidate() + 124 (0x112d9adcc).
Current access (a read) started at:
0 libswiftCore.dylib 0x000000010b1c40d0 swift::runtime::AccessSet::insert(swift::runtime::Access*, void*, void*, swift::ExclusivityFlags) + 428
1 libswiftCore.dylib 0x000000010b1c42f0 swift_beginAccess + 72
2 SwiftUI 0x0000000112d9b6f8 GraphHost.isUpdating.getter + 24
3 SwiftUI 0x0000000112dbab28 StoredLocation.isValid.getter + 36
4 SwiftUI 0x0000000112db9848 StoredLocationBase.set(_:transaction:) + 52
5 SwiftUI 0x0000000112ec55a4 UITableViewListCoordinator.tableView(_:didEndEditingRowAt:) + 96
6 SwiftUI 0x0000000112ec5610 @objc UITableViewListCoordinator.tableView(_:didEndEditingRowAt:) + 160
7 UIKitCore 0x000000011d2e4d74 -[UITableView _sendDidEndEditingForIndexPath:] + 120
8 UIKitCore 0x000000011d3138e4 -[UITableView _endSwipeToDeleteRowDidDelete:] + 208
9 UIKitCore 0x000000011d2fd744 -[UITableView _setEditing:animated:forced:] + 1084
10 UIKitCore 0x000000011d2fd680 -[UITableView willMoveToSuperview:] + 132
11 UIKitCore 0x000000011d621360 __UIViewWillBeRemovedFromSuperview + 528
12 UIKitCore 0x000000011d62119c -[UIView(Hierarchy) removeFromSuperview] + 92
13 UIKitCore 0x000000011d5aaa6c -[UIScrollView removeFromSuperview] + 68
14 UIKitCore 0x000000011d609908 -[UIView dealloc] + 432
15 SwiftUI 0x0000000112b9f6d4 LayoutComputer.EngineDelegate.deinit + 36
16 SwiftUI 0x0000000112b9f704 LayoutComputer.EngineDelegate.__deallocating_deinit + 12
17 libswiftCore.dylib 0x000000010b1c6538 _swift_release_dealloc + 28
18 SwiftUI 0x0000000112b9f6d4 LayoutComputer.EngineDelegate.deinit + 36
19 SwiftUI 0x0000000112b9f704 LayoutComputer.EngineDelegate.__deallocating_deinit + 12
20 libswiftCore.dylib 0x000000010b1c6538 _swift_release_dealloc + 28
21 SwiftUI 0x0000000112b9f6d4 LayoutComputer.EngineDelegate.deinit + 36
22 SwiftUI 0x0000000112b9f704 LayoutComputer.EngineDelegate.__deallocating_deinit + 12
23 libswiftCore.dylib 0x000000010b1c6538 _swift_release_dealloc + 28
24 AttributeGraph 0x0000000137808b40 AG::Node::destroy(AG::Graph&) + 92
25 AttributeGraph 0x00000001377ff1cc AG::Subgraph::invalidate_now(AG::Graph&, unsigned long) + 1256
26 AttributeGraph 0x000000013780003c AG::Subgraph::invalidate_and_delete_(bool) + 260
27 SwiftUI 0x0000000112d9ad50 GraphHost.invalidate() + 156
28 SwiftUI 0x0000000112eeac20 closure #1 in _UIHostingView.deinit + 68
29 SwiftUI 0x0000000112eeab30 _UIHostingView.__deallocating_deinit + 180
30 SwiftUI 0x0000000112eeac74 @objc _UIHostingView.__deallocating_deinit + 24
31 SwiftUI 0x0000000112ef0f8c @objc UIHostingController.__ivar_destroyer + 32
32 libobjc.A.dylib 0x000000010296bd9c object_cxxDestructFromClass(objc_object*, objc_class*) + 112
33 libobjc.A.dylib 0x000000010298006c objc_destructInstance + 76
34 libobjc.A.dylib 0x0000000102986abc _objc_rootDealloc + 60
35 UIKitCore 0x000000011d0fea14 -[UIResponder dealloc] + 152
36 UIKitCore 0x000000011c976268 -[UIViewController dealloc] + 1192
37 libobjc.A.dylib 0x000000010296bd9c object_cxxDestructFromClass(objc_object*, objc_class*) + 112
38 libobjc.A.dylib 0x000000010298006c objc_destructInstance + 76
39 libobjc.A.dylib 0x0000000102986abc _objc_rootDealloc + 60
40 CoreFoundation 0x0000000103c840c4 cow_cleanup + 168
41 CoreFoundation 0x0000000103c83fe4 -[__NSDictionaryM dealloc] + 144
42 libobjc.A.dylib 0x000000010296bd9c object_cxxDestructFromClass(objc_object*, objc_class*) + 112
43 libobjc.A.dylib 0x000000010298006c objc_destructInstance + 76
44 libobjc.A.dylib 0x0000000102986abc _objc_rootDealloc + 60
45 libobjc.A.dylib 0x000000010296bd9c object_cxxDestructFromClass(objc_object*, objc_class*) + 112
46 libobjc.A.dylib 0x000000010298006c objc_destructInstance + 76
47 libobjc.A.dylib 0x0000000102986abc _objc_rootDealloc + 60
48 UIKitCore 0x000000011d0fea14 -[UIResponder dealloc] + 152
49 UIKitCore 0x000000011c976268 -[UIViewController dealloc] + 1192
50 libobjc.A.dylib 0x0000000102989628 AutoreleasePoolPage::releaseUntil(objc_object**) + 200
51 libobjc.A.dylib 0x00000001029894d4 objc_autoreleasePoolPop + 240
52 UIKitCore 0x000000011d5d5528 -[_UIAfterCACommitBlock run] + 84
53 UIKitCore 0x000000011d5d5980 -[_UIAfterCACommitQueue flush] + 188
54 UIKitCore 0x000000011d0d8a20 _runAfterCACommitDeferredBlocks + 640
55 UIKitCore 0x000000011d0c8644 _cleanUpAfterCAFlushAndRunDeferredBlocks + 128
56 UIKitCore 0x000000011d0fb44c _afterCACommitHandler + 76
57 CoreFoundation 0x0000000103b7c4dc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
58 CoreFoundation 0x0000000103b76954 __CFRunLoopDoObservers + 572
59 CoreFoundation 0x0000000103b76d1c __CFRunLoopRun + 968
60 CoreFoundation 0x0000000103b765c8 CFRunLoopRunSpecific + 572
61 GraphicsServices 0x000000010d26356c GSEventRunModal + 160
62 UIKitCore 0x000000011d0c994c -[UIApplication _run] + 992
63 UIKitCore 0x000000011d0ce858 UIApplicationMain + 112
64 SwiftUI 0x0000000112d0b4c4 closure #1 in KitRendererCommon(_:) + 160
65 SwiftUI 0x0000000112d0b41c runApp<A>(_:) + 164
66 SwiftUI 0x000000011273ea8c static App.main() + 80
67 Star 0x00000001002ba6d0 static StarApp.$main() + 40
68 Star 0x00000001002badfc main + 12
Post
Replies
Boosts
Views
Activity
Same here. The problem is from iOS 15 beta 4 to now(iOS 16 beta 6). Sync in iOS 14 is so nice.
Just change objectVersion = 56 to objectVersion = 55 in project.pbxproj
After removing 2 svg images, error disappeared.
Xcode 15.0 beta 5 while beta 4 works fine.