Search results for

“Xcode”

93,874 results found

Post

Replies

Boosts

Views

Activity

Xcode is compiling all Swift files one at a time?
I have two apps; one is a subset of functionality of the other. The smaller app has about 170 Swift files. The larger app has these files plus about 120 more. So I would expect the larger app to take around twice as long to build. Instead, the smaller app takes less than a minute to build while the larger app takes over 13 minutes to build; to be exact, it takes 15.3 times longer. While reviewing the build report, I noticed that the smaller app compiles the Swift files in batches, with each batch taking around 10 seconds, but with up to 17 batches running at once. In contrast, the larger app compiles all 290 Swift files in one giant batch, so apparently there is no multithreading of the Swift compilation (see screen shots below). The difference in the number of batches the smaller app compiles at once roughly corresponds to the difference in overall build time. Is there a build setting I can change to make the larger app compile Swift files in multiple smaller batches as the smaller app is doing? I checked SW
2
0
135
4w
Reply to Unable to use AI with XCode 26.2
Thanks for reaching out. Does that happen for every prompt you try to send? If so, can you try updating to Xcode 26.3 which contains some important quality fixes. If not, could you please file a Feedback Request and attach the archive produced by the sysdiagnose command so we can take a look? Thank you!
4w
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
4w
Reply to Getting a basic URL Filter to work
That’s what was happening last night 😅 Currently (on the latest beta), I always get that error when trying to activate the TestFlight build. However, some testers have reported being able to activate 🤷‍♀️ But (still on the latest beta) versions installed from Xcode eventually activate. They flip many times between “busy” and “error” before tho, but that’s not new. It takes like a minute for the NEURLFilterManager.Status to eventually go to running. Once it does, everything works. I don’t see any new errors on the server side, always the same two that were already common two days ago when everything was working, so I don’t think these are related, but here goes anyway: Gateway: 2026-03-03T13:01:21.886520Z ERROR ThreadId(02) http_request{request_id=508c3c86-e2e2-440b-901e-0041f5928152 method=POST uri=/gateway user_agent=unknown}: ohttp_gateway::handlers::ohttp: Failed to decapsulate OHTTP request: a problem occurred with HPKE: Failed to open ciphertext PIR: 2026-03-03T12:50:16+0000 error id=8836ee445
4w
Reply to Request for Guidance on Approval Process for Network Extension Entitlement
So, currently I implemented a small POC app with content filtering and it seems to be working fine when I run it through Xcode. But as I uploaded the app to test flight then I do not see any setting related to content filtering in the Settings App or can not see any kind of permission alert for filtering. Same behaviour for ad hoc build as well. So what should we do in this case ?
4w
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
166
4w
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
89
4w
Xcode 26.3 MCP server output missing `structredContent`
I am using official MCP SDK. According to official guide, Servers MUST provide structured results that conform to this schema. https://modelcontextprotocol.io/specification/draft/server/tools#output-schema I could see output schema defined, but result have no structured content. Current output schema: { name: XcodeListWindows, title: List Windows, description: Lists the current Xcode windows and their workspace information, inputSchema: { type: object, properties: { }, required: [ ], }, outputSchema: { type: object, properties: { message: { description: Description of all open Xcode windows, type: string, }, }, required: [ message, ], }, } Current response: { result: { content: [ { type: text, text: {message:* tabIdentifier: windowtab1, workspacePath: xxxn* tabIdentifier: windowtab2, workspacePath: xxxn}, }, ] } } Expected: { result: { content: [ { type: text, text: {message:* tabIdentifier: windowtab1, workspacePath: xxxn* tabIdentifier: windowtab2, workspacePath: xxxn}, }, ], structuredCon
1
0
141
4w
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
125
Mar ’26
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:
Mar ’26
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.
Mar ’26
Xcode is compiling all Swift files one at a time?
I have two apps; one is a subset of functionality of the other. The smaller app has about 170 Swift files. The larger app has these files plus about 120 more. So I would expect the larger app to take around twice as long to build. Instead, the smaller app takes less than a minute to build while the larger app takes over 13 minutes to build; to be exact, it takes 15.3 times longer. While reviewing the build report, I noticed that the smaller app compiles the Swift files in batches, with each batch taking around 10 seconds, but with up to 17 batches running at once. In contrast, the larger app compiles all 290 Swift files in one giant batch, so apparently there is no multithreading of the Swift compilation (see screen shots below). The difference in the number of batches the smaller app compiles at once roughly corresponds to the difference in overall build time. Is there a build setting I can change to make the larger app compile Swift files in multiple smaller batches as the smaller app is doing? I checked SW
Replies
2
Boosts
0
Views
135
Activity
4w
Reply to Your request couldn't be completed
Just to clarify, when selecting Sign In in Xcode, it should show a new browser window where you enter the magic code. You will not enter that code in Xcode, so make sure to look for the window that comes up in your browser for entering the code.
Replies
Boosts
Views
Activity
4w
Reply to Unable to use AI with XCode 26.2
Thanks for reaching out. Does that happen for every prompt you try to send? If so, can you try updating to Xcode 26.3 which contains some important quality fixes. If not, could you please file a Feedback Request and attach the archive produced by the sysdiagnose command so we can take a look? Thank you!
Replies
Boosts
Views
Activity
4w
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
4w
Reply to Swift Student Challenge environment selection question (iOS 26)
Thank you for your response, I appreciate you taking the time to clarify. Just to make sure I fully understand: does this mean there is no possibility that the submission could be evaluated in Xcode if needed, or would that decision be up to the review team? Thanks again for your help.
Replies
Boosts
Views
Activity
4w
Reply to tvOS Simulator (also Xcode Canvas) Mapview Artifacts After Xcode Crash (26.3)
Also saw these warnings now in the xcode cli Warnings: Failed to locate resource named default.csv CAMetalLayer ignoring invalid setDrawableSize width=0.000000 height=0.000000 IOServiceOpen failed: 0xe00002e2 IOServiceOpen failed: 0xe00002e2 IOServiceOpen failed: 0xe00002e2 IOServiceOpen failed: 0xe00002e2
Replies
Boosts
Views
Activity
4w
Reply to Waiting for Review for some time now (day 4 and counting)
Nevermind. After rebuilding / uploding (this time with Xcode Cloud), and sending a friendly email to the devteam, my app got approved. Not sure if it was the rebuild or the email what did it.
Replies
Boosts
Views
Activity
4w
Reply to Getting a basic URL Filter to work
That’s what was happening last night 😅 Currently (on the latest beta), I always get that error when trying to activate the TestFlight build. However, some testers have reported being able to activate 🤷‍♀️ But (still on the latest beta) versions installed from Xcode eventually activate. They flip many times between “busy” and “error” before tho, but that’s not new. It takes like a minute for the NEURLFilterManager.Status to eventually go to running. Once it does, everything works. I don’t see any new errors on the server side, always the same two that were already common two days ago when everything was working, so I don’t think these are related, but here goes anyway: Gateway: 2026-03-03T13:01:21.886520Z ERROR ThreadId(02) http_request{request_id=508c3c86-e2e2-440b-901e-0041f5928152 method=POST uri=/gateway user_agent=unknown}: ohttp_gateway::handlers::ohttp: Failed to decapsulate OHTTP request: a problem occurred with HPKE: Failed to open ciphertext PIR: 2026-03-03T12:50:16+0000 error id=8836ee445
Replies
Boosts
Views
Activity
4w
Reply to Request for Guidance on Approval Process for Network Extension Entitlement
So, currently I implemented a small POC app with content filtering and it seems to be working fine when I run it through Xcode. But as I uploaded the app to test flight then I do not see any setting related to content filtering in the Settings App or can not see any kind of permission alert for filtering. Same behaviour for ad hoc build as well. So what should we do in this case ?
Replies
Boosts
Views
Activity
4w
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
166
Activity
4w
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
89
Activity
4w
Xcode 26.3 MCP server output missing `structredContent`
I am using official MCP SDK. According to official guide, Servers MUST provide structured results that conform to this schema. https://modelcontextprotocol.io/specification/draft/server/tools#output-schema I could see output schema defined, but result have no structured content. Current output schema: { name: XcodeListWindows, title: List Windows, description: Lists the current Xcode windows and their workspace information, inputSchema: { type: object, properties: { }, required: [ ], }, outputSchema: { type: object, properties: { message: { description: Description of all open Xcode windows, type: string, }, }, required: [ message, ], }, } Current response: { result: { content: [ { type: text, text: {message:* tabIdentifier: windowtab1, workspacePath: xxxn* tabIdentifier: windowtab2, workspacePath: xxxn}, }, ] } } Expected: { result: { content: [ { type: text, text: {message:* tabIdentifier: windowtab1, workspacePath: xxxn* tabIdentifier: windowtab2, workspacePath: xxxn}, }, ], structuredCon
Replies
1
Boosts
0
Views
141
Activity
4w
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
125
Activity
Mar ’26
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
Mar ’26
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
Mar ’26