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

AR WorldMap Relocalization for Identical houses.
i have a specific requirement as below. i have apartments in which i have 4 units and each unit will be of same layout. furniture etc.. might change but not walls and layout as far as i know. Step1: Now i will enter into one unit, scan the entire unit and save it using RoomPlan Api and at the end of the scan i will be saving the worldmap as well. Step2: i want to use the previously saved worldmap and enter into another unit and want to relocalize with only walls because the furniture might be different. is that possible. if not is there any otherway to achieve this functionality? i really appreciate you valuable time. Thankyou.
5
0
164
Jun ’25
Summary of issues encountered with the Screen Time interface
I have developed three apps using the Screen Time API. The following are common problems I encountered in the three apps: DeviceActivityMonitorExtension is automatically killed after running for a few days (frequently) The same DeviceActivityEvent in DeviceActivityMonitorExtension is triggered twice during eventDidReachThreshold (especially obvious in iOS18.5) Screen Time authorization is automatically canceled for no reason (occasionally) I hope to get help
5
2
195
Jun ’25
The push notification icon is still displaying the old version
Hello guys, We have updated our app icon, and it is correctly reflected in our app build and assets. However, the push notification icon is still displaying the old version for some users. ✅ We have verified that: All icon assets in Assets.xcassets match the new icon. The app icon has been updated in Info.plist. The app has been resubmitted and approved on the App Store. ❌ However, some users still see the old notification icon, even after reinstalling the app. Restarting the device does not always resolve the issue. Could you provide insights into how iOS caches notification icons and how we can force a refresh for all users?
4
8
2k
Jun ’25
iOS18, certificates, mail app and domain
I'm totally baffled by the changes Apple made on iOS18 about certificates usage in the built-in mail application. They decided that self-signed are not accepted any more, fine. As long as you can install your own root CA and trust it, it should be fine. But NO! They have also decided that mail will only accept IMAP servers using a domain name, no more just and IP address. So you can't get any IP-based certificate that will be accepted by the mail app, even with the right SAN and al. I've tried two "identical" certs, one with a domain and one with an IP and the domain works while the IP fails, being rejected as non-valid by the app. The most funny part is that the IP cert is good enough to configure mail (can see the successful login), but is being rejected when reading emails. I'm really fed up with the "Apple police" that wants to push us not using our own storage anymore. My se case is simple, I have an IMAP server that is used by family to archive all emails and keep them organized, saved forever and away from being scanned. I need to access that server either when locally connected or through VPN. For VPN, I use split tunnels because I don't want all traffic to go to tunnel. Nor do I want to create my own local DNS server and have all VPN clients use such DNS server only for the sake of having a domain name for the IMAP server. Nor do I want to open an external port to redirect to my IMAP server (that works of course as then I can use DDNS ...). Talk about increased security! This is insane
4
0
100
Apr ’25
Afraid of not being good enough
Hi everyone, I’m not sure if this is the right place for it, but I wanted to share a bit of my background and ask for advice from developers who’ve been in the industry longer than me. I started learning to make games when I was a kid using Game Maker. Later I got into Unity and even worked a few years as a solo developer for small startups — building Unity apps, VR projects, AR demos, websites, servers, everything. But I never had a real team, never had mentorship, and none of the projects I worked on ever reached production or real users. Life changed and I moved to the US, where I had to switch careers completely. Now I’m trying to come back to software development, but I’m struggling with a feeling that I’m “not good enough” anymore. The tech world has moved so fast, and companies like OpenAI, Meta, Epic, etc., feel way out of reach. So my question to the community is: How did you get started in your career? Did you ever feel like you weren’t good enough? How did you push through that and continue improving? Any honest advice would help a lot. Thanks.
4
1
504
2w
Safari with Prevent Cross-Site Tracking enabled bypasses NEDNSProxyProvider
Hi, I’ve encountered an issue with Safari’s behavior when Prevent Cross-Site Tracking is enabled in iOS, related to DNS filtering via an implemented NEDNSProxyProvider. Here’s a step-by-step breakdown: In Safari, when attempting to query a blocked domain (according to the filtering policy of the NEDNSProxyProvider), the page is blocked as expected. Closing Safari without closing the tab with the blocked domain. Reopening Safari – Expected result: The page remains blocked; Actual result: The page loads and bypasses the NEDNSProxyProvider (no logs are received for this flow). Tapping the refresh button causes the page to be blocked, as the DNS Proxy Provider intercepts the new request. Note: This issue is only reproducible in general tabs in Safari. In private tabs, a fresh DNS query is generated each time, and the blocking behavior works as expected. I also tested Google Chrome, where the domain is blocked consistently. I attempted to filter this issue via Content Filter, but the only connection received by NEFilterDataProvider is for com.apple.Safari.SearchHelper with ssl.gstatic.com. Could you advise on how to handle this behaviour? Would be grateful to hear any ideas
4
0
685
Dec ’24
Mouse driver locks up MacOS 13.7.6
Every week or so, mouse driver locks up. The LED laser goes out and none of the buttons operate. It's a generic 7 button USB mouse with my USB keyboard still active. I do not know what precipitates the lockup and a system diagnostic request (Sft-Alt-Ctl-Cmd .) does not seem to yield anything useful. > ps -ef|grep -i mouse 501 579 1 0 Mon01PM ?? 0:04.42 /System/Library/ExtensionKit/Extensions/MouseExtension.appex/Contents/MacOS/MouseExtension code-block so the mouse extension was running at the time. With a "sudo kill -HUP 579" it did not restart. Also, switching to a different mouse did no good. The mouse driver was behaving like it was deadlocked and I didn't know the correct incantation for restarting it. I power cycle reset the box. SO: you have a mouse driver problem it cannot be just me It behaves like a deadlock, but not knowing how to get a mouse driver dump, I cannot tell what lock(s) its waiting for.
4
0
110
Aug ’25
IOS 18.4 (beta)
since updating from 18.3 to 18.4, both on cellular and WiFi Networks I can’t connect to the internet. Since the phone wont connect to the internet I’m not able to turn off “find my iPhone“ to restore my iPhone to iOS 18.3 this way my iPhone is useless any ideas / thoughts about this?
4
2
1.3k
Mar ’25
System Data
System data is beyond a joke now. There constant logs being generated and stored somewhere with zero access and ability to delete or clear up. I’ve even tried changing the date hack, however this just created some space from system but mostly just unloaded my apps (a feature which I’ve now disabled, as virtually everything is unloaded now apart from essential items). Apple support says wipe and start again, I’m sure that’s not a solution? Anyone figured out how to resolve this? Also you can’t even force videos into the cloud, frustrating when I’ve got no space and pay for iCloud and have zero space left on my phone. It’s suppose to be intelligent.
4
0
317
1w
IOS 26 Beta 1 Bugs Report
Hi Guys! I’ve been encountering some issues while testing the latest iOS beta. Is anyone else experiencing similar bugs? Test environment: Device enrolled in iOS 26 Beta since June 9th, 5:00 PM (BRT) Hardware-related issues: • The device is overheating during routine tasks, especially when screen brightness is set to maximum. • Battery life has dropped significantly — approximately 20% to 30% shorter compared to iOS 18.5 UX/UI issues: • Scrollbars occasionally behave erratically in some apps — scrolling leads to empty areas or becomes unresponsive. • When opening a new tab in Safari, the app sometimes freezes and requires a force restart. • The Control Center is difficult to interact with due to excessive transparency, which gives the impression that the icons are scattered without visual hierarchy.
4
0
576
Jun ’25
Universal link only on subdomain not on top level domain
In our iOS app we have added example.com in associated domains from the very beginning With no AASA file hosted at example.com domain Now we need a subdomain app.example.com to be intercepted in our app, so for the same, we are thinking to host AASA at app.example.com and add app.example.com in associated domains too. so my question is will hosting AASA at sub domain works? If yes, will it affect older apps where app.example.com is not handled. In short we only want the links with app.example.com to be open in our app not the example.com links
4
1
850
Jan ’25
TMS-90714: Invalid binary - The app contains one or more corrupted binaries
"TMS-90714: Invalid binary - The app contains one or more corrupted binaries" I am facing this error email from appstore since 15 days now and i tried 49 different things to fix this but it is not fixed. I migrated my app from storyboard controller to swiftUI and tried to submit to appstore and am not seeing the build in testflight and am receving the email error above. Can anyone please help, i will provide the required info, also i can pay couple hundered bucks.
4
0
403
Jul ’25
unable to find module dependency : 'minizip'
I downloaded Xcode Beta 26 and built the POS code repository project. However, an error appeared: unable to find the module dependency 'minizip'. No changes have been made to the repository since upgrading to iOS 18.0. Is this a new issue with Xcode 26, and what are the resolution steps?
4
1
644
Jun ’25
Sharing data between Targets via App groups but Userdefault Container is null
Dear Apple Support Team, I am trying to shared data between two different App target. Target A is main iOS app and Target B is Intent Extension. I have create app group and utilise app group to share data between different target but when setting the user default from Target B stile getting container null. Target B UserDefault object details sharedDefaults UserDefaults 0x0000600000c05110 baseNSObject@0 NSObject kvo id 0x0 0x0000000000000000 [0] id identifier __CFString * "group.com.xxxx. xxxx" 0x0000600001704900 container __CFString * NULL 0x0000000000000000 _volatileDomainNames id 0x0 0x0000000000000000 [0] id Code snippet in Target B to setting UserDefault guard let sharedDefaults = UserDefaults(suiteName: SharedUserDefaults.suitName)else { completion(MuteIntentResponse(code: .failure, userActivity: nil)) return } ///["event": AudioCommand.mute.rawValue] sharedDefaults.set("test", forKey: SharedUserDefaults.Keys.audioCommand) let didSynchronize = sharedDefaults.synchronize() print("Intent Extension: Wrote Synchronize successful: \(didSynchronize)") guard let command = sharedDefaults.string(forKey: SharedUserDefaults.Keys.audioCommand) else { completion(MuteIntentResponse(code: .failure, userActivity: nil)) return } print("userDef \(command)") While reading UserDefault value in Target A UserDefault object details baseNSObject@0 NSObject isa Class NSUserDefaults 0x01000001efe1a8a9 kvo id 0x0 0x0000000000000000 identifier __CFString * "group.com.xxxx. xxxx” 0x0000600001782200 container __CFString * NULL 0x0000000000000000 _volatileDomainNames id 0x0 0x0000000000000000 [0] id Reading UserDefault value Code if let def = UserDefaults(suiteName: SharedUserDefaults.suitName){ print("commandInfo (def.string(forKey: SharedUserDefaults.Keys.audioCommand))") } Please let me know what I am doing wrong.
4
0
287
Feb ’25
Swift Form on iOS
I am new to swift (developer from long ago) and have not been able to resolve an issue with IOS - I am building a text entry box with save / cancel buttons at bottom and a texteditor above all within a fixed size frame. It's all OK on macOS but when I try iOS the space taken by the form weirdly expands (beyond the size of the text editor) and end up pushing the save /cancel buttons below outside view. An extract of the code is here. I have tried all sorts of things like setting frame sizes, line limits, spacers, scrolling disable, but I can't stop the behaviour. Any ideas. Apologies if this is well known or my issue due to inexperience I just can't resolve it. private func editSource(in geometry: GeometryProxy) -> some View { NavigationStack{ Form { Section(header: Text("Source Name")) { TextEditor(text: $newSourceName) .font(.title3) .padding(5) .background( RoundedRectangle(cornerRadius: 10) .fill(.background) ) .textFieldStyle(PlainTextFieldStyle()) .frame(height: 50) .foregroundColor(.primary) .focused($isSourceFocused) } } HStack { Button("Save") { events[eventIndex].source = newSourceName isEditingSource = false isSourceFocused = false disableEdit = false } Spacer() Button("Cancel", role: .cancel) { isSourceFocused = false isEditingSource = false disableEdit = false } } .padding() .layoutPriority(1) } #if os(macOS) .scrollDisabled(true) .padding() .frame(height: 180) .frame(width: 240) .background(.gray) #else .frame(width: 240) .frame(height: 240) #endif .cornerRadius(10) .clipShape(RoundedRectangle(cornerRadius: 10)) .overlay( RoundedRectangle(cornerRadius: 10) .stroke(Color.blue, lineWidth: 1) ) .position(sourceLocation) .offset(x: 0, y: 100) .zIndex(1) .onAppear() { isSourceFocused = true newSourceName = events[eventIndex].source } }
4
0
240
Feb ’25
Decode errors, even on "Hello, world!" - Mac
This wasn't happening until I updated Xcode to 16.2 (I'm using Sequoia 15.2). When I run any Mac app, I get these errors: Can't find or decode reasons Failed to get or decode unavailable reasons Can't find or decode disabled use cases I even got these errors running "Hello, world" which tells me that either I need to reinstall or there is a bug. Thanks for any help, -Ashley
4
0
1.4k
Jan ’25