Search results for

“Xcode”

93,784 results found

Post

Replies

Boosts

Views

Activity

Reply to Driver Activation failure error code 9. Maybe Entitlements? Please help
First, I wanted to apologize for not replying for a full month, as well as thank you very much for your reply. I was pulled away from this project for a couple weeks, and when I got back I was still spinning my wheels getting the driver installed. Not a problem at all. It was 67 characters and, apparently the maximum is 63. Seems like an arbitrarily short max in this day and age, and you'd think both XCode and the Developer Portal would catch that, but that's what it was. Sigh... I'm sorry I didn't think of that, as I'm aware of that limitation and actually posted about it here. FYI, you should also be aware of the version number limitation described here, which is another arbitrary restriction the kernel enforces. So, on to my current problem. The driver installs... but doesn't load. Probably because it's not matching. So I'm going to give more detailed information in the hope you can help me with this. If you haven't seen it already, I have a post here that does an extended run down of the matching
Topic: App & System Services SubTopic: Drivers Tags:
Mar ’26
Reply to (Xcode 26.0 → 26.2) Constant UI flickering in split view mode
Just in case anyone else is having a problem, I found that it flickers when I am on Studio Display + Light Theme. If I move the XCode window to the laptop display, it will not cause flickering. I have just found that on dark theme, flickering does not occur in any of my setups, whereas light theme causes flickering, just like shown in the video (top right corner). I want to repeat that: flickering only seems to happen on Studio Display for me. XCode Version: Version 26.3 (17C529) MacOS: Version 26.3 (25D125) Hardware: Apple M1 Max
Mar ’26
Reply to SwiftData Unidirectional Relationships
The error seems to be triggered the second time when a Fish is added, which is because Fish(id: 2, name: Salmon) uses a duplicate value (2) for the id attribute, which is .unique. Avoiding using a duplicate value for the .unique attribute fixes the error. I've confirmed that Xcode 26.2 (17C52) on iOS Simulator 26.2 (23C54). Best, —— Ziqiao Chen  Worldwide Developer Relations.
Mar ’26
EAS Build failure - Family Controls entitlement missing despite Apple Approval
Context: I am building an iOS productivity app using EAS Build. The project has 4 targets: the main app and 3 extensions (ShieldAction, ShieldConfiguration, ActivityMonitorExtension). The Issue: I have officially received approval from Apple for the Family Controls (Distribution) entitlement for my main Bundle ID. However, the build still fails during the Xcode phase. The Errors: Xcode reports that the generated provisioning profiles do not include the com.apple.developer.family-controls entitlement. For example: Provisioning profile *[expo] com.*.** AdHoc 177247892.... doesn't support the Family Controls capability. All 3 extensions are failing with the exact same error. What I've done: Confirmed approval from Apple for com.*.**. Enabled Family Controls and App Groups on the Apple Developer Portal for all 4 Identifiers. Cleared EAS local and remote cache using eas build --clear-cache. Deleted existing profiles on both Expo.dev and Apple Portal to force regeneration. The Question: Even with
1
0
170
Mar ’26
libswiftCompatibilitySpan.dylib missing in XCode 26.3
A macOS privileged helper tool that uses SubProcess crashes on intel Macs (running macOS 13 - 15: unable to test on macOS 26 on intel) with the error that libswiftCompatibilitySpan.dylib cannot be loaded when built with XCode 26.3. The same helper tool works as expected with XCode 26.2. The helper is installed using SMAppService. When I remove the dependency for SubProcess, the crash no longer occurs (but important functionality is also disabled).
9
0
219
Mar ’26
Virtual Camera Shows Jittering Frames and Solid Accent Color on macOS
Hello Apple Developer Support, I’m developing a virtual camera using the CMIOExtensionDevice / CMIOExtensionStreamSource APIs on macOS. While the virtual camera appears in system settings and apps like Zoom and Google Meet, the video output exhibits the following issues: Jittering frames: The first frame sometimes appears correctly, but subsequent frames flicker or jitter. Solid color fill: Eventually, the camera feed fills entirely with a solid accent color (e.g., blue), rather than the intended video content. Console logs: Repeated messages appear in Console.app: Invalid display 0x00000000 Setup details: The virtual camera is created using CMIOExtensionDevice and CMIOExtensionStream. Video frames are rendered from NSImage/CGImage using CGContext and copied into CVPixelBuffers. Frame delivery is controlled by a DispatchSourceTimer at 60 FPS. macOS version: 26.2 Xcode version: 26.1 Observations: The Invalid display 0x00000000 logs suggest that CGContext drawing or NSImage operations are failing in he
1
0
93
Mar ’26
Virtual Camera Shows Jittering Frames and Solid Accent Color on macOS
Hello Apple Developer Support, I’m developing a virtual camera using the CMIOExtensionDevice / CMIOExtensionStreamSource APIs on macOS. While the virtual camera appears in system settings and apps like Zoom and Google Meet, the video output exhibits the following issues: Jittering frames: The first frame sometimes appears correctly, but subsequent frames flicker or jitter. Solid color fill: Eventually, the camera feed fills entirely with a solid accent color (e.g., blue), rather than the intended video content. Console logs: Repeated messages appear in Console.app: Invalid display 0x00000000 Setup details: The virtual camera is created using CMIOExtensionDevice and CMIOExtensionStream. Video frames are rendered from NSImage/CGImage using CGContext and copied into CVPixelBuffers. Frame delivery is controlled by a DispatchSourceTimer at 60 FPS. macOS version: [Your macOS version here] Xcode version: [Your Xcode version here] Observations: The Invalid display 0x00000000 logs suggest that CGCont
0
0
62
Mar ’26
Unable to use AI with XCode 26.2
I decided to try out XCode 26.2s new AI abilities but I only get a Your request couldn't be completed. When clicking the details button I get see this error: InferenceError::unspecifiedUnderlyingError::Error(message: Unknown parameter: 'tool_call_outputs'., type: invalid_request_error, code: Optional(unknown_parameter), privacyPassRedemptionResponse: nil, userFacingLocalizedErrorMessage: nil) How do I fix that?
1
0
72
Mar ’26
Reply to Different team ID's on my certs
[quote='817211021, crewshin, /thread/817211, /profile/crewshin'] it seems that Xcode generates random team ID's with it's automatic signing system [/quote] I think you’re mixing up the various different identifiers that all use the 10-character format. See Code Signing Identifiers Explained for more about that. ps Lemme know if this helps because I’m thinking of turning this into a technote in the Inside Code Signing series, and I’m more likely to make time for that if I know that it’s actually helpful. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Mar ’26
Reply to App group broken on Sequoia
The macOS 15 development cycle triggered a bunch of changes in app groups. See App Groups: macOS vs iOS: Working Towards Harmony for the backstory. Going forward, I recommend that you: Decide on the app group ID you want to use. This can use either the macOS style or iOS style. For new code I recommend the iOS style, although if you have an exist product that uses the macOS style it usually makes sense to stick with that. For each program involved (so your app and your file provider appex)… Make sure it has an explicit App ID. Create a profile that authorises that App ID to access your app group. Make sure that profile gets embedded in the program’s bundle. Sign the program to claim access to that app group. IMPORTANT Make sure to sign the program with com.apple.application-identifier so that the system can associated the program with its provisioning profile. If you’re using Xcode, it will typically take care of this for you, although my experience is that this works better if you’re using an iOS st
Topic: Code Signing SubTopic: Entitlements Tags:
Mar ’26
UIScreen.isCaptured and sceneCaptureState report inactive while system screen recording continues when Live Activity is expanded
Hi, I’m trying to reliably detect when system screen recording finishes, and I’m observing behavior that I don’t fully understand when a Live Activity is expanded via Dynamic Island. Environment Devices: iPhone 16 Pro iOS: 26.2 Xcode: 26.2 Using UIScreen.isCaptured and UIWindowScene.sceneCaptureState Implementation: I observe capture state like this: private var observation: NSKeyValueObservation? func startObserving() { observation = UIScreen.main.observe(.isCaptured, options: [.new]) { _, change in print(isCaptured:, change.newValue ?? false) } } I also check: window.traitCollection.sceneCaptureState Steps to Reproduce Start system screen recording from Control Center. Confirm UIScreen.main.isCaptured == true. Expand a Live Activity via the Dynamic Island (e.g. timer or call). Observe capture state values while the Live Activity UI is expanded. Observed Behavior While screen recording is still active: UIScreen.main.isCaptured becomes false sceneCaptureState becomes .inactive This state persists whi
Topic: UI Frameworks SubTopic: UIKit
0
0
69
Mar ’26
Push notifications not delivered over Wi-Fi with includeAllNetworks = true regardless of excludeAPNS setting
We have a VPN app that uses NEPacketTunnelProvider with includeAllNetworks = true. We've encountered an issue where push notifications are not delivered over Wi-Fi while the tunnel is active in a pre-MFA quarantine state (tunnel is up but traffic is blocked on server side), regardless of whether excludeAPNS is set to true or false. Observed behavior Wi-Fi excludeAPNS = true - Notifications not delivered Wi-Fi excludeAPNS = false - Notifications not delivered Cellular excludeAPNS = true - Notifications delivered Cellular excludeAPNS = false - Notifications not delivered On cellular, the behavior matches our expectations: setting excludeAPNS = true allows APNS traffic to bypass the tunnel and notifications arrive; setting it to false routes APNS through the tunnel and notifications are blocked (as expected for a non-forwarding tunnel). On Wi-Fi, notifications fail to deliver in both cases. Our question Is this expected behavior when includeAllNetworks is enabled on Wi-Fi, or is this a known issue / bug with APN
5
0
247
Mar ’26
Reply to Driver Activation failure error code 9. Maybe Entitlements? Please help
First, I wanted to apologize for not replying for a full month, as well as thank you very much for your reply. I was pulled away from this project for a couple weeks, and when I got back I was still spinning my wheels getting the driver installed. Not a problem at all. It was 67 characters and, apparently the maximum is 63. Seems like an arbitrarily short max in this day and age, and you'd think both XCode and the Developer Portal would catch that, but that's what it was. Sigh... I'm sorry I didn't think of that, as I'm aware of that limitation and actually posted about it here. FYI, you should also be aware of the version number limitation described here, which is another arbitrary restriction the kernel enforces. So, on to my current problem. The driver installs... but doesn't load. Probably because it's not matching. So I'm going to give more detailed information in the hope you can help me with this. If you haven't seen it already, I have a post here that does an extended run down of the matching
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Mar ’26
Reply to Compatibility of Xcode 26.3 Release Candidate 2 and WatchOS 26.3
Found out that best way to load new app to Watch is to load first the companion app on the iphone, then to the watch. The globe symbol on Xcode for the watch is expected since it is not directly connected to Xcode but it is via iphone.
Replies
Boosts
Views
Activity
Mar ’26
Reply to (Xcode 26.0 → 26.2) Constant UI flickering in split view mode
Just in case anyone else is having a problem, I found that it flickers when I am on Studio Display + Light Theme. If I move the XCode window to the laptop display, it will not cause flickering. I have just found that on dark theme, flickering does not occur in any of my setups, whereas light theme causes flickering, just like shown in the video (top right corner). I want to repeat that: flickering only seems to happen on Studio Display for me. XCode Version: Version 26.3 (17C529) MacOS: Version 26.3 (25D125) Hardware: Apple M1 Max
Replies
Boosts
Views
Activity
Mar ’26
Reply to SwiftData Unidirectional Relationships
The error seems to be triggered the second time when a Fish is added, which is because Fish(id: 2, name: Salmon) uses a duplicate value (2) for the id attribute, which is .unique. Avoiding using a duplicate value for the .unique attribute fixes the error. I've confirmed that Xcode 26.2 (17C52) on iOS Simulator 26.2 (23C54). Best, —— Ziqiao Chen  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
Mar ’26
EAS Build failure - Family Controls entitlement missing despite Apple Approval
Context: I am building an iOS productivity app using EAS Build. The project has 4 targets: the main app and 3 extensions (ShieldAction, ShieldConfiguration, ActivityMonitorExtension). The Issue: I have officially received approval from Apple for the Family Controls (Distribution) entitlement for my main Bundle ID. However, the build still fails during the Xcode phase. The Errors: Xcode reports that the generated provisioning profiles do not include the com.apple.developer.family-controls entitlement. For example: Provisioning profile *[expo] com.*.** AdHoc 177247892.... doesn't support the Family Controls capability. All 3 extensions are failing with the exact same error. What I've done: Confirmed approval from Apple for com.*.**. Enabled Family Controls and App Groups on the Apple Developer Portal for all 4 Identifiers. Cleared EAS local and remote cache using eas build --clear-cache. Deleted existing profiles on both Expo.dev and Apple Portal to force regeneration. The Question: Even with
Replies
1
Boosts
0
Views
170
Activity
Mar ’26
Reply to Preview crashes consistency in Xcode 16 beta
Had the same problem with Firebase packages causing a crash in Xcode 16 26.4 beta and setting Editor -> Canvas -> Use Legacy Previews Execution fixed it.
Replies
Boosts
Views
Activity
Mar ’26
libswiftCompatibilitySpan.dylib missing in XCode 26.3
A macOS privileged helper tool that uses SubProcess crashes on intel Macs (running macOS 13 - 15: unable to test on macOS 26 on intel) with the error that libswiftCompatibilitySpan.dylib cannot be loaded when built with XCode 26.3. The same helper tool works as expected with XCode 26.2. The helper is installed using SMAppService. When I remove the dependency for SubProcess, the crash no longer occurs (but important functionality is also disabled).
Replies
9
Boosts
0
Views
219
Activity
Mar ’26
Virtual Camera Shows Jittering Frames and Solid Accent Color on macOS
Hello Apple Developer Support, I’m developing a virtual camera using the CMIOExtensionDevice / CMIOExtensionStreamSource APIs on macOS. While the virtual camera appears in system settings and apps like Zoom and Google Meet, the video output exhibits the following issues: Jittering frames: The first frame sometimes appears correctly, but subsequent frames flicker or jitter. Solid color fill: Eventually, the camera feed fills entirely with a solid accent color (e.g., blue), rather than the intended video content. Console logs: Repeated messages appear in Console.app: Invalid display 0x00000000 Setup details: The virtual camera is created using CMIOExtensionDevice and CMIOExtensionStream. Video frames are rendered from NSImage/CGImage using CGContext and copied into CVPixelBuffers. Frame delivery is controlled by a DispatchSourceTimer at 60 FPS. macOS version: 26.2 Xcode version: 26.1 Observations: The Invalid display 0x00000000 logs suggest that CGContext drawing or NSImage operations are failing in he
Replies
1
Boosts
0
Views
93
Activity
Mar ’26
Virtual Camera Shows Jittering Frames and Solid Accent Color on macOS
Hello Apple Developer Support, I’m developing a virtual camera using the CMIOExtensionDevice / CMIOExtensionStreamSource APIs on macOS. While the virtual camera appears in system settings and apps like Zoom and Google Meet, the video output exhibits the following issues: Jittering frames: The first frame sometimes appears correctly, but subsequent frames flicker or jitter. Solid color fill: Eventually, the camera feed fills entirely with a solid accent color (e.g., blue), rather than the intended video content. Console logs: Repeated messages appear in Console.app: Invalid display 0x00000000 Setup details: The virtual camera is created using CMIOExtensionDevice and CMIOExtensionStream. Video frames are rendered from NSImage/CGImage using CGContext and copied into CVPixelBuffers. Frame delivery is controlled by a DispatchSourceTimer at 60 FPS. macOS version: [Your macOS version here] Xcode version: [Your Xcode version here] Observations: The Invalid display 0x00000000 logs suggest that CGCont
Replies
0
Boosts
0
Views
62
Activity
Mar ’26
Unable to use AI with XCode 26.2
I decided to try out XCode 26.2s new AI abilities but I only get a Your request couldn't be completed. When clicking the details button I get see this error: InferenceError::unspecifiedUnderlyingError::Error(message: Unknown parameter: 'tool_call_outputs'., type: invalid_request_error, code: Optional(unknown_parameter), privacyPassRedemptionResponse: nil, userFacingLocalizedErrorMessage: nil) How do I fix that?
Replies
1
Boosts
0
Views
72
Activity
Mar ’26
Reply to How can I change the output dimensions of a CoreML model in Xcode when the outputs come from a NonMaximumSuppression layer?
Thanks for the suggestions. I was just wondering if it’s possible to make edits on directly in the Xcode editor.
Topic: Machine Learning & AI SubTopic: Core ML Tags:
Replies
Boosts
Views
Activity
Mar ’26
Reply to Different team ID's on my certs
[quote='817211021, crewshin, /thread/817211, /profile/crewshin'] it seems that Xcode generates random team ID's with it's automatic signing system [/quote] I think you’re mixing up the various different identifiers that all use the 10-character format. See Code Signing Identifiers Explained for more about that. ps Lemme know if this helps because I’m thinking of turning this into a technote in the Inside Code Signing series, and I’m more likely to make time for that if I know that it’s actually helpful. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Mar ’26
Reply to App group broken on Sequoia
The macOS 15 development cycle triggered a bunch of changes in app groups. See App Groups: macOS vs iOS: Working Towards Harmony for the backstory. Going forward, I recommend that you: Decide on the app group ID you want to use. This can use either the macOS style or iOS style. For new code I recommend the iOS style, although if you have an exist product that uses the macOS style it usually makes sense to stick with that. For each program involved (so your app and your file provider appex)… Make sure it has an explicit App ID. Create a profile that authorises that App ID to access your app group. Make sure that profile gets embedded in the program’s bundle. Sign the program to claim access to that app group. IMPORTANT Make sure to sign the program with com.apple.application-identifier so that the system can associated the program with its provisioning profile. If you’re using Xcode, it will typically take care of this for you, although my experience is that this works better if you’re using an iOS st
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Mar ’26
UIScreen.isCaptured and sceneCaptureState report inactive while system screen recording continues when Live Activity is expanded
Hi, I’m trying to reliably detect when system screen recording finishes, and I’m observing behavior that I don’t fully understand when a Live Activity is expanded via Dynamic Island. Environment Devices: iPhone 16 Pro iOS: 26.2 Xcode: 26.2 Using UIScreen.isCaptured and UIWindowScene.sceneCaptureState Implementation: I observe capture state like this: private var observation: NSKeyValueObservation? func startObserving() { observation = UIScreen.main.observe(.isCaptured, options: [.new]) { _, change in print(isCaptured:, change.newValue ?? false) } } I also check: window.traitCollection.sceneCaptureState Steps to Reproduce Start system screen recording from Control Center. Confirm UIScreen.main.isCaptured == true. Expand a Live Activity via the Dynamic Island (e.g. timer or call). Observe capture state values while the Live Activity UI is expanded. Observed Behavior While screen recording is still active: UIScreen.main.isCaptured becomes false sceneCaptureState becomes .inactive This state persists whi
Topic: UI Frameworks SubTopic: UIKit
Replies
0
Boosts
0
Views
69
Activity
Mar ’26
Push notifications not delivered over Wi-Fi with includeAllNetworks = true regardless of excludeAPNS setting
We have a VPN app that uses NEPacketTunnelProvider with includeAllNetworks = true. We've encountered an issue where push notifications are not delivered over Wi-Fi while the tunnel is active in a pre-MFA quarantine state (tunnel is up but traffic is blocked on server side), regardless of whether excludeAPNS is set to true or false. Observed behavior Wi-Fi excludeAPNS = true - Notifications not delivered Wi-Fi excludeAPNS = false - Notifications not delivered Cellular excludeAPNS = true - Notifications delivered Cellular excludeAPNS = false - Notifications not delivered On cellular, the behavior matches our expectations: setting excludeAPNS = true allows APNS traffic to bypass the tunnel and notifications arrive; setting it to false routes APNS through the tunnel and notifications are blocked (as expected for a non-forwarding tunnel). On Wi-Fi, notifications fail to deliver in both cases. Our question Is this expected behavior when includeAllNetworks is enabled on Wi-Fi, or is this a known issue / bug with APN
Replies
5
Boosts
0
Views
247
Activity
Mar ’26