Search results for

smb big sur

11,916 results found

Post

Replies

Boosts

Views

Activity

Enabling FileProvider Extensions
We're updating a FileProvider-based app which was written for Big Sur to recent macOS. The system requires that the extension be manually enabled by the user in System Preferences -- either under Extensions > Added Extensions, Privacy & Security > Extensions > Added Extensions, or in newer versions General > Login Items & Extensions. Is there a programmatic (preferably Swift) or installer-based way to enable this checkbox-- or at least to detect if it has been enabled for a particular app, and if not bring up the appropriate pane of Preferences? (For which I'd need a complete OS-version-specific list of which pane to bring up.) (I can detect whether our particular NSFileProviderDomain has its userEnabled flag set after it's defined during the mounting process, but I'd rather be able to detect / set it during initial setup.)
1
0
212
Jan ’26
Reply to Text with Liquid Glass effect
You'd need to generate a set of Path instances from the characters in your text. This is only really suitable for small amounts, e.g. the Welcome animation or clock digits, etc., because it's not the most performant thing. Also, bigger text is better. Lastly, remember to wrap it all in a GlassEffectContainer to avoid each character's glass being rendered in a discrete pass. Actually lastly: you'll need to adjust the location of the text using .offset(x:y:) or by tweaking the path creation to include better offset translations. This is my quick & dirty attempt. Since .glassEffect() is designed similarly to a fill API, you need something non-empty to 'fill' with your text. Color.clear gets elided by the rendering engine, but what I've found is that Color.white.opacity(0) works to cause an actual (invisible) view to render and take up space during layout calculations. And now: the code! This was written for tvOS, so it uses BIG fonts and offsets to write big numbers. I had it draw a counter
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’26
Too large clock size on iOS 26 Lock Screen.
The clock on the lock screen is too big. This is very noticeable on the serif font, the maximum size goes beyond the frame, and rests on the frame of the phone display. (Screenshot 1 & Screenshot 3) This is especially evident if you use the enlarged interface (using the Large Text function), here the time goes completely out of the frame and conflicts with the frame of the phone screen. (Screenshot 2 & Screenshot 4)
Topic: Design SubTopic: General Tags:
3
0
1.1k
Jan ’26
Reply to macOS Network Extension deactivation fails with authorizationRequired
[quote='869254022, Ionnier, /thread/809951?answerId=869254022#869254022, /profile/Ionnier'] I have to add that the daemon is a NSApplication. [/quote] Hmmm, that’s not good. A launchd daemon runs in the global execution context. Code running in that context cannot safely use GUI frameworks like AppKit. It’s only safe to use GUI frameworks from a GUI user login context. There’s a detailed description of this architecture in TN2083 Daemons and Agents. It’s super old, and there are a few areas where it’s suffering from bit rot, but the big picture stuff is still completely valid. If you break these rules you will run into all sorts of weird problems. Some of them show up immediately, and some of them lurk, waiting to cause you grief as the system evolves. Given that, I strongly recommend that you move away from this design. Coming back to System Extensions framework, it’s intended to be used by a GUI app to load and unload system extensions in response to user actions. Calling it from the global executi
Jan ’26
Reply to DesktopServicesHelper appears to delete or unlink the source file before the ESF auth event deadline is reached, rather than waiting for the full deadline window.
So, in my earlier post, I said: Misunderstanding what the system was actually doing Which now leads to: To add more context, suppose the user is copying a file from one destination to a Network location. Am I correct that you've only actually seen this on Network copies? And (possibly) only some Network copies? As a side test, I'd be curious what happens if you tested with an AFP server instead of smb. I ask because of this: If it took longer than 5 seconds to complete the file inspection (which is well below the deadline for the auth event), then DesktopServicesHelper just deletes this file created at the destination. This we are observing in macOS Tahoe only. Strictly speaking, 5s is a somewhat odd amount of time. That may not sound like a long time, but it's an eternity at the time scale the kernel operates, particularly for any kind of local file system operation. You haven't actually said this, but I suspect you've found that the timing here is fairly precise— that is, it works fine with a delay
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’26
Reply to Zsh kills Python process with plenty of available VM
I see, thank you for pointing this out. So it is not a percentage, but an actual number of pages. Could you expand a little on how to interpret in your previous answer? So, stepping back for a moment, the basic issue here is deciding when should the kernel stop just blindly backing memory. It COULD (and, historically, did) just limit that to total available storage; however, in practice, that just means the machine grinds itself into a useless state without actually failing. So, what macOS does is artificially limit the VM system to ensure that the machine remains always in a functional state. The next question then becomes how to implement that limit. There are lots of places you COULD limit the VM system, but the problem is that the VM system is complicated enough that many obvious metrics don't really work. For example, purgable memory[1] means that simply dirty pages doesn't necessarily work“ - a process could have a very large number of dirty pages, but if they're all purgable, they shouldn't really coun
Jan ’26
Reply to something that's probably easy to fix but it's driving me crazy
One of your targets is likely including the Info.plist file in the Copy Bundle Resources step. Select your project in the project viewer. It's the first item at the top, with the little blue icon. Select your main iOS target under the TARGETS section. In the big main pane, select the Build Settings tab. In the search field in the top-right, enter info, then scroll down to the Packaging section. You likely have Generate Info.plist file set to Yes. This is fine, leave it as it is. For each target you have (you may have only one): Select the target from the TARGETS section. In the big main pane, select the Build Phases tab. Expand the Copy Bundle Resources item. If Info.plist is listed there, remove it. (Do not remove InfoPlist.strings!) Hope this helps.
Jan ’26
Reply to DesktopServicesHelper appears to delete or unlink the source file before the ESF auth event deadline is reached, rather than waiting for the full deadline window.
On macOS Tahoe, our application using the Endpoint Security Framework (ESF) observes that during file copies through Finder application, DesktopServicesHelper unlinks the source file if the ESF authorization response is delayed for ~5 seconds, even though the authorization event deadline remains 15 seconds, indicating that the process does not wait for the full ESF deadline before deleting the file. First, I want to start with a general clarification on this point: if the ESF authorization response is delayed for ~5 seconds, even though the authorization event deadline remains 15 seconds, indicating that the process does not wait for the full ESF deadline before deleting the file. In general, the EndpointSecurity system is implemented as a user space communication component built on top of kauth in the kernel. As such, the calling process has NO ability to bypass or circumvent ANY given check. The only reason any given check is passed is because kauth/EndpointSecurity allowed it to pass. Next, a note on this
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’26
Reply to Metal 4 Argument Tables
True, it is a bit confusing without context. Argument tables basically put all power to you as the developer on how you want your rendering pipeline to interpret your GPU uploaded data. Also, you are free to replace the typical vertex input workflow (using stage_in and MTLVertexDescriptor) with raw buffer indexing in the shader. The Drawing a triangle with Metal 4 sample demonstrates that. So with the attributeStride parameter you can (loosely) recreate what stride does on MTLVertexBufferLayoutDescriptor. It is true that the C++ side structs will determine the underlying buffer layout for the shader, but what if you wanna have multiple variants of the buffer types? e.g. struct { simd_float2 position; simd_float4 color; } VertexData1; struct { simd_float2 position; simd_float4 color; simd_float3 normal; simd_float2 uv; } VertexData2; E.g.: Imagine you have a big vertex buffer that contains lots of data, but not all shaders use the same vertex inputs. Maybe you are interleaving or otherwise packing ver
Topic: Graphics & Games SubTopic: Metal Tags:
Jan ’26
In-app purchases problem
Hi! I've been having big trouble with my app. I submited it for review, but apple said to me that I uploaded an in-app purchase product that have not been submitted to review, but the problem is that i only submitted suscriptions (i don't have the other type). I don't know how I can solve this problem if anyone can help me I would be grateful!
1
0
116
Jan ’26
Reply to Is this normal while developing an app on the watch?
I have now spent about 12 hours on this. I have pretty much tried everything now, including trying to completely uninstall Xcode and reinstall it as well as unpairing the watch from the phone. Where I am now is that I can get the phone to be seen by xcode but when it pairs and connects, when I click on the phone, it DOES NOT show that the watch is paired with the phone. Name Hostname Identifier State Model -------------- ------------------------------ ------------------------------------ ----------- -------------------------- Bryan's iPhone Bryans-iPhone.coredevice.local 9E04C304-C46E-5719-B97A-5FE176AA60B7 connected iPhone 17 Pro (iPhone18,1) Bryan’s iPad Bryans-iPad.coredevice.local 2B7A9ED0-E1E5-5C0B-9BD7-9BADC752CED4 unavailable iPad (A16) (iPad15,7) What is also the problem is that because I re-paired my watch, there is no developer mode available. So caught in some sort of nefarious loop. I will try waiting to the morning, but honestly, if this works then it is like a big WTF Apple. I really ap
Jan ’26
Reply to Is this normal while developing an app on the watch?
This is such a ridiculous saga. I have spent the entire day trying to get this to work. First, I tried unpairing the watch and that was a big mistake. It took me an hour to finally get it paired, but now 100% of the time the device will not connect. I am moments away from returning this watch and iPhone and just giving up. Whatever engineers at Apple are responsible for this should be ashamed of themselves. I have worked on embedded systems a lot and this is just as bad, if not worse.
Jan ’26
What devices will the Swift Student Challenge be judged on?
My project requires the on-device apple intelligence models (FoundationModels) which are only available for iPad on iPad Pro M1 and later, iPad Air M1 and later, iPad mini A17 Pro. If they don't judge on one of these devices, my project might not work properly as FoundationModels is a pretty big part of my project. For this reason I really need to know what devices the Swift Student Challenge will be judged on.
1
0
323
Dec ’25
Z-Index for MarkerAnnotation
Hey there, is there a way to set the z-index for MarkerAnnotations in MapkitJS? I'm loading up to 200 markers dynamically as the map moves or the user zooms and I want a few specific markers to always be at the top (the best search results). The only way I found is to always remove all markers and then add them again in the right order, but that's visually so annoying to see them disappear and animate in with every tiny movement. I thought about using a default Annotation and setting the z-index myself and trying to rebuild the balloon, including the animation when it's clicked, but the big downside is probably the performance because I won't be able to use shadow DOM elements and have 200 real DOM elements instead. Is there a solution to this right now or is it planned to add a feature like that to Mapkit JS? It's a real blocker for me right now because all the bad content always gets rendered on top when a user zooms in, because I obviously want to show the best content first when the user isn't zo
3
0
153
Dec ’25