Search results for

smb big sur

11,740 results found

Post

Replies

Boosts

Views

Activity

Assessment mode crashes WindowServer on 14.5 sonoma intel 2019
Hello! I've been trying to get assessment mode working on my application. So far so good, seems to work on almost all of the laptops, except one. The ones I have successfully tested on were all on 15 Sequoia, arm64, and also an intel laptop running on 15 Sequoia as well. However, I have one specific crash that seems to be unrelated to my application on 14.5 Sonoma, 2019 intel. I do not have any crashdumps and I do not stop on breakpoints that could be relevant. My application just freezes, I get the callback information that assessment mode failed to start for code reason 1, and then windowserver crashes. I do not see any crashdumps related to my application. Maybe some of you have a specific idea what am I doing wrong? It's a bit interesting that It only happens on this device. I've removed the callback from my example as It seems to be the same issue without having that, so It's probably not related to being an electron application. Entitlements are properly set, provision profile properly used. // Static s
1
0
51
Jun ’25
Reply to NSDocument disregards save panel!
Many, many thanks, Nickkk, for your great suggestion! In the meantime I discovered that the misbehavior disappears in macOS 12 Monterey and macOS 11 Big Sur, that I happen to have installed on two other computers. I don’t know about macOS 13 or 14, that I don’t have already installed anymore. In any case, I finally found the — very unexpected — cause of the bug. I applied Nickkk’s idea. It took me quite a while, because the app is very big and I wanted to reduce it in relatively small steps, so as not to miss the cause of the misbehavior. A few times of course I had to come back to a previous reduction, and so on. Finally I found the part of the code that produces the bug. Here is a description of what is involved. • I wanted to observe NSApp’s property “effectiveAppearance” in order to modify the content of certain windows whenever effectiveAppearance changes, • so in my document class’s init method I added the statement [NSApp addObserver:self forKeyPath:@effectiveAppearance optio
Topic: UI Frameworks SubTopic: AppKit Tags:
Jun ’25
Reply to Apple Payment Approval Delays - No Response from Support
Exactly same issue here, Apple is not clear at all, they just say it wasn't possible to complete. Then you need to call to support to understand what is going on. Payment, same think, the collect your credit card, but don't give you feedback, is the process correct? is wrong? Dude, how apple is big doing sume dub thinks like that? I've never seen any company hidden the errors and don't care with the user is facing, you have to figure out by yourself what is the problem
Jun ’25
Reply to How to create file system snapshots with fs_snapshot_create?
I’m gonna let Kevin answer your main question I can never resist a good file system question. Searching some more online, I found someone mentioning that one has to request this entitlement from DTS. Is this true? Yes, that is correct. However, the criteria for granting this entitlement are very narrow, so it is only granted to backup applications. I'm not sure that this would qualify: I actually want to make a snapshot of a user-selected directory so that my app can sync it to another volume while avoiding that the user makes changes during the sync process that would make the copy inconsistent. Having said that, I'm also not sure you need volume snapshotting for that. Breaking down your options: Would fs_snapshot_create be faster than traversing the chosen directory and creating clones of each nested file with filecopy and the flag COPYFILE_CLONE? So, there are three options here, loosely ordered by performance: Create a snapshot with fs_snapshot_create. Clone the entire directory using clonefile() (see man
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’25
Reply to Performance Concerns and Dynamic Control of Parallel Image Uploads Using Swift TaskGroup
[quote='786668021, taisei_hikawa, /thread/786668, /profile/taisei_hikawa'] Is this concern valid? [/quote] Yes. The details vary based on the specific protocol you’re using but, in general, going ‘too wide’ will waste resources and can potentially slow things down. As to what you should do, that depends on a bunch of factors: How large are the images? And how many do you have to upload? What protocol are you using? If it’s HTTP[S], are you using a background session? Are you talking to one specific server? Or do you need to work with a lot of different servers? If it’s one server, what HTTP version does it use? IMPORTANT There’s a big difference between HTTP/1 and HTTP/{2,3} when it comes to parallelism. If you’re still using HTTP/1, you’ll likely get more ‘bang for your buck’ by upgrading the server to HTTP/2 than by tweaking your client. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Jun ’25
Reply to Background App Refresh
Indeed. I guess I should be able to recognise our own documentation code )-: Anyway, with that context, I can answer your specific questions: is the function RefreshAppContentsOperation() where to implement code that needs to be run in the background? Yes and no. In this example RefreshAppContentsOperation is meant to be an Operation subclass that implements the app refresh operation. If you want to use this approach, you’d create your own subclass of Operation and then implement the main() method on that. For example: final class RefreshAppContentsOperation: Operation { override func main() { … your code here … } } However, there are other approaches you might adopt. For example, you might start a Task and run Swift async code within that task. Note The term task is overloaded in this context. The Background Tasks framework uses it to refer to the state that’s tracking the work and Swift concurrency uses it to refer to the state of the code that’s actually doing the work. [quote='786186021, marcofusco111, /t
Jun ’25
Reply to Issue with Swift 6 migration issues
Migrating a large codebase to Swift 6 is not a trivial task. You can expect to encounter a significant number of issues. However, it’s possible to make rapid progress because, in general, these issues falls into big groups. Once you work on the solution for one of the issues in a group you can apply the same solution to all other issues in that group. There are a couple of standard resources that I generally point folks at here: WWDC 2024 Session 10169 Migrate your app to Swift 6 Migrating to Swift 6 Additionally, the Swift team is actively exploring ways to make this process easier. For a general explanation of the plan, see the Improving the approachability of data-race safety vision doc. There are are a bunch of in-flight Swift Evolution proposals that work towards that vision. So, you have a choice here: You can choose to tackle this today. Or you can wait for those changes to land in a production Swift compiler. If you want to tackle this today then I’m happy to help, but I need to see concrete
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’25
white gap between objects in RealityView
I want to display a huge image in RealityView in 3d space on Vision Pro. of course instead of one giant file I'm using a lot of big images. to achieve this, I'm generating multiple planes exactly beside each others and put each image on them. although the planes are exactly beside each others but there is still a white gap between them.(image below) **Does anybody know how to fix this issue? **
0
0
106
May ’25
Help! Free to paid dev account
I’m very new to mobile app development but not new to application development in general. I’m close to completing my first app and really excited to get things moving along and then hit a major roadblock and am at my wits end with this. I currently have a free account and have been testing on my own phone. I’m ready to move to TestFlight so went to enroll in the paid program and it just says can’t do so at this time. I sent support an email and they said it’s because they can’t identify me. I called and they told me the same thing and that there is literally nothing that can be done. I tried to create a new Apple ID and figured I’d just use it for the dev work I want to do but I can’t even create a new ID. I did have Family Sharing setup with myself as the organize and removed myself from that to ensure nothing was preventing identification. Still nothing. I can’t possibly be the only one that has gone through this. Frustrated is an understatement and getting this app out was really going to be such a big
0
0
52
May ’25
Why is Xcode so slow and bad?
I just want to rant why is Xcode such a bad ide and I wish Apple can do a better job on Xcode. Here's why: The preview is so slow. Most of the times it's just faster for me to test on a real device. It is so slow, and many times I need to force quite after it's being unresponsive for sometimes. When I'm working on larger projects, the loading time becomes extremely slow especially when there's other clients that might be reading the same files like a Git client or simply iCloud. The breakpoint is so slow. I don't know why, is it an iOS thing? But when I'm on ASP.Net the breakpoints are super fast. For Xcode it takes a long time to pause and show data. It's so big I don't know why it is so hard for Apple to make their ide better. The community has been unsatisfied with Xcode for a long time. There's many tricks on the internet that you can find to help you resolve some issues with your project that's actually related to Xcode. Instead of using these tricks, Apple should just fix these issues. Learn fr
1
0
202
May ’25
Reply to Mac Catalyst App can't launch, reason: Library not loaded: /usr/lib/libc++.1.dylib
[quote='840893022, TinyFish, /thread/785083?answerId=840893022#840893022, /profile/TinyFish'] Your crash report is similar to mine, except for the name of the dynamic library. [/quote] Right. That’s just because my app doesn’t use C++ directly. But both the libraries in question are built-in to macOS and thus I see these results as equivalent. [quote='840893022, TinyFish, /thread/785083?answerId=840893022#840893022, /profile/TinyFish'] Is it possible that it is a bug in macOS …? [/quote] macOS is big enough and complicated enough that literally anything is possible. However, the most likely scenario is that the user changed something without understanding the consequences. My immediate suggestion is that you ask them to check the state of the Open Using Rosetta checkbox, per step 9 of my previous post. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
May ’25
Reply to EXC_BAD_ACCESS if Address or Thread Sanitizer is enabled
Thanks Quinn, I'm sure a new and clean empty project runs, but this is a (big) existing project, objective-c, no storyboard but XIBs, that has run fine before 18.4, for years. As the crash happens before my code is even entered I don't even know where to start! Does this Sanitizer message mean anything to you? What is the problem with MemoryMappingLayout? libclang_rt.asan_iossim_dynamic.dylib__sanitizer::MemoryMappingLayout::Next: 0x10f2dae50 <+0>: cmpl $-0x1, 0x8(%rdi)` With the sanitizers switched off in the Run Scheme the app runs fine in the Simulator, but I have a user that experiences an actual crash on device. That crash is different from what I experience: the app crashes on simulator before entering my code, after displaying the splash screen, while the user has an app that does startup, and can be used for a few seconds, but crashes on a certain input. As is, I cannot even establish if these crashes are related. In the App Analytics in AppstoreConnect I see no increase in the number o
May ’25
Reply to Symbolicating kernel backtraces on Apple Silicon
Then VNOP_PAGEOUT gets called. I thought that VNOP_PAGEOUT was only called for mmapped files. No that's not correct, that's definitely not correct. The idea behind the UBC (Universal Buffer Cache) is unify the I/O and VM system into a common architecture. In concrete terms, these to cases: Reading the first 16kb of a file. Mapping the first 16kb of the same file. ...should both return a VM page that's actually backed by EXACTLY the same page in the UBC system. Similarly, writing to the first 16kb of that file and modifying a mapped file both have EXACTLY the same result- that is, they both modify the same page in the UBC. But there are no VNOP_MMAP/VNOP_MNOMAP calls being made for the files being extracted. No, you called cluster_write(), which basically means please modify this pages in the UBC. The current VNOP_PAGEOUT implementation ends up calling err_pageout() for files that didn't get tagged as being memory mapped by VNOP_MMAP. I don't think that's going to end very well. Have you looked at what it's ac
Topic: App & System Services SubTopic: Core OS Tags:
May ’25
Reply to Pushkit/Callkit with unlocked SIM before first unlock
We have a problem in a scenario that SIM lock is disabled so after a phone reboots it has the Internet connection but it is still locked. When you call into the VOIP app the app is not being launched as the result (it seems reasonable because it wouldn't be able to access the keychain items etc...) So first off, yes, this can happen. There are a small number of edge cases (one of which is voip) where the system may launch the app prior to first unlock. This behavior has never been documented and can be somewhat inconsistent, however, it's is also VERY old (it comes the original, iOS 4, voip architecture). Because of that, my advice to voip developers has long been: Don't assume/rely on it always happening. As you've noted the behavior is somewhat odd and there are situations where it will not occur. Be prepared for it to happen and handle it as gracefully as you can/choose. Depending on your app architecture, that could mean handling the call completely or simply reporting and then ending the call. One note o
Topic: App & System Services SubTopic: General Tags:
May ’25
Significant scrolling lag when using .focused modifier in large LazyVStack/LazyHStack on tvOS
Summary: When using the new .focused modifier to track focus within a large LazyVStack or LazyHStack, we observe a major frame-rate drop and stuttering on Apple TV (1st and 2nd generation). Steps to Reproduce: Create a LazyVStack (or LazyHStack) displaying a substantial list of data models (e.g., 100+ GroupData items). Attach the .focused(::) modifier to each row, binding to an @FocusState variable of the same model type. Build and run on an Apple TV device or simulator. Scroll through the list using the remote. static func == (lhs: GroupData, rhs: GroupData) -> Bool { lhs.id == rhs.id } var id: String var name: String var subName: String var subGroup: [GroupData] = [] var logo: URL? } struct TestView: View { @FocusState var focusedGroup: GroupData? let groupsArr: [GroupData] var body: some View { ScrollView { LazyVStack { ForEach(groupsArr, id: .id) { group in Button { } label: { GroupTestView(group: group) } .id(group.id) .focused($focusedGroup, equals: group) } } } } } struct GroupTestView: View { let g
3
0
122
May ’25