Search results for

smb big sur

11,789 results found

Post

Replies

Boosts

Views

Activity

Reply to Strong Passwords with SecAccessControlCreateWithFlags
[quote='776929021, neil218, /thread/776929, /profile/neil218'] Is there a way to enforce strong password requirements when using the .applicationPassword flag? [/quote] There is not. I think that’d made a fine enhancement request. If you do file an ER, please post your bug number, just for the record. [quote='776929021, neil218, /thread/776929, /profile/neil218'] If enforcing strong passwords isn’t possible, is there an alternative approach to provide a predefined strong password during the creation process, bypassing the need for user input? [/quote] No. But I suspect I’m missing something here. Let’s say you could do this, what would the workflow look like? Would you expect the user to remember this high-complexity password? That seems rather… well… brittle. [quote='776929021, neil218, /thread/776929, /profile/neil218'] With SecAccessControlCreateWithFlags, I noticed the item isn’t stored in the traditional file-based Keychain but in an iOS-style Keychain … ? [/quote] Correct. This is officially known as th
Topic: Privacy & Security SubTopic: General Tags:
Mar ’25
Debugging memory consumption in an Endpoint Security process
I have a launch daemon that's using the Endpoint Security framework which also is causing high memory usage (in Activity Monitor memory column shows for example 2GB and Real Memory 11MB) when building a big project in Xcode. Is it some kind of memory caching by the system? leaks -forkCorpse seems to not show any leaks. How can I attach with heap or Instruments without the process being killed with ENDPOINTSECURITY, Code 2 EndpointSecurity client terminated because it failed to respond to a message before its deadline?
1
0
143
Mar ’25
Unable to open mach-O at path - metallib Error:2
When I toggle a panel like navigationsidebar, I get a message in the console. I guess it's not a big issue, but is there a way to fix this message? because it appears in every project. Unable to open mach-O at path: /AppleInternal/Library/BuildRoots/d187757d-b9a3-11ef-83e5-aabfac210453/Library/Caches/com.apple.xbs/Binaries/RenderBox/install/TempContent/Root/System/Library/PrivateFrameworks/RenderBox.framework/Versions/A/Resources/default.metallib Error:2
1
0
443
Mar ’25
Getting VoIP notifications to work and use iOS call UI when phone is locked/app is in background/Not running
Hey there my application allows users to have video calls with each other using Agora. I have successfully set up incoming call functionality on Android but on iOS I am struggling to get the call ui to appear when the app is not running/in background/locked. To my knowledge this is because there is much stricter security on iOS which is limiting me from calling this. When i initially set it up it worked at first when the app was in the background but I think I was failing to report the call to call kit in time and now it's not working. I'm not sure if I need access to this entitlement: com.apple.developer.pushkit.unrestricted-voip Which i believe is only for the big boys or if I make sure I'm reporting the call to call kit fast enough that I won't encounter this issue and it will consistently work in the background.
0
0
204
Mar ’25
Reply to macOS maximum CPU usage of application
What is the maximum of CPU power that an application can consume? So, the first thing to understand is that the percentage here is both relative to each device and somewhat made up. The evolution here started with single core machine where, in theory, it meant the CPU is completely busy. When symmetric multi-core machine came along, the decision was made to treat each CPU as it's own percentage, so the max percentage of a (symmetric) 2 core machine was 200%. Now, when you get to a asymmetric system... that math doesn't really work, a 100% of an E core is lot less computational power than the same percentage of a P core. More to the point, all of these percentage are a bit of an invented abstraction as they don't actually correspond to any kind of absolute measure. Are there any limits and There's a limit in the sense that we decided what percentages we'd use on every machine we ship. could they be modified? I'm not sure what you mean here. They'll absolutely vary between machine models. That is: Across core c
Topic: App & System Services SubTopic: Hardware Tags:
Mar ’25
Reply to How to detect an auto-mounting directory and wait for it to get mounted?
Ironically, the answer is found in a 10 year old post by myself As an additional irony, I'd just finished writing all this up when I saw your own post. Filling in some details which may be helpful... (This was a bit surprising to me - I'd have thought that Windows or SMB would hide the fact that the share has sub-volumes, and simply show them as directories - and that's what it did in older macOS versions indeed, e.g. in High Sierra. But in Sequoia, these sub-volumes on the Windows side are mirrored on the Mac side, and they behave accordingly) This is actually done by something called DFS (Distributed File System), which is actually designed to allow an organization to present a unified hierarchy across multiple servers as well as shares. The broader protocol obviously handles much more that this specific volume case and I suspect they used it here because it handles standard edge cases better* and the work had already been done. *For example, exposing the secondary volume as a separate share means
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’25
LSRegisterURL resultCode -10819
I have an option in my app to set the URL Handler for smb or switch it back to Finder. But using my code below it always give me a -10819 error. Which is a generic kLSNotRegisteredErr, even those the documentation shows Not currently used. func setDefaultHandler(bundleID: String) { DebugLogger.shared.log(Attempting to set (bundleID) as default handler for SMB URLs) // Post Sonoma macOS requires user interaction to change default handlers // We'll register our app and then guide the user to System Settings // For our app, register it with Launch Services if bundleID != com.apple.finder { if let appBundleURL = Bundle.main.bundleURL as CFURL? { let registerResult = LSRegisterURL(appBundleURL, true) DebugLogger.shared.log(LSRegisterURL result: [(appBundleURL)](registerResult)) } } // Check current handler using modern API let testSMBURL = URL(string: smb://example.com)! if let handlerURL = NSWorkspace.shared.urlForApplication(toOpen: testSMBURL) { DebugLogger.shared.log(Current default
4
0
332
Mar ’25
"es_new_client"'s "es_handler_block_t" can't receive a ES_EVENT_TYPE_NOTIFY_KEXTLOAD in M1 macOS11 BigSur
I am using es_new_client and es_subscribe in SystemExtension and EndpointSecurity. I tested it on M3, and it is working. It also works on M1 versions 12, 13, and 14. Additionally, ES_EVENT_TYPE_NOTIFY_KEXTUNLOAD is functioning correctly. However, there is a bug on M1 Big Sur where es_new_client's es_handler_block_t cannot receive ES_EVENT_TYPE_NOTIFY_KEXTLOAD. The tested command is: sudo kextload /System/Library/Extensions/msdosfs.kext sudo kextload /System/Library/Extensions/*.kext Is this intended behavior or a bug? Are there any plans to fix it?
1
0
277
Mar ’25
Reply to HID reports issue migrating from IOKit.hid to CoreHID
First off, as some clarifying background context, there has always been a pretty large gap between how the HID specification was intended to work and what actually ships as hardware. In theory, HID devices should be largely self documenting. The accessory describes it's physical configuration, the system maps that configuration into the system user interface, and everything just works. Unfortunately, in practice that's not how most hardware actually ships. More specifically: HID has been fairly widely used as software control/configuration API, not just for actual control accessories. For example, MANY microphones have one or more secondary interfaces which are used to configure the microphone. HID actually works VERY well for this sort of thing, though it does mean that an app needs to be careful about how it interacts with whatever it finds. A very large percentage of HID accessories present HID configuration which are WILDLY out of line with their physical configuration. It's entirely possible that hardwar
Topic: App & System Services SubTopic: Hardware Tags:
Mar ’25
How to detect an auto-mounting directory and wait for it to get mounted?
I need to detect the triggering of an auto-mount operation when accessing the path to a formerly unknown mount point at the file system (BSD, POSIX, NSURL) level, and how to wait for it to finish the operation. Network shares can have sub-volumes on them Consider a Windows server. Let's say there's a SMB sharepoint at C:Shared. It has some folders, one of which is at C:SharedMore. Furthermore, there's another partition (volume) on the PC, which is mounted at C:SharedMoreOtherVol. If you mount the initial share on a Mac with a recent macOS, macOS initially only sees a single mount point at /Volumes/Shared, which can be checked with the mount command. Now, if you use Finder to dive into the Shared/More folder, Finder will trigger an auto-mount action on the containing OtherVol folder, and after that, the mount command will list two mount points from this server, the second being at /Volumes/Shared/More/OtherVol. (This was a bit surprising to me - I'd have thought that Windows or SMB would hide
11
0
429
Mar ’25
Reply to Can we create a bundled non-interactive macOS application which uses CFRunLoop only(instead of using NSApplicationMain to run NSRunLoop)?
[quote='828338022, abhishek12, /thread/775601?answerId=828338022#828338022, /profile/abhishek12'] In this application, we wanted to have user experience, where user can double click on app icon and launch it. And then application will do its work and close. [/quote] There’s no good way to do this because, fundamentally, it’s not a standard Mac user experience. Whatever you do is gonna be weird. Even if the code is 100% fine, the user experience will not fit in with the rest of the platform. A better option would be for your app to have a minimal UI. This isn’t a big ask. It’d just display a standard menu bar and a window, allowing the user to understand that it’s running, quit the app, and so on. [quote='828338022, abhishek12, /thread/775601?answerId=828338022#828338022, /profile/abhishek12'] we may also need to listen to some events etc on event loop) [/quote] What sort of events are we talking about here? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eski
Mar ’25
Very strange behavoir of Safari.app, Notes.app on MacBook Pro
Is there a way to check whether third-party code can be inserted into parts of the ARM CPU architecture from outside? I have the paranoid impression that my MacBook Pro, M2 processor is being manipulated from outside. For example: Safari, when opened, displays pages scaled down without my conscious intervention, when clicked on the original size it scales back to normal for a short time and then implodes again; I use the navigation bar on the left excessively, it is my most important tool in Safari, today it was impossible to insert a link using drag & drop, the bar scrolls up or down very quickly; a behavior that I only know from Intel processors. For example, notes, I encrypted an important note, no problem even though photos and links are inserted, yesterday I could no longer open the note, neither on the MacBook Pro nor on the iPhone. When opening the notes app in the terminal on the MacBook Pro, an EXEC_CRASH report was generated. I have a terrible suspicion that the Apple branch in Munich is tamperi
3
0
232
Mar ’25
Reply to Jetsam memory crash during Network framework usage
[quote='775908021, southbayjt, /thread/775908, /profile/southbayjt'] Does Network framework have a built-in way to stream those bytes straight from disk as it sends them? [/quote] No. When dealing with a large file like this, you have to adopt a streaming approach. That is: Read a chunk of the file off the disk. Send it to connection. When the send completion handler is called, check whether there’s more data to send. If so, repeat the process from step 1. It’s weird that you’re JSON encoding the data. If you’re dealing with large files, JSON is needlessly inefficient. That doesn’t change the calculus above — you could make the transfer smaller by skipping the encoding but there can always be a file that’s too big — but it does affect your on-the-wire efficiency. You’re transferring one third more bytes than you need to. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’25
macOS 15.4 Beta (24E5222f) Killed My External Displays – Send Help (or an Exorcist)
For 9 Glorious Months, My MacBook Pro & J5 Create JCD543 HUB Were Best Friends… Until I Updated macOS For nearly a year, my MacBook Pro 14” (2023, M2 Pro, 16GB RAM) worked flawlessly with my J5 Create JCD543 HUB, allowing me to run: ✅ 4 External Displays (Samsung, LG, Insignia, Samsung) A setup that worked perfectly… until I updated macOS. Then Came the Update… and the Issues Began First, I updated last week. Two of my four displays stopped working. No big deal, I thought—I’ve dealt with display quirks before. Then, like an optimist ignoring red flags, I updated again last night to 15.4 Beta (24E5222f) and… well, now things are completely broken. My Once-Perfect Setup (Now a Display Disaster) JCD543 HUB → 2 HDMI displays (not working) JUD380 HUB → 1 HDMI display (partially working, unstable) MacBook HDMI port → 1 HDMI display (working, but feeling abandoned) JCA365 USB-C to Dual HDMI Adapter (Not part of my setup, but tested—also not working) What I’ve Tried (aka My Troubleshooting Journey) ✔ Res
0
0
477
Mar ’25