After updating to iOS 16 some screens in my app started showing black navigation bars for the UINavigationController.
Some of the screens are SwiftUI views wrapped in UIHostingController.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
The app uses UIReferenceLibraryViewController. It appears to be related to the crash. It's an iOS SwiftUI application.
The log shows some warnings like:
2022-12-22 14:12:22.844524-0600 hangul-practice[22135:13945548] [default] capability properties: could not find untranslocated node for <FSNode 0x6000008c7140> { isDir = ?, path = '/private/var/folders/dy/xsxx3q394kggnyw6st2p86840000gn/X/69B34322-B92C-55AF-BE13-2C8CEA83BE7B/d/Wrapper/hangul-practice.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
And then, an assertion failure:
2022-12-22 14:12:23.462759-0600 hangul-practice[22135:13944773] *** Assertion failure in void *DictionaryServicesLibrary(void)(), _UIDictionaryManager.m:25
2022-12-22 14:12:23.469960-0600 hangul-practice[22135:13944773] [General] dlopen(/System/Library/PrivateFrameworks/DictionaryServices.framework/DictionaryServices, 0x0001): tried: '/Users/louis1001/Library/Developer/Xcode/DerivedData/hangul-practice-axifqfgooymqougfqjsrjjjpxqyq/Build/Products/Debug-iphoneos/DictionaryServices.framework/DictionaryServices' (no such file), '/Users/louis1001/Library/Developer/Xcode/DerivedData/hangul-practice-axifqfgooymqougfqjsrjjjpxqyq/Build/Products/Debug-iphoneos/PackageFrameworks/DictionaryServices.framework/DictionaryServices' (no such file), '/System/iOSSupport/System/Library/PrivateFrameworks/DictionaryServices.framework/DictionaryServices' (no such file), '/System/Library/PrivateFrameworks/DictionaryServices.framework/DictionaryServices' (no such file), '/System/Library/Frameworks/DictionaryServices.framework/DictionaryServices' (no such file)
dictionaryHasDefinition(forTerm:) is used within the UI to determine if a button should be greyed out or not.
Here is the code for the UI:
https://github.com/louis1001/hangul-practice-ios/blob/main/hangul-practice/Views/Details.swift#L43
And here is the part that handles Dictionary Definitions:
https://github.com/louis1001/hangul-practice-ios/blob/main/hangul-practice/Utils/DictionaryReference.swift
I just installed Xcode 14.0.1, and after just starting it asks me to agree to the license agreements.
I tried read to click agree after getting to the end of the document, and tried many times clicking again. Nothing happens. Only the first time I was asked for touch id verification.