Search results for

“xcode github”

95,421 results found

Post

Replies

Boosts

Views

Activity

SSC 2026 — Will unlisted .mlmodel cause build failure?
Hi, I submitted my Swift Student Challenge 2026 app and I'm worried about a build error I got when testing. I have both PlateClassifier_2.mlmodel and PlateClassifier_2.mlmodelc in my Sources folder. Only the .mlmodelc is listed in my Package.swift resources. When building I got: PlateClassifier_2.mlmodel: No predominant language detected. Set COREML_CODEGEN_LANGUAGE to preferred language. Build failed — 1 error Will judges hit this same error? Does having an unlisted .mlmodel alongside the .mlmodelc cause a hard build failure on other machines too, or is this specific to my setup (Xcode 26.2 beta, building to physical device)? Will this get me instantly disqualified? Any help appreciated.
0
0
102
3w
Xcode 26 fails to load SPM packages
For me it looks like Xcode 26 has problems reading SPM packages from a locally hosted BitBucket git solution. While Xcode 16 work perfectly fine, Xcode 26 fails to load and gives Server SSH Fingerprint Failed to Verify as error description. Cleaning build data and DerivedData sometimes makes loading work. Any change in Package dependencies will break it again. Anyone having same problems? How do you handle it?
7
0
797
3w
Swift Array Out of Bounds Crash in VTFrameProcessor when using VTLowLatencyFrameInterpolationParameters
Hi everyone, Our team is encountering a reproducible crash when using VTLowLatencyFrameInterpolation on iOS 26.3 while processing a live LL-HLS input stream. 🤖 Environment Device: iPhone 16 OS: iOS 26.3 Xcode: Xcode 26.3 Framework: VideoToolbox 💥 Crash Details The application crashes with the following fatal error: Fatal error: Swift/ContiguousArrayBuffer.swift:184: Array index out of range The stack trace highlights the following: VTLowLatencyFrameInterpolationImplementation processWithParameters:frameOutputHandler: Called from VTFrameProcessor.process(parameters:) Here is the simplified implementation block where the crash occurs. (Note: PrismSampleBuffer and PrismLLFIError are our internal custom wrapper types). // Create `VTFrameProcessorFrame` for the source (previous) frame. let sourcePTS = sourceSampleBuffer.presentationTimeStamp var sourceFrame: VTFrameProcessorFrame? if let pixelBuffer = sourceSampleBuffer.imageBuffer { sourceFrame = VTFrameProcessorFrame(buffer: pixelBuffer, pres
1
0
448
3w
How do I resolve the "Automatic signing cannot update bundle identifier..." error?
When I create an archive file and attempt to upload the app using the Distribute App button, the upload fails with the error Automatic signing cannot update bundle identifier.... (The detailed message is below.) When creating an archive file in Xcode, I unchecked Automatically Manage Signing and proceeded with the archive. The message says Font Enumeration, but other apps with the same option enabled upload successfully. Therefore, I believe the Font Enumeration option is not the issue. I tried creating a new provisioning file, but it still doesn't work. I deleted all DerivedData files from my Mac storage, restarted Xcode, and tried again, but it still doesn't work. This keeps happening only for certain targets (specific apps) in Xcode. Does anyone know how to fix this? Xcode is the latest version. Message: Automatic signing cannot update bundle identifier com.xxxxxx.xxxxxx. Automatic signing cannot update your registered bundle identifier to enable Font Enumeration. Update
1
0
109
3w
Reply to Can't get USBSerialDriverKit driver loaded
OK, so for some reason, the provisioning profile includes the USB entitlement for vendorID= and I thought because I requested a specific vendor id that I only get that. So after putting into the vendor id field in my USB entitlement in Xcode, they now match, and it works. Strange.... These are the development only entitlements. See this forum post for a detailed run-through of the codesigning side of this. In terms of the matching side of this: The comments feature of the forums is not particularly useful, so please post a complete copy of your IOKitPersonalities dictionary, posted using the code option (which makes it easy to copy out). I have a rundown of the matching and loading process here, so please start by reviewing and validating your DEX against that. That document specifically covers this: Should I set something else for IOClass if my driver does bind to USB interfaces and takes care about exposing them as USB serial devices to the os? I currently have IOClass=IOUserService Also mentioned
Topic: App & System Services SubTopic: Drivers Tags:
3w
Reply to Xcode 26 – Organizer does not show “App Store Connect” for watchOS standalone app (only Release Testing available)
By watchOS standalone app, did you mean watch-only app, with the terminology defined in TN3157? For a watch-only app, it does seem that Xcode 26.x doesn't provide the App Store Connect option in the app archiving process, which, to me, is likely a bug. Do you have a feedback report yet? If not, would you mind to file one with screenshots that show the steps you use to create and archive a project, and then share your report ID here? Thanks. Best, —— Ziqiao Chen  Worldwide Developer Relations.
3w
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:
3w
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
3w
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.
3w
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
157
3w
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
206
3w
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
84
3w
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
52
3w
SSC 2026 — Will unlisted .mlmodel cause build failure?
Hi, I submitted my Swift Student Challenge 2026 app and I'm worried about a build error I got when testing. I have both PlateClassifier_2.mlmodel and PlateClassifier_2.mlmodelc in my Sources folder. Only the .mlmodelc is listed in my Package.swift resources. When building I got: PlateClassifier_2.mlmodel: No predominant language detected. Set COREML_CODEGEN_LANGUAGE to preferred language. Build failed — 1 error Will judges hit this same error? Does having an unlisted .mlmodel alongside the .mlmodelc cause a hard build failure on other machines too, or is this specific to my setup (Xcode 26.2 beta, building to physical device)? Will this get me instantly disqualified? Any help appreciated.
Replies
0
Boosts
0
Views
102
Activity
3w
Xcode 26 fails to load SPM packages
For me it looks like Xcode 26 has problems reading SPM packages from a locally hosted BitBucket git solution. While Xcode 16 work perfectly fine, Xcode 26 fails to load and gives Server SSH Fingerprint Failed to Verify as error description. Cleaning build data and DerivedData sometimes makes loading work. Any change in Package dependencies will break it again. Anyone having same problems? How do you handle it?
Replies
7
Boosts
0
Views
797
Activity
3w
Swift Array Out of Bounds Crash in VTFrameProcessor when using VTLowLatencyFrameInterpolationParameters
Hi everyone, Our team is encountering a reproducible crash when using VTLowLatencyFrameInterpolation on iOS 26.3 while processing a live LL-HLS input stream. 🤖 Environment Device: iPhone 16 OS: iOS 26.3 Xcode: Xcode 26.3 Framework: VideoToolbox 💥 Crash Details The application crashes with the following fatal error: Fatal error: Swift/ContiguousArrayBuffer.swift:184: Array index out of range The stack trace highlights the following: VTLowLatencyFrameInterpolationImplementation processWithParameters:frameOutputHandler: Called from VTFrameProcessor.process(parameters:) Here is the simplified implementation block where the crash occurs. (Note: PrismSampleBuffer and PrismLLFIError are our internal custom wrapper types). // Create `VTFrameProcessorFrame` for the source (previous) frame. let sourcePTS = sourceSampleBuffer.presentationTimeStamp var sourceFrame: VTFrameProcessorFrame? if let pixelBuffer = sourceSampleBuffer.imageBuffer { sourceFrame = VTFrameProcessorFrame(buffer: pixelBuffer, pres
Replies
1
Boosts
0
Views
448
Activity
3w
How do I resolve the "Automatic signing cannot update bundle identifier..." error?
When I create an archive file and attempt to upload the app using the Distribute App button, the upload fails with the error Automatic signing cannot update bundle identifier.... (The detailed message is below.) When creating an archive file in Xcode, I unchecked Automatically Manage Signing and proceeded with the archive. The message says Font Enumeration, but other apps with the same option enabled upload successfully. Therefore, I believe the Font Enumeration option is not the issue. I tried creating a new provisioning file, but it still doesn't work. I deleted all DerivedData files from my Mac storage, restarted Xcode, and tried again, but it still doesn't work. This keeps happening only for certain targets (specific apps) in Xcode. Does anyone know how to fix this? Xcode is the latest version. Message: Automatic signing cannot update bundle identifier com.xxxxxx.xxxxxx. Automatic signing cannot update your registered bundle identifier to enable Font Enumeration. Update
Replies
1
Boosts
0
Views
109
Activity
3w
Reply to Can't get USBSerialDriverKit driver loaded
OK, so for some reason, the provisioning profile includes the USB entitlement for vendorID= and I thought because I requested a specific vendor id that I only get that. So after putting into the vendor id field in my USB entitlement in Xcode, they now match, and it works. Strange.... These are the development only entitlements. See this forum post for a detailed run-through of the codesigning side of this. In terms of the matching side of this: The comments feature of the forums is not particularly useful, so please post a complete copy of your IOKitPersonalities dictionary, posted using the code option (which makes it easy to copy out). I have a rundown of the matching and loading process here, so please start by reviewing and validating your DEX against that. That document specifically covers this: Should I set something else for IOClass if my driver does bind to USB interfaces and takes care about exposing them as USB serial devices to the os? I currently have IOClass=IOUserService Also mentioned
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
3w
Reply to Xcode 26 – Organizer does not show “App Store Connect” for watchOS standalone app (only Release Testing available)
By watchOS standalone app, did you mean watch-only app, with the terminology defined in TN3157? For a watch-only app, it does seem that Xcode 26.x doesn't provide the App Store Connect option in the app archiving process, which, to me, is likely a bug. Do you have a feedback report yet? If not, would you mind to file one with screenshots that show the steps you use to create and archive a project, and then share your report ID here? Thanks. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
3w
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
3w
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
3w
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
3w
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
3w
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
157
Activity
3w
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
3w
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
206
Activity
3w
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
84
Activity
3w
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
52
Activity
3w