Posts

Post not yet marked as solved
7 Replies
12k Views
Hi!We have found a lib system_kernel.dylib (os_channel_flow_admissible) crash since iOS11 and later.This bug is not highly reproducible but affects a large group of our users. You can find a stack trace below:#4. Crashed: com.apple.network.connections 0 libsystem_kernel.dylib 0x182ec3a60 os_channel_flow_admissible + 6 1 libsystem_network.dylib 0x182f47da0 nw_channel_check_flows_allowed + 124 2 libdispatch.dylib 0x182d34a60 _dispatch_client_callout + 16 3 libdispatch.dylib 0x182d3ce94 _dispatch_continuation_pop$VARIANT$mp + 424 4 libdispatch.dylib 0x182d46784 _dispatch_source_invoke$VARIANT$mp + 1364 5 libdispatch.dylib 0x182d3e86c _dispatch_queue_serial_drain$VARIANT$mp + 280 6 libdispatch.dylib 0x182d3f2fc _dispatch_queue_invoke$VARIANT$mp + 336 7 libdispatch.dylib 0x182d3fcc8 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340 8 libdispatch.dylib 0x182d48098 _dispatch_workloop_worker_thread$VARIANT$mp + 668 9 libsystem_pthread.dylib 0x183067e70 _pthread_wqthread + 860 10 libsystem_pthread.dylib 0x183067b08 start_wqthread + 4Is it a known issue? How can we fix it?Thanks!
Posted Last updated
.
Post not yet marked as solved
0 Replies
298 Views
I have an ios files extension for some cloud that allows colons in its files and folders names. However NSFileProviderItem.filename replaces colons with a slash (/) and they displays incorrectly in Files.appFor example, item with name Photos: 2018 displays as Photos/ 2018How can I insert colon symbol in filename?
Posted Last updated
.
Post not yet marked as solved
0 Replies
307 Views
I have UINavigationController with two viewControllers, each with its own UISearchController. After partial back swipe searchbar becomes misplacedhttps://i.stack.imgur.com/cKyK2.gifReproduced in ios 11.4 and ios 12, any device
Posted Last updated
.
Post not yet marked as solved
0 Replies
585 Views
Hello!I have a problem with working set enumerator (Recents tab) in Files app. I implement a working enumerator for Folders, it runs enumerateItems(for observer method when I move to the folder in UI and everything works fine.And I have a different enumerator for working set too, but it is not created and enumerated anything.override func enumerator(for containerItemIdentifier: NSFileProviderItemIdentifier) throws -> NSFileProviderEnumerator { let maybeEnumerator: NSFileProviderEnumerator? if (containerItemIdentifier == NSFileProviderItemIdentifier.rootContainer) { let directory = repository.directory(for: containerItemIdentifier)! maybeEnumerator = FileProviderFolderEnumerator() } else if (containerItemIdentifier == NSFileProviderItemIdentifier.workingSet) { maybeEnumerator = FileProviderWorkingSetEnumerator() // not called } else { _ = repository.item(for: containerItemIdentifier) if repository.isDirectory(at: containerItemIdentifier) { let directory = repository.directory(for: containerItemIdentifier)! maybeEnumerator = FileProviderFolderEnumerator() // works fine } else { maybeEnumerator = FileProviderItemEnumerator() } } guard let enumerator = maybeEnumerator else { throw NSError(domain: NSCocoaErrorDomain, code: NSFeatureUnsupportedError, userInfo:[:]) } return enumerator }I'm trying to call working set enumerator in startProvidingItem method using signal, but it doesn't work.override func startProvidingItem(at url: URL, completionHandler: @escaping ((_ error: Error?) -> Void)) { loadItem { //when done with loading NSFileProviderManager.default.signalEnumerator( for: NSFileProviderItemIdentifier.workingSet, completionHandler: { error in if let err = error { print(err) } } } }Does FileProviderWorkingSetEnumerator initialize automatically when I open Recents tab in Files app? Should I call it somehow directly from FileExtension?Thank you!
Posted Last updated
.