Search results for

“smb big sur”

11,971 results found

Post

Replies

Boosts

Views

Activity

Reply to Vision to detect corners and or 3 lines.
Hello @Mike@ThatSoft, Yes, maximumImageDimension gives you some control over the input resolution. You can learn about more of the contour request properties in this WWDC video (timestamped link to the relevant portion): https://developer.apple.com/videos/play/wwdc2020/10673/?time=694 If you are unable to achieve the accuracy you desire, please file an enhancement request using Feedback Assistant. Other big critical problem/issue I have been struggling with, is over laying the contour. Can we discuss here, or you prefer a new question with that subject? Please open a new thread to address this. -- Greg
Topic: Graphics & Games SubTopic: General Tags:
Jan ’25
Reply to Vision to detect corners and or 3 lines.
hello @Greg, I do see and experimented with: private var epsilon: Float = 0.001 I see this: let req = VNDetectContoursRequest() I see no resolution of the request. Can you please advise or a sample of this resolution setting? as you saw I really desire straight line detection and the corners. Sorry I'm not a real programmer at all, trying though. 60 yr old man :) thank you. feel free to email. thx. Greg, I tried this: (did i do it right?) private lazy var request: VNDetectContoursRequest = { let req = VNDetectContoursRequest() req.maximumImageDimension = 2000 return req }() see no real difference in the contour shape though. Note those pics were very cropped = zoomed in. Other big critical problem/issue I have been struggling with, is over laying the contour. Can we discuss here, or you prefer a new question with that subject? thx. I'd prefer email please :).
Topic: Graphics & Games SubTopic: General Tags:
Jan ’25
Calendar Display App
Hello, I want to make an app that displays the current event(s) (The ones that are ongoing at any given moment) on my Google calendar and shows how far through the event(s) I am with a progress bar, and updates live. I want it to be as simple as possible and don't want it to take up too much space. I have a little window with some text elements and a progress bar that works if you manually put in values. But I still think the window is too big and clunky and I wonder if it's possible to change it's style? I'm a bit inexperienced with coding and am completely new to xcode and swift. What approach would you recommend I take with this project? Or what resources would you refer me to?
Topic: Design SubTopic: General
1
0
447
Jan ’25
Reply to Issue Sending Multicast Packets Across Multiple Interfaces Using NWConnectionGroup
Bah, I’m still dealing with a big backlog, so I don’t have time to respond fully, but I can at least answer this. [quote='772363021, harshal_goyal, /thread/772363, /profile/harshal_goyal'] It seems like I can't create an NWInterface object because it doesn't have any initializers. [/quote] Indeed. You can use an Ethernet channel path monitor for this. For the details, see this thread. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Jan ’25
Reply to Auto-instrumentaion for URLSession async/wait
[quote='772362021, ManoharaRP, /thread/772362, /profile/ManoharaRP'] customers use our [instrumentation] product they don't have to add any code from there end to monitor this system. [/quote] There isn’t a good way to achieve this goal. I’ve seen folks attempt to do this in a variety of ways, and none of them end well. Specifically: Swizzling — DTS doesn’t support folks swizzling methods on Apple classes because it’s not a sustainable path. Eventually something comes along and breaks you. It sounds like you’ve hit that case with these Swift async methods. URLProtocol — Implementing a recursive URLProtocol is super hard to do correctly [1], and it comes with a bunch of feature limitations and compatibility risk. Moreover, if code within the process is using a custom URLSession, then it has to opt in anyway, and if you require an opt in then you might as well require a nice opt in (see below). As to what you should do right now, it kinda depends on the context. If you only need to help folks at development tim
Jan ’25
Reply to LLDB error: type for self cannot be reconstructed: type for typename
Sorry, this Xcode16 just sucks. I've lost another half a days fiddling around with no luck, I just don't know what to do, and where. The project is big and in order to recreate the functionality, and the lldb bug, I have to build a whole new project, which will end up resembling the original one, minus some functionalities, so I dropped this route. The issue appears in one of the projects's internal static library. Now, I pause the execution at some breakpoint, run the po command and promptly get the Couldn't realize Swift AST type of self. Then I run swift-healthcheck, check the health log file, find the error below and conclude that the issue is in the static lib XXX. SwiftASTContextForExpressions(module: XXX, cu: AllParts.swift)::LoadOneModule() -- Missing Swift module or Clang module found for XXX, imported via SwiftDWARFImporterDelegate. Hint: Register Swift modules with the linker using -add_ast_path. Then I added -add_ast_path on the Other Linker Flags of the final executable, and now I get an
Jan ’25
Reply to st_dev of mount point directory is different to device ID of device-file
In my case, stat struct is provided by Endpoint Security message. Ahh, that makes sense then. One note here: Looks like, the best solution is to use DiskArbitration framework. I have to confess, I'm a bit of a fan boy™ when it comes to the DiskArb framework, having had the (dubious) pleasure of using it's original (and AWFUL) private API before the public API was introduced in 10.4. The API is looks a bit dated by modern standards, but it's very good at what it does. DiskArbitration can be used to find relationship between mount point (DAVolumePath) and physical device (DADiskGetBSDName). The main thing to be aware of (and take advantage of) is that the DiskArbitration can find out (and block) actions before they happen, meaning before the EndpointSecurity framework actually happens. For example, if you wanted to control/prevent mounts, the best way (IMHO) would be to: Use DARegisterDiskMountApprovalCallback() to block the DiskArb mount. Use the ES auth callback as the backstop if #1 is bypassed (for example,
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’25
Reply to Issue Updating User Password via OpenDirectory API with Root Daemon Privileges
Thanks for the big picture info. That was super helpful. Unfortunately I don’t see any way to do this. Regardless of the SecureToken stuff, the data protection keychain is becoming increasingly important and I’m not aware of any way to change its password. Lemme think about this some more and then get back to you. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Privacy & Security SubTopic: General Tags:
Jan ’25
App crashes after requesting PhotoLibrary limited access
My visionOS requires access to users' personal photos. The trigger mechanism is: when user firstly opens a FooView, a task attached to that FooView and calling let status = PHPhotoLibrary.authorizationStatus(for: .readWrite), if the status is .notDetermined, then calling PHPhotoLibrary.requestAuthorization(for: .readWrite, handler: authCompletionHandler) to let visionOS pop out a window to request Photo access. However, the app crashes every time when user selects Limited Access and the system try to pop out a photo library picker. And btw, I have set Prevent limited photos access alert to Yes, but it shouldn't affect the behavior here I guess. There was a debugger message here: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Presentations are not permitted within volumetric window scenes.' However, the window this view belongs to is a .plain style window (though there were 3D object appearing in the other view of same windowgroup) This is my code snippet if this hel
1
0
718
Jan ’25
Reply to How to let iCloud sync across the devices without launching the app at midnight?
Hi, Ziqiao, Thank you for your reply. 1.We just enabled iCloud sync in our app by following the guidance(https://www.hackingwithswift.com/quick-start/swiftdata/how-to-sync-swiftdata-with-icloud). 2.The app is similar with apple calendar. The app sync events data across the devices. 3.We have talked with some potential users. Their habits are to edit their agenda on iPad or Macbook because the screen is big enough. And then they will carry their iPhone to go outside and depend on the notifications from their iPhone to remind them. We can remind them to launch the app on their iPhone to sync the data from iCloud but sometimes they will forget it. That's why we want to design some codes to sync the events data from iCloud in the midnight without launching the app on iPhone.We have designed codes to reschedule the notifications in the midnight via backgroundtask. It works well. But we can't find the method to manually sync iCloud data via backgroundtask. Look forward to good solutions from Apple for it.
Jan ’25
Reply to Finder File Previews lock files on SMB shares
Quick Look does not seem to require an exclusive lock on a file for reading purposes. Given these observations, it seems likely that the exclusive lock behavior in the Quick Look Extension Preview, when accessing files over SMB, in unintentional. The term unintentional here is tricky. It's certainly true in the sense that extension is not specifically acquiring the lock on it's own, but there are enough API layers in the system that it's not unusual for a component to acquire behavior it didn't specifically intend/need. Case in point... If this is not an oversight, could you kindly explain why an exclusive lock is necessary in the Quick Look Extension Preview? This insight would help us better understand the situation and explore alternative solutions. The underlying cause here is that, across multiple implementation layers, QuickLookUIService ends up holding a CGImageSource reference and that reference is mmap'ing a file, which is in turn causing the lock. None of that implementation is actually new
Topic: App & System Services SubTopic: General Tags:
Jan ’25
Reply to How to implement server-side authentication for text filtering requests??
Unfortunately I'm still confused. It seems to be being suggested that the app uses App Attest for validation between the app and the server. Then once that validation has been performed, the Message Filter Extension can see that the app/server has been validated and will start functioning. However what does that have to do with the server then subsequently validating https traffic coming from the System which is what the question is about? Once the MFE is functioning, when the handset receives an SMS, the System is going to invoke the MFE and the extension may instruct the system to contact the server. When the system contacts the server, then the server still has no way of knowing if the traffic is coming from a phone or an impersonator of a phone. The fact that the app has performed attestation seems irrelevant to me? The payload that the iPhone system sends to the server is going to be identical whether the app has performed attestation or not. Therefore, when the server receives some incomming https, it c
Jan ’25
Reply to Vision to detect corners and or 3 lines.
Hello @Mike@ThatSoft, Yes, maximumImageDimension gives you some control over the input resolution. You can learn about more of the contour request properties in this WWDC video (timestamped link to the relevant portion): https://developer.apple.com/videos/play/wwdc2020/10673/?time=694 If you are unable to achieve the accuracy you desire, please file an enhancement request using Feedback Assistant. Other big critical problem/issue I have been struggling with, is over laying the contour. Can we discuss here, or you prefer a new question with that subject? Please open a new thread to address this. -- Greg
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to Vision to detect corners and or 3 lines.
hello @Greg, I do see and experimented with: private var epsilon: Float = 0.001 I see this: let req = VNDetectContoursRequest() I see no resolution of the request. Can you please advise or a sample of this resolution setting? as you saw I really desire straight line detection and the corners. Sorry I'm not a real programmer at all, trying though. 60 yr old man :) thank you. feel free to email. thx. Greg, I tried this: (did i do it right?) private lazy var request: VNDetectContoursRequest = { let req = VNDetectContoursRequest() req.maximumImageDimension = 2000 return req }() see no real difference in the contour shape though. Note those pics were very cropped = zoomed in. Other big critical problem/issue I have been struggling with, is over laying the contour. Can we discuss here, or you prefer a new question with that subject? thx. I'd prefer email please :).
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’25
Calendar Display App
Hello, I want to make an app that displays the current event(s) (The ones that are ongoing at any given moment) on my Google calendar and shows how far through the event(s) I am with a progress bar, and updates live. I want it to be as simple as possible and don't want it to take up too much space. I have a little window with some text elements and a progress bar that works if you manually put in values. But I still think the window is too big and clunky and I wonder if it's possible to change it's style? I'm a bit inexperienced with coding and am completely new to xcode and swift. What approach would you recommend I take with this project? Or what resources would you refer me to?
Topic: Design SubTopic: General
Replies
1
Boosts
0
Views
447
Activity
Jan ’25
Reply to Can the simulator be used to test a GameKit app?
Especially big problem for Apple Vision Pro game development
Replies
Boosts
Views
Activity
Jan ’25
Reply to How to you check if your auto rewew is on? If not, where do we go to do Auto Renew
It's not in App Store Connect. It's in right where you said: Account > Membership details The big blue iOS-style switch control
Replies
Boosts
Views
Activity
Jan ’25
Reply to Issue Sending Multicast Packets Across Multiple Interfaces Using NWConnectionGroup
Bah, I’m still dealing with a big backlog, so I don’t have time to respond fully, but I can at least answer this. [quote='772363021, harshal_goyal, /thread/772363, /profile/harshal_goyal'] It seems like I can't create an NWInterface object because it doesn't have any initializers. [/quote] Indeed. You can use an Ethernet channel path monitor for this. For the details, see this thread. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Jan ’25
Reply to Auto-instrumentaion for URLSession async/wait
[quote='772362021, ManoharaRP, /thread/772362, /profile/ManoharaRP'] customers use our [instrumentation] product they don't have to add any code from there end to monitor this system. [/quote] There isn’t a good way to achieve this goal. I’ve seen folks attempt to do this in a variety of ways, and none of them end well. Specifically: Swizzling — DTS doesn’t support folks swizzling methods on Apple classes because it’s not a sustainable path. Eventually something comes along and breaks you. It sounds like you’ve hit that case with these Swift async methods. URLProtocol — Implementing a recursive URLProtocol is super hard to do correctly [1], and it comes with a bunch of feature limitations and compatibility risk. Moreover, if code within the process is using a custom URLSession, then it has to opt in anyway, and if you require an opt in then you might as well require a nice opt in (see below). As to what you should do right now, it kinda depends on the context. If you only need to help folks at development tim
Replies
Boosts
Views
Activity
Jan ’25
Reply to LLDB error: type for self cannot be reconstructed: type for typename
Sorry, this Xcode16 just sucks. I've lost another half a days fiddling around with no luck, I just don't know what to do, and where. The project is big and in order to recreate the functionality, and the lldb bug, I have to build a whole new project, which will end up resembling the original one, minus some functionalities, so I dropped this route. The issue appears in one of the projects's internal static library. Now, I pause the execution at some breakpoint, run the po command and promptly get the Couldn't realize Swift AST type of self. Then I run swift-healthcheck, check the health log file, find the error below and conclude that the issue is in the static lib XXX. SwiftASTContextForExpressions(module: XXX, cu: AllParts.swift)::LoadOneModule() -- Missing Swift module or Clang module found for XXX, imported via SwiftDWARFImporterDelegate. Hint: Register Swift modules with the linker using -add_ast_path. Then I added -add_ast_path on the Other Linker Flags of the final executable, and now I get an
Replies
Boosts
Views
Activity
Jan ’25
Reply to st_dev of mount point directory is different to device ID of device-file
In my case, stat struct is provided by Endpoint Security message. Ahh, that makes sense then. One note here: Looks like, the best solution is to use DiskArbitration framework. I have to confess, I'm a bit of a fan boy™ when it comes to the DiskArb framework, having had the (dubious) pleasure of using it's original (and AWFUL) private API before the public API was introduced in 10.4. The API is looks a bit dated by modern standards, but it's very good at what it does. DiskArbitration can be used to find relationship between mount point (DAVolumePath) and physical device (DADiskGetBSDName). The main thing to be aware of (and take advantage of) is that the DiskArbitration can find out (and block) actions before they happen, meaning before the EndpointSecurity framework actually happens. For example, if you wanted to control/prevent mounts, the best way (IMHO) would be to: Use DARegisterDiskMountApprovalCallback() to block the DiskArb mount. Use the ES auth callback as the backstop if #1 is bypassed (for example,
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to Issue Updating User Password via OpenDirectory API with Root Daemon Privileges
Thanks for the big picture info. That was super helpful. Unfortunately I don’t see any way to do this. Regardless of the SecureToken stuff, the data protection keychain is becoming increasingly important and I’m not aware of any way to change its password. Lemme think about this some more and then get back to you. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’25
App crashes after requesting PhotoLibrary limited access
My visionOS requires access to users' personal photos. The trigger mechanism is: when user firstly opens a FooView, a task attached to that FooView and calling let status = PHPhotoLibrary.authorizationStatus(for: .readWrite), if the status is .notDetermined, then calling PHPhotoLibrary.requestAuthorization(for: .readWrite, handler: authCompletionHandler) to let visionOS pop out a window to request Photo access. However, the app crashes every time when user selects Limited Access and the system try to pop out a photo library picker. And btw, I have set Prevent limited photos access alert to Yes, but it shouldn't affect the behavior here I guess. There was a debugger message here: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Presentations are not permitted within volumetric window scenes.' However, the window this view belongs to is a .plain style window (though there were 3D object appearing in the other view of same windowgroup) This is my code snippet if this hel
Replies
1
Boosts
0
Views
718
Activity
Jan ’25
Reply to How to let iCloud sync across the devices without launching the app at midnight?
Hi, Ziqiao, Thank you for your reply. 1.We just enabled iCloud sync in our app by following the guidance(https://www.hackingwithswift.com/quick-start/swiftdata/how-to-sync-swiftdata-with-icloud). 2.The app is similar with apple calendar. The app sync events data across the devices. 3.We have talked with some potential users. Their habits are to edit their agenda on iPad or Macbook because the screen is big enough. And then they will carry their iPhone to go outside and depend on the notifications from their iPhone to remind them. We can remind them to launch the app on their iPhone to sync the data from iCloud but sometimes they will forget it. That's why we want to design some codes to sync the events data from iCloud in the midnight without launching the app on iPhone.We have designed codes to reschedule the notifications in the midnight via backgroundtask. It works well. But we can't find the method to manually sync iCloud data via backgroundtask. Look forward to good solutions from Apple for it.
Replies
Boosts
Views
Activity
Jan ’25
Reply to Finder File Previews lock files on SMB shares
Quick Look does not seem to require an exclusive lock on a file for reading purposes. Given these observations, it seems likely that the exclusive lock behavior in the Quick Look Extension Preview, when accessing files over SMB, in unintentional. The term unintentional here is tricky. It's certainly true in the sense that extension is not specifically acquiring the lock on it's own, but there are enough API layers in the system that it's not unusual for a component to acquire behavior it didn't specifically intend/need. Case in point... If this is not an oversight, could you kindly explain why an exclusive lock is necessary in the Quick Look Extension Preview? This insight would help us better understand the situation and explore alternative solutions. The underlying cause here is that, across multiple implementation layers, QuickLookUIService ends up holding a CGImageSource reference and that reference is mmap'ing a file, which is in turn causing the lock. None of that implementation is actually new
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to Cancel subscription not working in TestFlight
Bump. How such a big issue is still not being addressed?
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to How to implement server-side authentication for text filtering requests??
Unfortunately I'm still confused. It seems to be being suggested that the app uses App Attest for validation between the app and the server. Then once that validation has been performed, the Message Filter Extension can see that the app/server has been validated and will start functioning. However what does that have to do with the server then subsequently validating https traffic coming from the System which is what the question is about? Once the MFE is functioning, when the handset receives an SMS, the System is going to invoke the MFE and the extension may instruct the system to contact the server. When the system contacts the server, then the server still has no way of knowing if the traffic is coming from a phone or an impersonator of a phone. The fact that the app has performed attestation seems irrelevant to me? The payload that the iPhone system sends to the server is going to be identical whether the app has performed attestation or not. Therefore, when the server receives some incomming https, it c
Replies
Boosts
Views
Activity
Jan ’25