Search results for

A Summary of the WWDC25 Group Lab

10,095 results found

Post

Replies

Boosts

Views

Activity

Requested NSURLSession task is neither requested nor has it timed out
Our application has initiated an NSURLSession data task, and we have received an initiation ID. However, Application not received callback on the subsequent activity: the task has not been requested, has not timed out, and no error callback has been received. [06/17 09:29:40:559][ 0x282a7d8c0] Requested TaskIdentifier 120 2025-06-17 09:29:40.623337 +0530 nsurlsessiond SUBMITTING: com.apple.CFNetwork-cc-166-373-Task .<120>:A71666 default 2025-06-17 09:29:40.631280 +0530 dasd Submitted Activity: com.apple.CFNetwork-cc-166-373-Task .<120>:A71666 at priority 10 default Seen couple of rejection with for CPUUsagePolicy and MemoryPressurePolicy 2025-06-17 09:29:40.989360 +0530 dasd com.apple.CFNetwork-cc-166-373-Task .<120>:A71666:[ {name: CPUUsagePolicy, policyWeight: 5.000, response: {Decision: Must Not Proceed, Score: 0.00, Rationale: [{[Max allowed CPU Usage level]: Required:90.00, Observed:95.00},]}} {name: MemoryPressurePolicy, policyWeight: 5.000, response: {Decision: Must Not Proceed, Score
7
0
112
Jul ’25
Reply to The installer package includes files that are only readable by the root user
Sorry for the late answer, this ... Life™ thing came in between... I have a couple of new diagnostic tests for you. The first is a simplification of my original test: In step 2... Did that, result is: -rw-r----- 1 martin staff 2200 16 Jul 21:52 CodeResources Assuming it does, I have the new test that I actually want you to run. Create a new user account in System Settings > Users & Groups, switch to that account Log out of your main account... Did that too, result is this time different! The CodeResources FOLDER has 755, but the Coderesources FILE inside that folder has this, like the above test. So the folder's rights now are fine, file still wrong. :) -rw-r----- 1 martin staff 2200 16 Jul 21:52 CodeResources Best Martin
Topic: Code Signing SubTopic: General Tags:
Jul ’25
Reply to Accessing PIV Smart Card Certificates from iPadOS application.
[quote='793203021, Deej620, /thread/793203, /profile/Deej620'] it seems that the explicit declaration of com.apple.token should not even be required in the entitlements. [/quote] It’s easy to get confused here. Claiming access to the com.apple.token keychain access group is required on iOS but not on macOS. macOS apps get implicit access to that [1]. [quote='793203021, Deej620, /thread/793203, /profile/Deej620'] The only difference is that I'm trying to use a PIV smart card to achieve authentication to a server [/quote] That different might be significant later on, but it’s irrelevant here because you’re not getting past copy-matching stage. [quote='793203021, Deej620, /thread/793203, /profile/Deej620'] I'm getting a -34018 missing entitlement error. [/quote] The -34018 error, errSecMissingEntitlement, is a strong indication that there’s a problem with your claim to com.apple.token. However, you’ve done all the standard debugging stuff, so I’m not sure why this is failing for you. Just to be clear, y
Topic: Privacy & Security SubTopic: General Tags:
Jul ’25
Code Signing or Xcode adding mysterious entitlements that not exist in project
Hello Engineers My app was rejected with the message below, BUT I don't have this entitlements in my project! I already removed all Xcode files under ${HOME}/Developer/Xcode, but the problem still alive! Guideline 2.4.5(i) - Performance In order to continue reviewing your app, we require additional information. Your app uses one or more entitlements which do not appear to have matching functionality within the app. Please reply to this message in App Store Connect and describe how and where the app uses the following entitlements. You will not need to upload a new binary to provide this information. Apps should have only the minimum set of entitlements necessary for the app to function properly. If there are entitlements that are not needed, please remove them and submit an updated binary. You will need to Developer Reject the app to upload an updated version. com.apple.security.assets.pictures.read-write com.apple.security.assets.movies.read-write com.apple.security.assets.music.read-write com.apple.security
6
0
182
Jul ’25
Reply to Code Signing or Xcode adding mysterious entitlements that not exist in project
.... AND MORE FUNNY ... I removed the Sandbox entitlement and the Xcode artificial stupidity still want to insert the entitlements !!! ProcessProductPackaging /Users/xxxxx/EoF/DRFXBuilder/DRFXBuilder_sandbox.entitlements /Users/xxxxx/EoF/DRFXBuilder/build/xcode/DRFXBuilder.build/Release/DRFXBuilder.build/DRFXBuilder.app-Simulated.xcent (in target 'DRFXBuilder' from project 'DRFXBuilder') cd /Users/xxxxx/EoF/DRFXBuilder/build/xcode Entitlements: { } builtin-productPackagingUtility /Users/xxxxx/EoF/DRFXBuilder/DRFXBuilder_sandbox.entitlements -entitlements -format xml -o /Users/xxxxx/EoF/DRFXBuilder/build/xcode/DRFXBuilder.build/Release/DRFXBuilder.build/DRFXBuilder.app-Simulated.xcent ProcessProductPackagingDER /Users/xxxxx/EoF/DRFXBuilder/build/xcode/DRFXBuilder.build/Release/DRFXBuilder.build/DRFXBuilder.app-Simulated.xcent /Users/xxxxx/EoF/DRFXBuilder/build/xcode/DRFXBuilder.build/Release/DRFXBuilder.build/DRFXBuilder.app-Simulated.xcent.der (in target 'DRFXBuilder' from project 'DRFXBuilder') cd /Users/xxx
Topic: Code Signing SubTopic: Entitlements Tags:
Jul ’25
Reply to Code Signing or Xcode adding mysterious entitlements that not exist in project
I removed the permissions for a temporary file during the build process. My entitlements file doesn't contain any of the entitlements mentioned. Why does the code sign tool or Xcode's built-in ProductPackagingUtility have to change my decisions? Is this artificial stupidity? ProcessProductPackaging /Users/xxxxx/EoF/DRFXBuilder/DRFXBuilder_sandbox.entitlements /Users/xxxxx/EoF/DRFXBuilder/build/xcode/DRFXBuilder.build/Release/DRFXBuilder.build/DRFXBuilder.app.xcent (in target 'DRFXBuilder' from project 'DRFXBuilder') cd /Users/xxxxx/EoF/DRFXBuilder/build/xcode Entitlements: { com.apple.application-identifier = IDIDIDIDI.org.eof.tools.DRFXBuilder; com.apple.developer.team-identifier = IDIDIDID; com.apple.security.app-sandbox = 1; com.apple.security.application-groups = ( group.org.eof.apps ); com.apple.security.assets.movies.read-write = 1; <<<<- NOT MY DECISION com.apple.security.assets.music.read-write = 1; <<<<- NOT MY DECISION com.apple.security.assets.pictures.read-write =
Topic: Code Signing SubTopic: Entitlements Tags:
Jul ’25
Reply to TipKit popover Issues...
The code was exactly the same as I am using for all the tips I created (I have about 20 tips scattered across about 8 different views). All of these tips were originally setup as popover tips and I was using TipGroups to control the sequencing. All worked exactly as expected in the simulator but when I ran it on my physical device I started seeing the anomalies. Below is indicative of how I was invoking them all. One thing I did notice about the 2 tips that were displaying as sheets was that they were for buttons at the bottom of the view. Right above them was a list subview that was clearly taking up all the available screen real estate so it was as though the framework didn't think there was enough room to display them as popovers and resorted to using a sheet. There were some other anomalies attaching popovers to sliders. Either they didn't display properly or could not be dismissed. But NONE of this was a problem in the simulator! Everything worked just fine. In frustration I resorted to using TipView for
Topic: App & System Services SubTopic: General Tags:
Jul ’25
WWDC25 combining metal and ML
WWDC25: Combine Metal 4 machine learning and graphics Demonstrated a way to combine neural network in the graphics pipeline directly through the shaders, using an example of Texture Compression. However there is no mention of using which ML technique texture is compressed. Can anyone point me to some well known model/s for this particular use case shown in WWDC25.
2
0
369
Jul ’25
/usr/bin/shortcuts no longer works in 14.7.5 (23H527) ?
I've been using /usr/bin/shortcuts for various tasks (eg. Quicksilver uses it to list and run shortcuts), and after updating from 14.7.4 to 14.7.5 the tool gets killed on startup. Eg. here is what it looks like in my shell: ❯ shortcuts list zsh: killed shortcuts list (And this is regardless of whether I have full disk access or developer tools toggled on or off for iTerm.) Looking at system logs it seems like the binary is missing an entitlement, which causes MACF / Gatekeeper to throw a fit: 2025-04-12 18:38:48.847576 kernel: mac_vnode_check_signature: /usr/bin/shortcuts: code signature validation failed fatally: When validating /usr/bin/shortcuts: in-kernel: com.apple.shortcuts.ShortcutsCommandLine disallowed without com.apple.private.security.restricted-application-groups 2025-04-12 18:38:48.847582 kernel: validation of code signature failed through MACF policy: 1 2025-04-12 18:38:48.847583 kernel: check_signature[pid: 2475]: error = 1 2025-04-12 18:38:48.847587 kernel: proc 95761: load code signa
3
0
134
Apr ’25
Received the "Profile for Dolby Vision MUST be Profile 5 or 10" error for the channel that has only dolby vision profile 5
While validating a Dolby Vision Profile 5 playlist in CMAF format (with segments in MP4), the Media Stream Validator reported the following error in the MUXT-FIX-ISSUES list: However, the playlist correctly specifies Dolby Vision Profile 5 in both the EXT-X-STREAM-INF and EXT-X-I-STREAM-INF tags. Playlist: #EXTM3U #EXT-X-VERSION:8 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=audio-ec3,LANGUAGE=und,NAME=Undetermined,AUTOSELECT=YES,CHANNELS=6,URI=var14711339/aud1257/playlist.m3u8?device_profile=hls&seg_size=6&cmaf=1 #EXT-X-STREAM-INF:BANDWIDTH=14680000,AVERAGE-BANDWIDTH=14676380,VIDEO-RANGE=PQ,CODECS=ec-3,dvh1.05.06,RESOLUTION=3840x2160,AUDIO=audio-ec3 var14711339/vid/playlist.m3u8?device_profile=hls&seg_size=6&cmaf=1 #EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=1419881,URI=trk14711339/playlist.m3u8?device_profile=hls&cmaf=1,VIDEO-RANGE=PQ,CODECS=dvh1.05.06,RESOLUTION=3840x2160 Could you please review this and clarify: Why is the Media Stream Validator reporting this error, e
1
0
87
Jul ’25
DID_FAIL_TO_RENEW Notification with a null gracePeriodExpiresDate
We are seeking clarification on the behavior of App Store Server Notifications V2. Summary In our production environment, we received a notification with notificationType: DID_FAIL_TO_RENEW and subtype: GRACE_PERIOD. However, the gracePeriodExpiresDate field in the payload was null. We understand this notification indicates that a user's subscription has entered a grace period. The null value for its expiration date is unexpected, and we are looking for an official explanation of this behavior and the correct way to handle it. The Scenario Here are the details of the notification we received: Notification Type: DID_FAIL_TO_RENEW Notification Subtype: GRACE_PERIOD Environment: Production Upon decoding the signedRenewalInfo JWS from the responseBodyV2, we found that the gracePeriodExpiresDate field inside the JWSRenewalInfoDecodedPayload was null. The notificationUUID for this event was in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. Our Implementation and its Impact Our backend is designed to ensu
2
0
153
Jul ’25
Reply to Cannot get drop action to trigger (Xcode 26 beta 3)
It's not shown in the repro, but I need to do additional things on drop than just reorder the array of items. In the real version, users can drop items onto other items and the items are merged. The frustrating part is that the WWDC25 demo and examples only show how to use the new .draggable(containerItemID:) and .dragContainer(for:) modifiers to drag items to the trash. So there's no demonstration of a drop target working with the new container-based modifiers...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’25
Reply to es_mute_path() vs. deprecated es_mute_path_literal() - incompatibility and wrong documentation
However, after this change, I started receiving tons of ES event messages, for AUTH_OPEN and AUTH_CREATE and many others, from processes/executables I explicitly and successfully muted! I cannot explain what happened, but I don't think it was the API change from es_mute_path_literal to es_mute_path. In terms of API behavior, these two calls: 1) es_mute_path_literal(esClient, path); 2) es_mute_path(esClient, path, ES_MUTE_PATH_TYPE_TARGET_LITERAL); ...have EXACTLY the same behavior. I mean that quite literally. I've looked at our code and both of these two functions call into EXACTLY the same internal function and the ONLY difference between their implementations is that es_mute_path_literal hard codes the value ES_MUTE_PATH_TYPE_TARGET_LITERAL while es_mute_path passes in whatever you passed into it. Similarly: But the ES headers say differently!!! First, as a general comment, the EndpointSecurity headers should be considered the canonical documentation for this API. The EndpointSecurity team puts a great dea
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25