Search results for

smb big sur

11,796 results found

Post

Replies

Boosts

Views

Activity

Reply to NSDirectoryEnumerator returns nil
Also, the enumerator mechanism is kinda out old school. A better way to enumerate a directory is with the -contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error: method. This has a couple of important advantages: The keys parameter lets you prepopulate the properties you need on each URL. This is really big performance boost if you’re working with a high-latency volume, like one mounted over the network. It gives you a useful error if it fails. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Oct ’24
Reply to EACCES Error on binary included in Electron app
[quote='807772022, Dreculah, /thread/765576?answerId=807772022#807772022, /profile/Dreculah'] As an alternative, might I have a script that installs this sox binary to /opt/bin/sox? [/quote] Yes, as long as your app isn’t sandboxed. If it is sandboxed, using a location like this is trickier. Oh, and binaries like this usually go into /usr/local on macOS. See the not-very-well-known hier man page. You can put it into /usr/local/bin directly, or create your own product directory and put it into /usr/local/my-product-name/bin. But, yeah, the big drawback with this approach is that you can run into conflicts, where the user has the wrong version of the tool installed. That’s one of the advantages of embedding helper tools into your app. Coming back to the big picture, if you were using Xcode then I’d be able offer more help. As I mentioned before, we have a specific doc that covers the sandboxed case, Embedding a command-line tool in a sandboxed app, and your non-sandboxed case is significantly
Topic: Code Signing SubTopic: General Tags:
Oct ’24
CarPlay issues
I am also currently having the same issue after updating to IOS18 And iPhone 16pro max Whether wired or wireless sound quality is poof and very mono. At some point it corrects itself then you touch the phone screen then back to mono again. Making phone calls big issue. Nothing respond,nothing else resolve it. My Bluetooth works fine. Please fix this… so tired of this
1
0
479
Oct ’24
Reply to Problème de son Bêta IOS 18 Version 2
Je post ici car nul part ailleurs on parle de ce problème. Alors quand version final le problème de gestion du son existe toujours. ici, pour moi, j’ai un problème de categorisation du son. En effet ma musique sort comme un appel que sur le haut-parleur du haut. En Carplay que sur les enceintes avant, comme un appel ou le GPS. Autre problème les alarmes urgente ne sonnent plus si le téléphone est en mode vibreur, embêtant pour les app de réveil… effectivement le fait de passer un appel régle temporairement le problème !
Oct ’24
Core Data transformable vs relationship
I'm working on an app that is using Core Data. I have a custom big number class that boils down to a double and an integer, plus math functions. I've been using transformable types to store these big numbers, but its forcing me to do a lot of ugly casts since the number class is used throughout the application. I figure I can either have my stored values be named differently (e.g. prefix with underscore) and have a computed variable to cast it to the correct type, or find some way to move the big number class to being an NSManagedObject. The issue with this is that the inverse relationships would be massive for the big number class, since multiple entities use the class in multiple properties already. Would it be recommended that I just keep using Transformable types and casts to handle this, or is there some standard way to handle a case like this in Core Data relationships?
0
0
325
Oct ’24
how to generate link to update private app ?
Hi, I already distributed private app for my company, but I stuck with the big problem that I cannot solve. I distributed private app through generate redeem link to the employee and the problem is how to generate link to update app directly ? I try all normal link but cannot link to private app. Some link alert Not available in your country but the country of the app is all the same. https://apps.apple.com/us/app/app-name/app-id itms-apps://itunes.apple.com/th/app/app-name/app-id Thank you for your help.
0
0
535
Oct ’24
Reply to Fetch workgroup / active directory domain name programatically in Obj-C / Swift
Hmmm, that’s interesting. With System Configuration framework, the keys that are listed in are generally considered API. Both of the keys you’re using, SMB and Workgroup, are listed present [1], namely kSCEntNetSMB and kSCPropNetSMBWorkgroup, so I would expect this technique to continue to work. Given that, I encourage you to file a bug about them being missing. Please post your bug number, just for the record. The other place to get this info is from Open Directory. It’s been a long time since I’ve looked at this, so I’m a little fuzzy on the details. Can you find the info you need via dscl? If so, post the details and I can explain how to get the same info with the OD API. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] Much to my surprise!
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’24
Fetch workgroup / active directory domain name programatically in Obj-C / Swift
Previously, I used to have the below code to get workgroup / domain name of the active directory service provider. SCDynamicStoreRef storeRef = SCDynamicStoreCreate(NULL, (CFStringRef)@GetWorkgroup, NULL, NULL); CFPropertyListRef global = SCDynamicStoreCopyValue (storeRef,CFSTR(State:/Network/Global/SMB)); id workgroup = [(__bridge NSDictionary *)global valueForKey:@Workgroup]; On few Macs (probably starting from Sonoma), the workgroup property is not set. What is the alternative to get this information programatically?
1
0
497
Oct ’24
Reply to Determining "volumes" of paths on macOS and iOS.
Say, they picked 10 files from gdrive and another 5 from local storage. If I encounter some errors on the files from gdrive I want to stop working on all 10 of them but to do that I need to be able to determine that that are on this particular volume. You seem to be making the assumption that e.g. Google Drive will be a separate volume compared to local storage, but for the record this is not how these things generally work; files from this kind of “file providers” will still reside in local storage, and the File Provider framework is the one which synchronizes them with their remote storage behind the scenes. (Your concern of course still applies for external drives, SMB shares and the like.)
Topic: App & System Services SubTopic: General Tags:
Oct ’24
Determining "volumes" of paths on macOS and iOS.
Hi, so as I understand it is not possible to know what all possible sources of files are available on iOS using some api call (by sources I mean smb shares connected, iCloud, gdrive, etc), the only paths I can get are the app sandbox, app group container and the same on iCloud. I can get the list of mount points in macOS using getmntinfo(), app/group sandbox and apart from these whatever standard locations I have given access to to my sandboxed app. Are there other paths that I can get? I want to know how I can determine the volume given a user picks a file using a file picker. Say, they picked 10 files from gdrive and another 5 from local storage. If I encounter some errors on the files from gdrive I want to stop working on all 10 of them but to do that I need to be able to determine that that are on this particular volume. Is there a way to do this programmatically? Ex: gdrive on iOS : /private/var/mobile/Containers/Shared/AppGroup/6208BBEE-24BF-4CC9-A9ED-846F987C0442/File Provider Storage/39822865
2
0
708
Oct ’24
Reply to iPhone 16 Pro - iOS 18 camera crashing
UPDATED: I forgot to mention that I am not running a beta, this is the gold release that has this issue (But I feel like its a beta) and I only singed into the dev side to see if a beta might have the fix for this. I agree, it should be raised as a bug. But I also think this should have never been a bug with a new phone pro model that always focuses on the camera. I’ve had his issue also, along with photos not displaying correctly when I look at them from the camera app, videos recording without now sound. And in a time I needed it to work and document damage from the storm for insurance reason. At the price of a iPhone 16 pro max this was a big failure.
Topic: Community SubTopic: Apple Developers Tags:
Oct ’24
Reply to iPhone 16 Pro - iOS 18 camera crashing
I agree, it should be raised as a bug. But I also think this should have never been a bug with a new phone pro model that always focuses on the camera. I’ve had his issue also, along with photos not displaying correctly when I look at them from the camera app, videos recording without now sound. And in a time I needed it to work and document damage from the storm for insurance reason. At the price of a iPhone 16 pro max this was a big failure.
Topic: Community SubTopic: Apple Developers Tags:
Oct ’24