Apple Developers

RSS for tag

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

Learn More

Posts under Apple Developers subtopic

Post

Replies

Boosts

Views

Activity

Mail server connection problem.
Hello, i am currently running iOS 18.4 Public Beta (22E5232a) on an iPhone 16 Pro and i have problems with getting emails in the native mail app. i cannot receive any email from some of my email addresses. there is an “account error“ message that says: “Cannot get mail, The connection to the server failed.” When i enter my password again in settings it works for 1-2 days then stop working. On my iPhone X running iOS 16.7.10 it works perfectly. Only bugs on my iPhone 16 Pro.
3
0
87
Mar ’25
RxSwift Driver got fatal error in Swift Testing because it is not called form main thread.
Hi, I'm trying the new Swift Testing instead of XCTest for my new project. I am using RxSwift+UIKit. And when I am trying to test my ViewModel that has a Driver in it, it crashes due to the driver is not being called form main thread. Thread 5: Fatal error: `drive*` family of methods can be only called from `MainThread`. Here is the test code: struct PlayerViewModelTest { @Test func testInit_shouldPopulateTable_withEmpty() async throws { // Arrange let disposeBag = DisposeBag() var expectedSongTableCellViewData: [SongTableCellViewData]? // Act let sut = PlayerViewModel(provideAllSongs: { return .just(mockSongList) }, provideSongByArtist: { _ in return .just(mockSongList) }, disposeBag: disposeBag) sut.populateTable .drive(onNext: { expectedSongTableCellViewData = $0 }) .disposed(by: disposeBag) // Assert #expect(expectedSongTableCellViewData != nil, "Should emit something so it should not be nil") #expect(expectedSongTableCellViewData!.isEmpty, "Should emit empty array") } } This never happen in XCTest. So I assume Swift Testing is not being run in the main thread? How do I fix this? Thanks
1
0
145
Mar ’25
iOS 18.4 changed for DMA / EU coming to Switzerland?!
I read that 18.4 beta allows to changes default payment, default navigation, default translation etc app. Now I have the question will these changes come to Switzerland? Can someone with the beta confirm it? I'm asking because as example my GF iPhone doesn't allow her to install an alternative store (epic games store), because she isn't in the EU, but she can delete all Apple Apps including the Apple Store according to the DMA / EU law. So, are these changes coming?
1
0
221
Mar ’25
apple watch ultra battery draining fast on OS11.3.1
Hi, my apple watch ultra updated to OS 11.3.1(22S560) and now my battery only lasts about 4hrs from 100% it's paired with a Iphone 16pro on OS 18.3.2 Before update my watch lasted 2.5-3 days without charging, now I have to charge 3 times a day. I have turned off app refresh, live activities, and have put in low power mode. can anybody help please
1
0
92
Mar ’25
Files Can’t Be Accessed
I am trying to open items saved to my files and keep receiving this notification every time I do so, “The operation couldn't be completed. (NSFileProvider- ErrorDomain error -2005.)” What does this mean and how do I fix it? I have a 256 gb phone so I know storage is not an issue. Please help as I have files saved to my phone and not anywhere else.
1
0
90
Mar ’25
The iPad software keyboard becomes impossible to show programmatically when an external keyboard is connected.
When an external keyboard is connected to the iPad, the software keyboard often becomes hidden and cannot be made to show again programmatically. Help! Is there a way to programmatically get the software keyboard to re-appear when an external keyboard is connected without clicking 'Show Keyboard' from the Keyboard Shortcuts menu-item button? Its corner-casey for sure, (with our own keyboard extension) we have a sub-view that is added to the software keyboard view under a certain use case. When the user has an external keyboard connected, everything is fine until the app is backgrounded. When the app is re-foregrounded the software keyboard often becomes hidden (what the user now sees is a keyboard shortcut menu-item group w/a keyboard button and a mic button.) This makes it impossible for the user to interact with the subview we added (because it is hidden), unless the user manually shows the software keyboard again by clicking "Show Keyboard" from the keyboard shortcut. The software keyboard view is still the 'firstResponder' (accepting key strokes, etc), we just cannot find a way to programmatically make it visible again. Sigh.
1
0
144
Mar ’25
Feature duration
I will give some suggestions and action buttons about dynamic islands on iPhonesAfter dragging and dropping an application or file on dynamic islands, when I switch to any application or site, I can switch to that file or application by holding down the Dynamic Island As for the action button, we can assign features to the action button. A feature like this can come to it. When we press it twice, it will open the camera, when we press it once, it will open the flash. If such a feature comes, it will be easier to use
1
0
57
Mar ’25
Printing error
Back in December 2024 I noticed when I go through the steps to print I would get an error to cancel or retry. We have 4 iPhones and 3 had the newest IOS and those 3 would get the same error. The phone that had old ios 17 something the print would work. Called Apple and did troubleshooting, the opened something on apples end for the developer to investigate. Within 2 weeks a new ios was available and fixed the issue on the 3 phones that could not print. I did the latest update February and March 2025 on all 4 phones thinking no way the issue will happen again and if did all 4 phone cannot print. Is there an iOS bug that is affecting printing ios 18.3.2.
0
0
71
Mar ’25
Edit Permissions | bootps.plist
Hi, I'm trying to figure out how to edit the bootps.plist which is in the system / library directory. I have an M4 MacBook running OS 15.3.2 and I've held down the power button to go into recovery mode, and in terminal entered the 'csrutil disable' command and have restarted but when I go back to 'get info - Sharing & Permissions' I can't change any of the permissions. I need to be able to edit this file to create DHCP server. How can I change edit permissions on the bootps.plist?
0
0
65
Mar ’25
Question about Apple partnerships
I see games like Resident Evil and others have a partnership with Apple to help bring it to the MacOS and iOS platform and I was wondering if anyone knows how a company gets these partnerships, is it Apple who reaches out or do they have to reach out?
1
0
52
Mar ’25
Beta Channel Setting Prevents Ventura Security Updates on Older Macs
I discovered an issue where older Intel Macs (like my 2017 MacBook) enrolled in the macOS Sequoia Public Beta do not receive Ventura security updates, even though Sequoia is not compatible with the hardware. My system said “macOS is up to date” while stuck on Ventura 13.7.1, but after switching to the Ventura Public Beta channel, it immediately showed a new update available. This seems like a serious flaw—Apple should warn users or fall back to compatible OS versions when an enrolled beta is unsupported. Has anyone else experienced this? Could be a widespread issue for Intel Mac users still relying on Ventura.
0
0
66
Mar ’25
Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
My mail app keeps crashing? Can Anyone help? I'm using Mac OS Ventura 13.7.5 - updated yesterday and having this issue ever since: Translated Report (Full Report Below) Process: Mail [924] Path: /System/Applications/Mail.app/Contents/MacOS/Mail Identifier: com.apple.mail Version: 16.0 (3731.700.6.1.10) Build Info: Mail_App-3731700006001010~2 Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 502 Date/Time: 2025-03-31 23:17:55.8952 +0100 OS Version: macOS 13.7.5 (22H527) Report Version: 12 Anonymous UUID: 2B9E5AC3-9B82-567C-8B10-A0555BEEE9BC Time Awake Since Boot: 990 seconds System Integrity Protection: enabled Crashed Thread: 3 Dispatch queue: MCTaskHandler queue (QOS: BACKGROUND) Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6 Terminating Process: Mail [924] Application Specific Information: abort() called
0
0
139
Mar ’25
iOS 18.4 Upgrade Causes Installed Apps to Revert to Older Versions
We have observed an issue where upgrading an iPhone to iOS 18.4 causes installed apps to revert to significantly older versions. For example, if the App Store version is 1.0.284 and the user had 1.0.283 installed before the upgrade, after updating to iOS 18.4, the app version reverts to 1.0.208—which is nearly a year old. We suspect this may be related to iCloud backup restoration. Has Apple encountered similar cases, and is there a known resolution for this issue?
3
0
111
Apr ’25
Download and Store Custom Notification Sound for Playback in All App States (Foreground, Background, and Terminated)
I want to implement a feature where a custom notification sound file is downloaded from the server when the app is first launched and stored locally on the device. When a push notification arrives, the stored sound should be played in all app states, including foreground, background, and terminated (killed) state. Does anyone have an idea on how to implement this in iOS? Specifically, I am looking for guidance on: 1)Downloading and storing the sound file securely on the device. 2)Using the locally stored file for push notification sounds. 3)Ensuring the sound plays correctly in all states, including when the app is not running.
0
0
115
Apr ’25
Missing App Crash Data in Analytics Report Downloads via API
I'm encountering an issue with the App Store Connect Analytics API. to download analytics reports, the app crash data is missing for both ONGOING and ONE_TIME_SNAPSHOT reports. The crash data does appear in the Dashboard, with the numbers greater than 5, so this doesn’t seem to be related to privacy restrictions. Has anyone else experienced this issue? Any insights or suggestions on how to resolve this would be greatly appreciated! Thanks in advance!
1
1
87
Apr ’25
How to request several models simultaneously
I am using HelloPhotogrammetry in Xcode I can make one model with something like HelloPhotogrammetry.main([path_to_folder_of images, path_to_output/model.usdz, "-d", "medium", "-o", "unordered", "-f", "high" ]) But how would I request several models simultaneously? I only want to vary the detail. [ ("/Users/you/Desktop/model_medium.usdz", detail: .medium), ("/Users/you/Desktop/model_full.usdz", detail: .full), ("/Users/you/Desktop/model_raw.usdz", detail: .raw ]
0
0
78
Apr ’25