Search results for

“smb big sur”

11,948 results found

Post

Replies

Boosts

Views

Activity

Reply to invalid API object reference
[quote='880105022, hasii2021, /thread/818406?answerId=880105022#880105022, /profile/hasii2021'] I will continue to monitor this [/quote] Please update this thread if you learn more. I try to keep track of all the weird code signing errors and what causes them — one day I’ll write a technote based on that — and I’m super curious how you’re hitting this. Oh, actually, come to think of it, you can reproduce this, so it’d be worth filing a bug about it. So, if you have the time and inclination: Create a read/write disk image that’s big enough to hold your app. Copy the app on to it. Reproduce the error. And then immediately trigger a log snapshot: % sudo log collect --last 5m Adjust the --last parameter to a bigger value if code signing takes a really log time (-: And then a sysdiagnose log. Unmount the disk image. File a bug with that disk and the logs from steps 4 and 5. Once you’re done, reply here with the bug number and I’ll see what I can uncover. But I do understand if you’re not able to do this;
3w
Reply to Apple Silicon calling printf
@mnorton Great job! I think there might be some documentation online that can be referenced here. Reverse order well is the Big-endian issue that happens when we move from different chips. Awesome finding and great job again, can't wait to see what you do next! Albert Pascual
  Worldwide Developer Relations.
Topic: Programming Languages SubTopic: General Tags:
3w
Reply to Does signed macho binary with teamID is signed by Apple root certificate
I’m confused. To start, I’m concerned about this path: [quote='818938021, chapo213, /thread/818938, /profile/chapo213'] I decided to rely only on the Team Identifier. [/quote] I don’t understand how you can trust anything about the code signature, and that includes the Team ID, if you don’t first validate the code signature. Next, in cases like this I usually ask about the big picture. And on that subject you wrote: [quote='818938021, chapo213, /thread/818938, /profile/chapo213'] In my application I validate the authenticity of my own binaries [/quote] Programs can’t authenticate themselves. If an attacker is able to modify your code, they can also remove or subvert any checks that you add. What problem are you trying to solve here? ps On iOS I usually point folks at App Attest, but I’m presuming that you’re on the Mac. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
3w
Reply to Local Network permission appears to be ignored after reboot, even though it was granted
My signed and notarized Electron app has this exact issue. I can replicate is on macOS Tahoe 26.3.1. I see the bug was reported about 8 months ago, and it's still not fixed. This is quite a big problem for apps like mine. It's a very poor and unintuitive UX to expect users to toggle an obscure security setting - which is already set to on. Could Apple provide an update on when this bug will be finally squashed?
3w
Reply to Clarification on clonefile / copyfile support of clone directories?
So, let me start here: Should I avoid 'cloning' directories in general with the copyfile function? No, quite the opposite. If you read the copyfile man page closely, you'll find that it's very careful to NEVER say that it clones directories. It either refers to cloning individual files or recursive cloning. Recursive cloning means using COPYFILE_CLONE on directories and is actually the standard behavior across all of our copy APIs (and the Finder). More specifically, COPYFILE_CLONE means that copy file calls clonefile for every possible individual file object and creates new objects for directories or anywhere it can't use clonefile. Note that this process is more sophisticated than it might seem, as it doesn't just use cloning within the same file system, but actually preserves clones across volumes (which is much trickier). copyfile() can also do standard copy all data copies on APFS but, to be honest, I've never come up with any good reason why you would do so, as it's basically the same as saying please m
Topic: App & System Services SubTopic: Core OS Tags:
3w
Reply to FileManager.replaceItemAt(_:withItemAt:) fails sporadically on ubiquitous items
What's the best way of being careful about this, or do you just mean by using the item replacement directory where possible? As far as I know, there are only two ways of getting a temp directory: Everything you've described sounds like you're on the right track. The big thing is just not making assumption about the relationship between directories (/tmp/ and home are on the same volume) or capabilities (home directories are ALWAYS on volumes that support cloning). The killer here is the long tail, as there are just SO many different edge cases. LibZip is much faster on a volume that supports cloning Interesting. Are you primarily editing the contents of the zip file (so you end up modifying the data inside, but don't really change it's overall size or structure)? Cloning is a huge help if you can clone the contents and then modify but if your modifications end up changing the fundamental contents, then I wouldn't expect the difference to be nearly as large. At large scale, this eventually devolves to
Topic: App & System Services SubTopic: Core OS Tags:
4w
Incorrect menu consistency warnings logged in Tahoe for NSStatusItem, performance issues related?
Is anyone else getting new warning about menu items with submenus when running on Tahoe? I'm getting big performance problems using my menu as well as seeing these messages and I'm wondering if there's a connection. My app is faceless with a NSStatusItem with an NSMenu. Specifically it's my own subclass of NSMenu where I have a lot of code to manage the menu's dynamic behavior. This code is directly in the menu subclass instead of in a controller because the app I forked had it this way, a little wacky but I don't see it being a problem. A nib defines the contents of the menu, and it's instantiated manually with code like: var nibObjects: NSArray? = [] guard let nib = NSNib(nibNamed: AppMenu, bundle: nil) else { ... } guard nib.instantiate(withOwner: owner, topLevelObjects: &nibObjects) else { ... } guard let menu = nibObjects?.compactMap({ $0 as? Self }).first else { ... } Within that nib.instantiate call I see a warning logged that seems new to Tahoe, before the menu's awakeFromNib is called, t
17
0
2.0k
Mar ’26
Reply to FileManager.replaceItemAt(_:withItemAt:) fails sporadically on ubiquitous items
From your answer, I realise I was overlooking the obvious: after doing the work in the fast temp directory, I then need to create a second temp directory on the slower destination volume using URL(for: .itemReplacementDirectory…), copy the file across, and then use replaceItemAt from there. Sure, that makes sense. I think this is also one of those cases where the broader context of your app and user base is really a really important factor. Some apps (smaller documents, more consumer focused) should do their best to hide all of these details from the user, as they're not really useful/relevant and they just end up creating noise. Other apps (larger documents, more expert focused) benefit from making this visible to the user, as it lets them understand what's going on both to correct any problems (for example, space loss due to save failures) and take advantage of the data you have for them (for example, failure recovery). So any attempts to use that will continue to fail until the kernel (?) has finished with
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’26
Reply to XCode 26.3 AI assistant's attach file feature doesn't work in a big project
Thanks for asking, Can you define big project? Is it larger than 100GB? Is it a certain number of files that causes the issue? What version of macOS are you using and with what hardware? And what provider are you using? (ChatGPT/Claude/Your own) Let me know, the more info the better. If I can reproduce this with a sample project, I would like to share this with the relevant engineering team.  Travis
Mar ’26
Reply to Request for Guidance on Approval Process for Network Extension Entitlement
[quote='878362022, Pushpak-Ambadkar123, /thread/816877?answerId=878362022#878362022, /profile/Pushpak-Ambadkar123'] it means I cannot distribute content filter solution on normal devices via App Store? [/quote] Yes. Well, it does depends on what you by “normal devices”. The Screen Time exception has no constraints on the device itself, but it does have constraints on the device’s user. Also note that this applies to all distribution channels, that is, App Store, TestFlight, Ad Hoc, and In-House (Enterprise). THat last one usually isn’t a big concern because the device is either supervised, or the device manager can configure your filter in per-app mode. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Mar ’26
Rapport de Bug : Problème Entitlements Family Controls / EAS Build
Le build iOS via EAS échoue systématiquement lors de la phase Xcode. Bien que les capacités Family Controls et App Groups soient activées sur le portail Apple Developer et configurées dans le app.json, les profils de provisionnement générés par EAS sont rejetés par Xcode car ils ne contiendraient pas les droits nécessaires. Configuration du projet : Targets (4) : App principale + 3 extensions (ShieldConfiguration, ShieldAction, ActivityMonitorExtension). Capabilities requises : Family Controls (Development), App Groups. EAS CLI Version : 18.0.6 (et versions antérieures testées). Erreur Xcode récurrente : error: Provisioning profile [expo] com.*****.*** AdHoc 177230... doesn't support the Family Controls (Development) capability.. error: Provisioning profile ... AdHoc ... doesn't include the com.apple.developer.family-controls entitlement.. Ce qui a déjà été tenté (sans succès) : Configuration app.json : Ajout manuel des entitlements pour le bundle principal et configuration du plugin react-native-dev
1
0
78
Mar ’26
Reply to FileManager.replaceItemAt(_:withItemAt:) fails sporadically on ubiquitous items
I hadn’t filed a bug report yet because I had assumed it was something I was doing wrong, given that using replaceItem and a temporary folder is presumably a common pattern. I’ll file a report tomorrow - I’m following the iCloud Drive profile instructions you linked to and am now waiting the 24 hours they say I need to wait before I can get the sysdiagnose. Once I have that, I’ll file the report along with a sample project. Perfect, thank you. ...using replaceItem and a temporary folder is presumably a common pattern I didn't get into it above, but there very likely are some nuances/details involved that are a contributing factor. For example, I suspect this doesn't happen if you start with a security-scoped bookmark, which you resolve to a bookmark before each save. I think NSDocument's default implementation also writes out a new file before each save, which means it's always starting with a new URL. That doesn't mean there's anything wrong with what you're doing, but that's probably why this isn't more wid
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’26
Reply to invalid API object reference
[quote='880105022, hasii2021, /thread/818406?answerId=880105022#880105022, /profile/hasii2021'] I will continue to monitor this [/quote] Please update this thread if you learn more. I try to keep track of all the weird code signing errors and what causes them — one day I’ll write a technote based on that — and I’m super curious how you’re hitting this. Oh, actually, come to think of it, you can reproduce this, so it’d be worth filing a bug about it. So, if you have the time and inclination: Create a read/write disk image that’s big enough to hold your app. Copy the app on to it. Reproduce the error. And then immediately trigger a log snapshot: % sudo log collect --last 5m Adjust the --last parameter to a bigger value if code signing takes a really log time (-: And then a sysdiagnose log. Unmount the disk image. File a bug with that disk and the logs from steps 4 and 5. Once you’re done, reply here with the bug number and I’ll see what I can uncover. But I do understand if you’re not able to do this;
Replies
Boosts
Views
Activity
3w
Reply to Apple Silicon calling printf
@mnorton Great job! I think there might be some documentation online that can be referenced here. Reverse order well is the Big-endian issue that happens when we move from different chips. Awesome finding and great job again, can't wait to see what you do next! Albert Pascual
  Worldwide Developer Relations.
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
3w
Reply to Does signed macho binary with teamID is signed by Apple root certificate
I’m confused. To start, I’m concerned about this path: [quote='818938021, chapo213, /thread/818938, /profile/chapo213'] I decided to rely only on the Team Identifier. [/quote] I don’t understand how you can trust anything about the code signature, and that includes the Team ID, if you don’t first validate the code signature. Next, in cases like this I usually ask about the big picture. And on that subject you wrote: [quote='818938021, chapo213, /thread/818938, /profile/chapo213'] In my application I validate the authenticity of my own binaries [/quote] Programs can’t authenticate themselves. If an attacker is able to modify your code, they can also remove or subvert any checks that you add. What problem are you trying to solve here? ps On iOS I usually point folks at App Attest, but I’m presuming that you’re on the Mac. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
3w
Reply to Local Network permission appears to be ignored after reboot, even though it was granted
My signed and notarized Electron app has this exact issue. I can replicate is on macOS Tahoe 26.3.1. I see the bug was reported about 8 months ago, and it's still not fixed. This is quite a big problem for apps like mine. It's a very poor and unintuitive UX to expect users to toggle an obscure security setting - which is already set to on. Could Apple provide an update on when this bug will be finally squashed?
Replies
Boosts
Views
Activity
3w
Reply to Clarification on clonefile / copyfile support of clone directories?
So, let me start here: Should I avoid 'cloning' directories in general with the copyfile function? No, quite the opposite. If you read the copyfile man page closely, you'll find that it's very careful to NEVER say that it clones directories. It either refers to cloning individual files or recursive cloning. Recursive cloning means using COPYFILE_CLONE on directories and is actually the standard behavior across all of our copy APIs (and the Finder). More specifically, COPYFILE_CLONE means that copy file calls clonefile for every possible individual file object and creates new objects for directories or anywhere it can't use clonefile. Note that this process is more sophisticated than it might seem, as it doesn't just use cloning within the same file system, but actually preserves clones across volumes (which is much trickier). copyfile() can also do standard copy all data copies on APFS but, to be honest, I've never come up with any good reason why you would do so, as it's basically the same as saying please m
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
3w
Reply to FileManager.replaceItemAt(_:withItemAt:) fails sporadically on ubiquitous items
What's the best way of being careful about this, or do you just mean by using the item replacement directory where possible? As far as I know, there are only two ways of getting a temp directory: Everything you've described sounds like you're on the right track. The big thing is just not making assumption about the relationship between directories (/tmp/ and home are on the same volume) or capabilities (home directories are ALWAYS on volumes that support cloning). The killer here is the long tail, as there are just SO many different edge cases. LibZip is much faster on a volume that supports cloning Interesting. Are you primarily editing the contents of the zip file (so you end up modifying the data inside, but don't really change it's overall size or structure)? Cloning is a huge help if you can clone the contents and then modify but if your modifications end up changing the fundamental contents, then I wouldn't expect the difference to be nearly as large. At large scale, this eventually devolves to
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
4w
Incorrect menu consistency warnings logged in Tahoe for NSStatusItem, performance issues related?
Is anyone else getting new warning about menu items with submenus when running on Tahoe? I'm getting big performance problems using my menu as well as seeing these messages and I'm wondering if there's a connection. My app is faceless with a NSStatusItem with an NSMenu. Specifically it's my own subclass of NSMenu where I have a lot of code to manage the menu's dynamic behavior. This code is directly in the menu subclass instead of in a controller because the app I forked had it this way, a little wacky but I don't see it being a problem. A nib defines the contents of the menu, and it's instantiated manually with code like: var nibObjects: NSArray? = [] guard let nib = NSNib(nibNamed: AppMenu, bundle: nil) else { ... } guard nib.instantiate(withOwner: owner, topLevelObjects: &nibObjects) else { ... } guard let menu = nibObjects?.compactMap({ $0 as? Self }).first else { ... } Within that nib.instantiate call I see a warning logged that seems new to Tahoe, before the menu's awakeFromNib is called, t
Replies
17
Boosts
0
Views
2.0k
Activity
Mar ’26
Reply to FileManager.replaceItemAt(_:withItemAt:) fails sporadically on ubiquitous items
From your answer, I realise I was overlooking the obvious: after doing the work in the fast temp directory, I then need to create a second temp directory on the slower destination volume using URL(for: .itemReplacementDirectory…), copy the file across, and then use replaceItemAt from there. Sure, that makes sense. I think this is also one of those cases where the broader context of your app and user base is really a really important factor. Some apps (smaller documents, more consumer focused) should do their best to hide all of these details from the user, as they're not really useful/relevant and they just end up creating noise. Other apps (larger documents, more expert focused) benefit from making this visible to the user, as it lets them understand what's going on both to correct any problems (for example, space loss due to save failures) and take advantage of the data you have for them (for example, failure recovery). So any attempts to use that will continue to fail until the kernel (?) has finished with
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’26
Reply to Apple App Review + DSA Review taking over 2 months – anyone else experiencing this?
and i pay 99usd yearly, the same amount as other big companies do and I dont get the same treatment?
Replies
Boosts
Views
Activity
Mar ’26
App Preview
I am trying to upload an App Preview to App Store Connect for a iphone app,I created the preview as an App Preview. When I try to upload the app preview I get the message your app preview is too big. The preview is 30 sec. It is 6 MB in size. MP4 format. Who know how to change my app preview
Replies
3
Boosts
0
Views
732
Activity
Mar ’26
XCode 26.3 AI assistant's attach file feature doesn't work in a big project
It doesn't show any files, only warning or errors for me. Same behavior with @
Replies
4
Boosts
0
Views
116
Activity
Mar ’26
Reply to XCode 26.3 AI assistant's attach file feature doesn't work in a big project
Thanks for asking, Can you define big project? Is it larger than 100GB? Is it a certain number of files that causes the issue? What version of macOS are you using and with what hardware? And what provider are you using? (ChatGPT/Claude/Your own) Let me know, the more info the better. If I can reproduce this with a sample project, I would like to share this with the relevant engineering team.  Travis
Replies
Boosts
Views
Activity
Mar ’26
Reply to Request for Guidance on Approval Process for Network Extension Entitlement
[quote='878362022, Pushpak-Ambadkar123, /thread/816877?answerId=878362022#878362022, /profile/Pushpak-Ambadkar123'] it means I cannot distribute content filter solution on normal devices via App Store? [/quote] Yes. Well, it does depends on what you by “normal devices”. The Screen Time exception has no constraints on the device itself, but it does have constraints on the device’s user. Also note that this applies to all distribution channels, that is, App Store, TestFlight, Ad Hoc, and In-House (Enterprise). THat last one usually isn’t a big concern because the device is either supervised, or the device manager can configure your filter in per-app mode. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Mar ’26
Rapport de Bug : Problème Entitlements Family Controls / EAS Build
Le build iOS via EAS échoue systématiquement lors de la phase Xcode. Bien que les capacités Family Controls et App Groups soient activées sur le portail Apple Developer et configurées dans le app.json, les profils de provisionnement générés par EAS sont rejetés par Xcode car ils ne contiendraient pas les droits nécessaires. Configuration du projet : Targets (4) : App principale + 3 extensions (ShieldConfiguration, ShieldAction, ActivityMonitorExtension). Capabilities requises : Family Controls (Development), App Groups. EAS CLI Version : 18.0.6 (et versions antérieures testées). Erreur Xcode récurrente : error: Provisioning profile [expo] com.*****.*** AdHoc 177230... doesn't support the Family Controls (Development) capability.. error: Provisioning profile ... AdHoc ... doesn't include the com.apple.developer.family-controls entitlement.. Ce qui a déjà été tenté (sans succès) : Configuration app.json : Ajout manuel des entitlements pour le bundle principal et configuration du plugin react-native-dev
Replies
1
Boosts
0
Views
78
Activity
Mar ’26
Reply to FileManager.replaceItemAt(_:withItemAt:) fails sporadically on ubiquitous items
I hadn’t filed a bug report yet because I had assumed it was something I was doing wrong, given that using replaceItem and a temporary folder is presumably a common pattern. I’ll file a report tomorrow - I’m following the iCloud Drive profile instructions you linked to and am now waiting the 24 hours they say I need to wait before I can get the sysdiagnose. Once I have that, I’ll file the report along with a sample project. Perfect, thank you. ...using replaceItem and a temporary folder is presumably a common pattern I didn't get into it above, but there very likely are some nuances/details involved that are a contributing factor. For example, I suspect this doesn't happen if you start with a security-scoped bookmark, which you resolve to a bookmark before each save. I think NSDocument's default implementation also writes out a new file before each save, which means it's always starting with a new URL. That doesn't mean there's anything wrong with what you're doing, but that's probably why this isn't more wid
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’26