This is a dedicated space for developers to connect, share ideas, collaborate, and ask questions. Introduce yourself, network with other developers, and join us in fostering a supportive community.

All subtopics
Posts under Community topic

Post

Replies

Boosts

Views

Activity

Please support device mirroring with cable and without iCloud login
Hi all, if anyone from apple Dev team is seeing this, please do consider supporting device mirroring without the need to login to icloud and with cable connection in addition to wi-fi. I am working in a corporate setting which does not allow us to login to icloud, thus I am unable to use device mirroring when my work really needs is, I am stuck with Quick time preview. I am quite sure, that this does not only apply to me.
1
0
298
Jan ’25
diskutil "eraseDisk" on disk0 using terminal
Hi Apple Team & Everyone, Can someone guide me why sending 'diskutil eraseDisk APFS "WIPED" GPT /dev/disk0' command via terminal to remove/wipe the main physical drive (disk0) is failed? I tried booting into recovery mode, but it still didn’t work. The command returned the following error: Started erase on disk0 Unmounting disk The volume on disk0 couldn't be unmounted because it is in use by process 0 (kernel). Error: -69877: Couldn't open device I understand that we can use Disk Utility (GUI) to unmount and erase the drive. Is it possible to perform this operation via Terminal to erase disk0? I would appreciate any guidance on this. Regards, Winson
2
0
786
Feb ’25
Card views and List views
My main app is CardView based w/programmatic navigation.. My secondary app is a nice EventListView w/programmatic navigation. Both are functional with no errors. I want to add an event list to my CardView app but the appearance is all wrong. See image. The blue swirl at bottom is all of my List that appears. I can post images of code, if needed. My question is this - can I combine CardViews and ListViews?
0
0
146
Feb ’25
lowQualityThumbnail in QLThumbnailGenerator stops working from 15.2
Our code is using .lowQualityThumbnail to generate a thumbnail, it stops working when users update to 15.2 . Test it with a regular jpg file for fileURL. The only way to make it work is to change it to .thumnail or remove it. It's not deprecated, is it a MacOS bug? customers don't want to keep updating the software. Everything works in MacOS 15.1 import QuickLookThumbnailing func generateThumbnail(for fileURL: URL, size: CGSize, scale: CGFloat) { let request = QLThumbnailGenerator.Request(fileAt: fileURL, size: size, scale: scale, representationTypes: .lowQualityThumbnail) QLThumbnailGenerator.shared.generateBestRepresentation(for: request) { thumbnail, error in if let error = error { print("Error generating thumbnail: \(error)") } else if let thumbnail = thumbnail { // Use the thumbnail let image = thumbnail.uiImage // Do something with the image } } }
0
0
194
Jan ’25
Error when copying Home Directory
I am trying to move my home directory to a secondary drive, but I am running into to two issues. When I try to do it via Finder I get the error - The operation can’t be completed because “<my account name>” needs to be downloaded. And when I try to do it via the terminal in recovery mode (after mounting the Data directory), It seems to copy a set of directories within ~/Library/Daemon Containers/. These appear to be snapshots of some sort, which when cp runs, end up taking up the entire drive of the target drive, which is 4 times larger than my base volume. Two questions: Why I am getting the message via finder (and how do I get around it? What is the correct process for moving the home directory to a second drive? Thanks!
0
0
458
Dec ’24
Stuck using variable in the tex statement
I have two simple tests initially triggered by a title of a game setting: "Highest score Wins" or rule.hasSuffix("wins."). The code in both cases looks for the highest score and in the latter case checks to see if a target score has been achieved. This work fine. But when I display the final results, the first works fine and the latter fails to display the name; defaulting to the No One Wins - which is incorrect. The relevant pieces of the code are: case rule == "Highest score Wins": // Find the highest score let maxScore = scores.max(by: { $0.1 < $1.1 })?.1 ?? 0 let topScorers = scores.filter { $0.1 == maxScore } gameIsDraw = topScorers.count > 1 winner = topScorers.count == 1 ? topScorers.first?.0 : nil // This work and will display the winner name correctly - see below case rule.hasSuffix("wins."): // "Player to reach X wins." let topScorers = scores.filter { $0.1 >= target } if !topScorers.isEmpty { let maxScore = scores.max(by: { $0.1 < $1.1 })?.1 ?? 0 let topScorers = scores.filter { $0.1 == maxScore } gameIsDraw = topScorers.count > 1 winner = topScorers.count == 1 ? topScorers.first?.0 : nil // This works but does not display the name //This is the section that displays the names (winner) if gameIsDraw { Text("The Game is a Draw") .font(.largeTitle) .bold() .foregroundColor(.orange) } else { Text("Game Over!") .font(.largeTitle) .bold() Text("\(winner?.playername ?? "No One") Wins!") .font(.title) .foregroundColor(.green) } I have tried everything, but am losing the will to live
10
0
457
Dec ’24
No sound after updating.
I have updated my ipad 7th gen to ipados18.3 Beta last week and I realized that there is no sound at all no sound from speakers and no sound from bluetooth devices and no sound from airplay, I've checked google and reddit and alot of research people told me its a software bug, i submitted a bug report and now im still waiting for a bug fix update, youtube dosent work neither spotify aswell their UI stops working when i try to use it, So how long do i have to wait for a bug fix? Thanks apple.
0
0
264
Jan ’25
Textview/textfield crash by undoManager
Fatal Exception: NSInternalInconsistencyException 0 CoreFoundation 0x2d5ec __exceptionPreprocess 1 libobjc.A.dylib 0x31244 objc_exception_throw 2 Foundation 0x8b58b8 -[NSUndoManager endUndoGrouping] 3 Foundation 0x279154 __NSFirePerformWithOrder 4 CoreFoundation 0x21894 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION 5 CoreFoundation 0x213e8 __CFRunLoopDoObservers 6 CoreFoundation 0x75cf8 __CFRunLoopRun 7 CoreFoundation 0xc8274 CFRunLoopRunSpecific 8 GraphicsServices 0x14c0 GSEventRunModal 9 UIKitCore 0x3ee77c -[UIApplication _run] 10 UIKitCore 0x14e64 UIApplicationMain 11 Glip 0x70398 main + 13 (main.swift:13) 12 ??? 0x1c060cde8 (Missing)
2
0
849
Dec ’24
Enrollment Issue
“At this rate, I’m starting to get frustrated. I’ve registered for the developer program twice, but they’re still asking me for the registration fee, and my registration is not being approved. Moreover, I haven’t received any response to my emails, and since the information is limited in English, I can’t search for solutions. Could someone please take care of this issue now?”
0
0
376
Dec ’24
Camera's settings at calibration time
Hi everyone, I am wondering under which settings the camera(s) were set by the time they were calibrated. For instance, one aspect that is easy to find is the reference resolution of the images taken when calibrating the intrinsics, this is by retrieving intrinsicMatrixReferenceDimensions. Making sure that the principal point is referenced to the by the time resolution used when the calibration was ongoing. However, recently I saw that there are focusing modes that potentially displace the lens' physical position. Settings like: AutoFocusRangeRestriction: none, near, far setFocusModeLocked: Locks the lens position at the specified value, and sets the focus mode to a locked state. My concern lies the impact this focusing lens displacements have on the intrinsic matrix parameters, if the lens is displaced, these parameters no longer describe the camera since the lens position has changed w.r.t. the lensPosition set when they were calibrated [0-1]. If my understanding is correct the AutoFocusRangeRestriction is just a range freedom the system is allowed to auto-focus and not a specific lens position. Conversely, the setFocusModeLocked does indeed fix the lensPosition to a certain value [0 - 1]. In simple words, what is the focus lensPosition the cameras were set when calibrating them for intrnisics?
0
0
460
Jan ’25
Problem with deleting the MinimaList app
A question from an ordinary user for developers: The essence of the problem: I installed the To Do List by MinimaList app on both my MacBook and iPhone. After installing it, I decided not to use it and deleted the application. https://apps.apple.com/us/app/minimalist-to-do-list-widget/id993066159 However, it turned out that not everything was removed. Specifically: • In the “Allow Others to Find Me” section on both my MacBook and iPhone, these apps still appear. No matter what I do—whether I delete or clear them—they continue to be displayed there. • This app continues to appear in the section located at: Settings → Apple ID → iCloud → Stored in iCloud → See All → Allow Finding Me – To Do List and one more item. • It cannot be deleted. • It won’t delete on my MacBook, and it won’t delete on my iPhone. • It also appeared in iCloud itself under the Email Search section. P.S. The official Apple support (without violating any internal regulations) advised me to post on the forum to get in touch with Apple developers. In hope, I am posting this question here.
0
0
222
Feb ’25
chase app not working on Iphone iOS18.3
Hi! can someone please help me? the chase app will not work nor can I access it in the browser. I have tried literally everything - restarting my phone, deleting the app and reinstalling, resetting network settings, resetting all settings, clearing caches on all browsers. Everything is up to date. apps and my OS. nothing. I don’t want to wipe my phone by doing a factory reset. I called chase and they said it was a known issue and they’re working on a solution and that it would be resolved that day. this was 3 days ago. Is anyone else experiencing this issue?? What caused it and what is a solution?
1
0
263
Feb ’25