Search results for

A Summary of the WWDC25 Group Lab

10,365 results found

Post

Replies

Boosts

Views

Activity

Strange behavior with 100k+ records in NSPersistentCloudKitContainer
I have been using the basic NSPersistentContainer with 100k+ records for a while now with no issues. The database size can fluctuate a bit but on average it takes up about 22mb on device. When I switch the container to NSPersistentCloudKitContainer, I see a massive increase in size to ~150mb initially. As the sync engine uploads records to iCloud it has ballooned to over 600mb on device. On top of that, the user's iCloud usage in settings reports that it takes up 1.7gb in the cloud. I understand new tables are added and history tracking is enabled but the size increase seems a bit drastic. I'm not sure how we got from 22mb to 1.7gb with the exact same data. A few other things that are important to note: I import all the 100k+ records at once when testing the different containers. At the time of the initial import there is only 1 relation (an import group record) that all the records are attached to. I save the background context only once after all the records and the import group have been
3
0
722
Nov ’25
Reply to BLE Connection Drops on iPhone 17 Series When 2M PHY Update Fails (Does Not Fallback to 1M PHY)
Hi Quinn “The Eskimo!” (Apple DTS), Thanks for your follow-up. We’ve submitted the complete diagnostic data and supporting logs through Feedback Assistant. Feedback ID: FB20868550 📂 Uploaded files include: Full sysdiagnose from iPhone 17 (iOS 26.0.1) Device-side BLE log showing PHY update and disconnect nRF Sniffer trace (2M PHY update failure) Comparison trace from iPhone 16 (iOS 25) — fallback works correctly Readme with timestamps and reproduction steps 🧩 Issue summary When connecting to our BLE device, iPhone 17 (iOS 26.x) first connects using 1M PHY, then attempts to update to 2M PHY. If the 2M update fails, the phone immediately disconnects instead of falling back to 1M — unlike other iPhones which recover gracefully. This issue causes immediate disconnection and affects compatibility with over one million deployed devices. Please confirm if the diagnostic files under FB20868550 are accessible and sufficient for analysis, or let us know if any additional logs or captures would be helpful. Tha
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’25
Reply to Is SceneKit depricated ?
SceneKit is soft-deprecated and we suggest using RealityKit if you are thinking about making new games. To learn how to bring your existing SceneKit projects to RealityKit, see Bringing your SceneKit projects to RealityKit. This article and sample code project are associated with the WWDC25 session Bring your SceneKit projects to RealityKit. If you see any issues bringing over your projects to RealityKit or see any missing features, please file a request via Feedback Assistant.
Topic: Spatial Computing SubTopic: ARKit Tags:
Nov ’25
Reply to Notification Service Extension not getting invoked on macOS
Thanks for the detailed response. To clarify and add some details about my testing setup and observations: Verification that the extension isn’t being triggered: I’ve confirmed that the Notification Service Extension (NSE) is not being invoked at all and not just failing to modify the content with the following pointers: The didReceive(_:withContentHandler:) and serviceExtensionTimeWillExpire() methods never log or execute (I’ve added multiple test print/log statements and file-based logs for confirmation). The extension process itself does not appear in Console.app or in the process list. On iOS, using the exact same payload and code, I can see clear logs from the extension when it runs — so the extension logic and payload are validated there. Console logs checked: I’ve filtered the macOS Console for both the main app bundle ID and the extension’s bundle ID. There are no messages indicating the NSE being launched, terminated, or crashing. The system only logs the standard “Received remote notification” messa
Nov ’25
Some of the apps I have developed are being flagged as malware
I have a free developer account, and I have been creating applications. When I tried to open one of them, it said that this app has been flagged as malware. It is not malware, so I don't know why it has been flagged as this. Not just this app, but suddenly a whole bunch of my apps have been flagged as malware as well! The app I have been developing is basically a windows Taskbar for my macbook air, and it has been working well until the latest update i made where it hides in full screen, suddenly it started taking up significant energy, so i reverted to an older version while i was fixing it. Then, when i try to open it another time, it starts to open, and it says Malware Blocked and Moved to Bin “Taskbar.app” was not opened because it contains malware. This action did not harm your Mac”. All versions of the taskbar now contain this message. I try opening some of my other apps, a shared storage client and a shared storage server (where i was testing with app groups), and they couldn't open either, th
1
0
239
Nov ’25
BLE Connection Drops on iPhone 17 Series When 2M PHY Update Fails (Does Not Fallback to 1M PHY)
Hello Apple engineering team, We are encountering a BLE connection issue on iPhone 17 series devices running iOS 26.x, while using CoreBluetooth to connect to our Bluetooth accessory in our app Aroma-Link. The problem does not occur on previous iPhone models or earlier iOS versions. Issue Summary Our BLE device uses a specific chipset batch where the 2M PHY capability is not fully supported. The expected behavior (as observed on iPhone 16 / 15 / older models) is: Connection starts on 1M PHY System attempts to upgrade to 2M PHY If 2M PHY upgrade fails → system should fallback and continue using 1M PHY Connection remains active However, on iPhone 17 series: After the system attempts to switch from 1M to 2M PHY and the upgrade fails The device disconnects immediately No fallback to the original 1M PHY occurs This results in an unintended and user-visible disconnection. Reproduction Steps Use an iPhone 17 series device running iOS 26.x Connect to the target BLE peripheral via CoreBluetooth (centralManage
1
0
100
Nov ’25
Issues Handling Multiple Incoming Calls in CallKit
Certainly! Here's a concise version of your forum post: Title: Issues Handling Multiple Incoming Calls in CallKit Body: Hello, I'm using CallKit and I am encountering challenges with handling multiple incoming calls. Current Configuration: configuration.maximumCallsPerCallGroup = 5 configuration.maximumCallGroups = 3 This setup aims to allow up to 5 calls per group. Observed Behavior: Despite the configuration, the system UI seems to limit the number of calls per group, often defaulting to End & Accept instead of Hold & Accept when a third call comes in. Questions: Is there a documented system-imposed limit on the number of calls per group or total calls, even if maximumCallGroups and maximumCallsPerCallGroup are set higher? How does the system UI behave when these limits are exceeded? Are there known UI constraints or fallback behaviors? Are there best practices for handling scenarios where the system UI cannot display all calls, such as gracefully managing incoming calls o
3
0
145
Nov ’25
Reply to Unable to upload an app with ExtensionFoundation
Earlier I wrote: [quote='865385022, DTS Engineer, /thread/803896?answerId=865385022#865385022'] I didn’t have a chance to run further checks, like uploading it to App Store Connect. [/quote] For my own reasons I decided to bump the priority on this, and so I ran this test today. I was able to upload the build to App Store Connect and then install it via a TestFlight internal test group. I didn’t encounter any App Store Connect roadblocks and the app I installed via TestFlight worked as expected [1]. AFAIK there aren’t are any more App Store Connect checks after that point, other than App Review itself. As I reminder, I created a security helper extension as described in Creating enhanced security helper extensions. I didn’t try anything more complex than that, but I kinda assumed that such an extension would be worth you exploring for your product. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] I was surprised to see that the i
Topic: App & System Services SubTopic: General Tags:
Nov ’25
Reply to Do I need com.apple.developer.vpn.managed entitlement to read an MDM-pushed VPN profile using NETunnelProviderManager.loadAllFromPreferences()?
[quote='806802021, ShyamJiMi, /thread/806802, /profile/ShyamJiMi'] Is this entitlement mandatory for my use case … ? [/quote] It depends |-: If the MDM system installs a profile for your VPN, you will be able to see that configuration. The com.apple.managed.vpn.shared keychain access group comes into play if that profile references a credential in the standard way, meaning either a password or a digital identity. Those credentials get stored in the com.apple.managed.vpn.shared keychain access group. Third-party apps don’t have access to that group by default. If you have an enterprise-focused VPN product that needs such access, you should apply for it. For information on how to apply, see FAQ#9 in Network Extension Framework Entitlements. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Nov ’25
Clarification on SwiftUI Environment Write Performance
I'm looking for clarification on a SwiftUI performance point mentioned in the recent Optimize your app's speed and efficiency | Meet with Apple video. (YouTube link not allowed, but the video is available on the Apple Developer channel.) At the 1:48:50 mark, the presenter says: Writing a value to the Environment doesn't only affect the views that read the key you're updating. It updates any view that reads from any Environment key. [abbreviated quote] That statement seems like a big deal if your app relies heavily on Environment values. Context I'm building a macOS application with a traditional three-panel layout. At any given time, there are many views on screen, plus others that exist in the hierarchy but are currently hidden (for example, views inside tab views or collapsed splitters). Nearly every major view reads something from the environment—often an @Observable object that acts as a service or provider. However, there are a few relatively small values that are written to the environment frequently, s
4
0
1.2k
Nov ’25
Reply to Scanning Macintosh HD produces single .nofollow file since update to macOS 26.1
A user of one of my apps reported that since the update to macOS 26.1, they are no longer able to scan Macintosh HD: the app used to work, but now always reports that Macintosh HD contains a single empty file named .nofollow, or rather the path is resolved to /.nofollow. To be clear, you mean the root volume* (/) and not some other, secondary, volume? *Our default name for the boot volume is Macintosh HD, but that's not actually required by any part of the system. Can someone at Apple confirm whether this is expected behaviour or what I have to do so that scanning a URL resolved from bookmark data behaves the same as scanning a URL returned from an open panel? My post here breaks this down in more detail, but the summary of the situation is that: The per-kernel/lower-level system, the paths /.nofollow/ and / both refer to exactly the same directory, namely /. A bug in CoreFoundation is stripping the last / from /.nofollow/, unintentionally changing the meaning to the stub directory /.nofollow. Securi
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’25
Summary of iOS/iPadOS 26 UIKit bugs related to UISearchController & UISearchBar using scope buttons
All of these issues appear when the search controller is set on the view controller's navigationItem and the search controller's searchBar has its scopeButtonTitles set. So far the following issues are affecting my app on iOS/iPadOS 26 as of beta 7: When the scopeBarActivation of UISearchController is set to .onSearchActivation, the preferredSearchBarPlacement of the navigationItem is set to .integratedButton, and the searchBarPlacementAllowsToolbarIntegration is set to false (forcing the search icon to appear in the nav bar), on both iPhones and iPads, the scope buttons never appear. They don't appear when the search is activated. They don't appear when any text is entered into the search bar. FB19771313 I attempted to work around that issue by setting the scopeBarActivation to .manual. I then show the scope bar in the didPresentSearchController delegate method and hide the scope bar in the willDismissSearchController. On an iPhone this works though the display is a bit clunky. On an iPad, the scope bar does
10
0
940
Nov ’25
Foundation Models unavailable for millions of users due to device language restriction - Need per-app language override
Hi everyone, I'm developing an iOS app using Foundation Models and I've hit a critical limitation that I believe affects many developers and millions of users. The Issue Foundation Models requires the device system language to be one of the supported languages. If a user has their device set to an unsupported language (Catalan, Dutch, Swedish, Polish, Danish, Norwegian, Finnish, Czech, Hungarian, Greek, Romanian, and many others), SystemLanguageModel.isSupported returns false and the framework is completely unavailable. Why This Is Problematic Scenario: A Catalan user has their iPhone in Catalan (native language). They want to use an AI chat app in Spanish or English (languages they speak fluently). Current situation: ❌ Foundation Models: Completely unavailable ✅ OpenAI GPT-4: Works perfectly ✅ Anthropic Claude: Works perfectly ✅ Any cloud-based AI: Works perfectly The user must choose between: Keep device in Catalan → Cannot use Foundation Models at all Change entire device to Spanish → Can use Foundation Mo
1
0
375
Nov ’25
Reply to Assistance Needed: Accessing Smartcard Certificates for Document Signing on iOS
[quote='864970022, nagarajan031, /thread/801476?answerId=864970022#864970022, /profile/nagarajan031'] SecKeyCreateWithData does not produce a usable signing SecKey [/quote] Right. I wouldn’t expect it to. You have to get the SecKey object from the keychain, by looking in the kSecAttrAccessGroup (com.apple.token) keychain access group. In the posts I referenced above, search for SecItemCopyMatching. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Hardware Tags:
Nov ’25
Reply to Seeking clarification on macOS URLs with security scope
And one more little gotcha. I started all of this from a Login Item. But I've seen references to Login Items being frowned upon by Apple, so I wanted to change that to a Launch Agent. Plus, XPC doesn't work with a Login Item. And this is meant for the Mac App Store, so all of it has to be sandboxed. That meant putting the launch agent into an app-like wrapper. XPC doesn't work with a sandboxed launch agent either, in spite of it being in an app group. But that's OK. I configure the launch agent from the database and run it on a calendar interval, which is better regardless. But it looks like I got carried away with sandbox restrictions. I have to give my launch agent the user selected files capability. Otherwise, it can't talk to the ScopedBookmarkAgent at all, even on Sequoia.
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’25