Search results for

smb big sur

11,839 results found

Post

Replies

Boosts

Views

Activity

Reply to Error when materializing files
We found the cause - this happens when extension returns content of different size (even larger) than the range for fetchPartialContents. In our case it happened quite rarely and the content was always larger - which is quite surprising looking at the docs in NSFileProviderPartialContentFetching.h: On-disk layout: (...) The file contents outside of the fetched range are ignored by the system. (...) For instance, if the fetchedRange is {offset:0x100000, length:0x1000} (...) The ranges {0, 0x100000}, and {0x101000, EOF} can be anything including sparse ranges. So actually in this example, if I understand correctly what fetched range refers to, if EOF > 0x101000 (i.e. fetched data extends beyond the range), the issue reproduces. FWIW leaving some more details in case it's useful for someone reading this: Analyzing sysdiagnose logs was quite helpful - in logs from log show --archive system_logs.logarchive we noticed this extent length is not as expected (524488 != 524288) and based on that quickly found that w
Topic: App & System Services SubTopic: Core OS Tags:
3w
Creating an URL bookmark in macOS 26.1 of a Windows NTFS fileshare returns a bookmark with access to the local drive
Since macOS 26.1, creating bookmark data based on a NSOpenPanel URL, does not return the expected bookmark data when the selected source concerns a Windows NTFS fileshare. When the returned data is being resolved, the returned URL points to the local drive of the current Mac. Which is of course super confusing for the user. This issue did not occur in macOS 26.0 and older. In essence, the following code line with 'url' based on an URL from a NSOpenPanel after selecting the root of a Windows NTFS share, creates an incorrect bookmark in macOS 26.1: let bookmark = try url.bookmarkData(options: .withSecurityScope, includingResourceValuesForKeys: nil, relativeTo: nil) I have tested this on two different Macs with macOS 26.1 with two different Windows PC both hosting NTFS files shares via SMB. My questions: Have anyone else encountered this issue in macOS 26? Perhaps even with other fileshare types? Is there a workaround or some new project configuration needed in Xcode to get this working?
8
0
165
4w
Reply to Security-scoped bookmarks to external volumes are resolved to /
Users of my different apps started reporting an issue that could be related to the ones discussed in this other post: paths on an external volume, such as one mounted by NTFS for Mac, or a path on a Synology volume, are converted to / (Macintosh HD) after going through laundry (creating the security-scoped bookmark, resolving the URL from it, and using this new URL instead of the one returned by the open pane). Clarifying slightly, the bug happens with file systems which don't provide native persistent identifiers, so this does not affect APFS or HFS+. The behavior on smb volumes will depend on the specifics of the smb server. I created FB21002290. I believe this issue has been fixed in the most recent seed, macOS 26.2 beta 3 (25C5048a). __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: App & System Services SubTopic: Core OS Tags:
4w
NSScrollView scrolling hitch
When scrolling a basic NSScrollView there seems to be a sudden jump after each flick. Scrolling does not appear smooth and is disorientating. A scroll jump seems to happen directly after letting go of a scroll flick using a trackpad/mouse. Right at that moment the scroll turns into a momentum scroll, slowly decreasing the speed. But the first frame after the gesture the content jumps forward, more than what is expected. Observations: Counterintuitively, scrolling appears to be smoother when disabling NSScrollView.isCompatibleWithResponsiveScrolling. If disabled using a custom NSScrollView subclass there is no large jump anymore. Scrolling also appears to be smoother using a SwiftUI ScrollView. I assume that has the same behaviour as a disabled isCompatibleWithResponsiveScrolling Ironically a WKWebView scrolls much smoother. No sudden jump is observable. It also seems to scroll with faster acceleration, but the individual frames do appear smoother. Why is this better than a native NSScrollView? Elastic scrolli
Topic: UI Frameworks SubTopic: AppKit Tags:
8
0
707
Nov ’25
Reply to NSButton + TtGC6AppKit18_NSCoreHostingViewVS_12AppKitButton - Image Alignment Changed/Broken in Minor macOS 26.1 Update
So I had to pepper a few of these around: // NSButton image scaling changed in 26.1 with certain SF symbols? if (@available(macOS 26.1, *)) { // looks better on 26.1 button.imageScaling = NSImageScaleProportionallyDown; } else { // looks better on 26.0. button.imageScaling = NSImageScaleProportionallyUpOrDown; } And one of these for a symbol image... NSImageSymbolScale symbolScale; if (@available(macOS 26.1, *)) { // large is too big on on 26.1 so let's go down to medium symbolScale = NSImageSymbolScaleMedium; } else { // need large on 26.0 symbolScale = NSImageSymbolScaleLarge; } NSImage *symbol = // make image with symbolScale and use it in a NSButton
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’25
Reply to Get Wi-Fi Aware demo app working
[quote='807134021, captadoh, /thread/807134, /profile/captadoh'] This guy stands out to me Networking failed: -11992 [/quote] I’m not sure what’s going on with the big picture here, but you can find an explanation of that error in this post. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Nov ’25
Is SceneKit depricated ?
Hi everyone! I am working on AR app and wanted to implement object occlusion because it removes drift pretty much from the object. This working great with RealityKit sample But I am unable to replicate such behaviour it with scenekit. Because scenekit does not offer object occlusion. Can we say scenekit is getting depricated, and we should re-write app in RealityKit (which is obviously a big task)?
6
0
1.7k
Nov ’25
Reply to UIDocumentPickerViewController does not allow picking folders on connected servers on iOS26
Absolutely, although it is not much of a test project: https://github.com/martonfarago/documentPickerTest Using this, I can pick a folder on an SMB share just fine under 18.7 but cannot under 26.1. I've downloaded your sample project and, with two exceptions, I'm not able to replicate what you're describing. The two exceptions I found were: When you initially navigate into a server, the list of shared returned can't be opened. This happens because that list is artificially generated and doesn't actually exist in the file system. I'm not sure what the exact criteria we're applying is, but I think what's happening is that we're only enabling Open in directories you can write to. I'm not sure if #2 is new behavior or not, as I don't have an iOS 18 device handy to test it with, nor have I been able to find a specific bug/change that would have changed the behavior. So, a few points here: Is the share you're testing with coming from macOS? If it's not macOS, what is it? Note that one of the issues here is
Topic: UI Frameworks SubTopic: UIKit Tags:
Nov ’25
Reply to Clarification on SwiftUI Environment Write Performance
[quote='865440022, Engineer, /thread/806702?answerId=865440022#865440022'] However, in your example, since those environment variables wouldn't likely update very frequently (they're not really in a hot path) the cost of putting them in the environment is probably negligible. [/quote] Indeed, and now that I know that every write to any environment variable is not as egregious as I initially thought, then I'm a bit less concerned about this issue. That said, I do want to revisit this a bit. In your demo, you were worried about writes in the hot path during a critical operation like scrolling. What I'm finding on macOS isn't that I have hot paths but rather I have a lot of views being updated because of a very small change. These might be infrequent, the cost is high and noticeable. An example would be keeping track of a selected objects on a canvas such that a bunch of inspector panels and other panes need to update their state based as the selection changes. Selection changes are relatively infrequent (compar
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’25
Clarification on SwiftUI Environment Write Performance
I'm looking for clarification on a SwiftUI performance point mentioned in the recent Optimize your app's speed and efficiency | Meet with Apple video. (YouTube link not allowed, but the video is available on the Apple Developer channel.) At the 1:48:50 mark, the presenter says: Writing a value to the Environment doesn't only affect the views that read the key you're updating. It updates any view that reads from any Environment key. [abbreviated quote] That statement seems like a big deal if your app relies heavily on Environment values. Context I'm building a macOS application with a traditional three-panel layout. At any given time, there are many views on screen, plus others that exist in the hierarchy but are currently hidden (for example, views inside tab views or collapsed splitters). Nearly every major view reads something from the environment—often an @Observable object that acts as a service or provider. However, there are a few relatively small values that are written to the environment freq
4
0
1.1k
Nov ’25
Reply to Architectural Performance Difference in External Storage I/O Between Intel and Apple Silicon Macs
Is our understanding correct? Have other developers of high-performance storage drivers or peripherals also observed a similar performance ceiling for external storage on Apple Silicon Macs, when compared to high-end Intel Macs? SO, I have two response to this: If you haven't already, please file a bug on this and post the bug number back here. I'd like to discuss this with the engineering team and it's helpful to have a external bug to anchor that conversation. If you're using the original UserProcessParallelTask architecture, then switching to UserProcessBundledParallelTasks will probably provide significant performance benefits. Finally, one other comment here: Since the KEXT and external hardware are identical in both tests, we believe this performance difference is not a bug but a fundamental platform architecture distinction. One thing I'm not sure about here is how the configuration from UserReportHBAConstraints and UserGetDMASpecification configuration described here effect overall performance. Concep
Topic: App & System Services SubTopic: Drivers Tags:
Nov ’25
Reply to Seeking clarification on macOS URLs with security scope
Unfortunately, users of my different apps also started reporting another issue that could be related: paths on an external volume, such as one mounted by NTFS for Mac, or a path on a Synology volume, are converted to / (Macintosh HD) after going through laundry. Could someone at Apple confirm whether this is also a known issue? I'm not sure. There was an issue (fixed in macOS 26.1*) that prevented SMB volumes from remounting during bookmark resolution, however: I believe resolution simply failed; it didn't lead back to /. The issue effected remounting the volume, not the full resolution. *Note that the bookmark will need to be recreated. That also wouldn't explain NTFS for Mac, as that's a local volume mount which presents very different issues. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’25