Search results for

“xcode github”

95,462 results found

Post

Replies

Boosts

Views

Activity

Claude Code cannot create files in nested folders
Been playing with Claude Code in Xcode 26.3 as a code assistant and discovered it cannot create files in nested folders, only repo root. Letting Claude troubleshoot itself, it appears that str_replace_based_edit_tool strips forward slashes from the path variable. This is what Claude claims to send: create /repo/Test App/EntityTestsAttempt3.swift // ... file contents ... And the file that gets created is: Test AppEntityTestsAttempt3.swift Anyone else run into this before or can reproduce it?
2
0
148
Feb ’26
Reply to What is it so hard to develop on the Watch?
Do you have a feedback report yet? If not, would you mind to file one with a sysdiagnose captured in the way mentioned here, and then share your report ID? Folks reported pairing & connection issues between Xcode and Apple watch in this thread, and so most likely the Xcode team knows the issue. Filing your own feedback report will help the team to be sure that what you are encountering is the same issue. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Topic: Community SubTopic: Apple Developers Tags:
Feb ’26
Reply to Xcode and Open With External Editor
I am perhaps a little to late to the party with a solution for this, however ... In Finder, find a file of the same type that you want to change the default file for. Right -click and Get Info Below the comments section is the 'Open with' section which will allow you to set the default application to open this one file or all files of this type across the whole of MacOS and not just Xcode. Again, sorry for the delay folks Also, see https://stackoverflow.com/questions/75463720/xcode-open-with-external-editor for further info.
Feb ’26
Reply to Active Membership but Xcode shows "Red X" at Certificates, Identifiers & Profiles
Thanks for the post. Can you provide a screenshot? I think many developers may provide ideas. Do you see an error message in the log? I would double-check that you are signed into Xcode with the exact Apple ID that holds your Developer Program membership and confirm that your account has the appropriate roles so you are an admin? Member? What happens if you in Xcode, go to , select your team, and click the - button to remove it. Quit Xcode completely and reopen it. Another way is to add your Apple ID again by clicking the + button and following the prompts. Maybe your provisioning profiles are expired? Within the Apple Developer Portal, navigate to Certificates and revoke any existing ones. Xcode will prompt to create new ones when attempting to sign code. What version of Xcode and macOS are you running? In macOS updates and update Xcode to the latest version available via the Mac App Store. Sometimes bugs addressed in updates can resolve such issues. If y
Feb ’26
Active Membership but Xcode shows "Red X" at Certificates, Identifiers & Profiles
Hi everyone, I am struggling with a persistent issue regarding my Developer Program membership and Xcode syncing. Even though the Apple Developer Portal shows that my developer license is active and I have full access to App Store Connect, it is unfortunately not possible to sign applications with this account. It behaves as if the license wasn't active. The Symptoms: -Portal status: Active (Account Holder/Admin), -Xcode Settings: When I navigate to Settings > Accounts and select my team, there is a Red X displayed next to Certificates, Identifiers & Profiles., Xcode suggests there is an issue accessing these resources and I cannot sign any binaries. Confirmed the membership is active in the web portal. Everything seems configured correctly on the web side, but the account simply doesn't work locally in Xcode. Has anyone faced this specific Red X issue despite a valid membership? Is there a specific cache I need to clear or a way to force Xcode to re-fetch t
3
0
280
Feb ’26
What should be enabled for Enhanced Security?
I am not very well versed in this area, so I would appreciate some guidance on what should be enabled or disabled. My app is an AppKit app. I have read the documentation and watched the video, but I find it hard to understand. When I added the Enhanced Security capability in Xcode, the following options were enabled automatically: Memory Safety Enable Enhanced Security Typed Allocator Runtime Protections Enable Additional Runtime Platform Restrictions Authenticate Pointers Enable Read-only Platform Memory The following options were disabled by default: Memory Safety Enable Hardware Memory Tagging Memory Tag Pure Data Prevent Receiving Tagged Memory Enable Soft Mode for Memory Tagging Should I enable these options? Is there anything I should consider disabling?
3
0
315
Feb ’26
Reply to Memory consumption of apps under macOS 26 "Tahoe"
Hi Albert, Thanks for your swift reply! I had used Instruments to analyze the app's memory allocations and releases without identifying any significant memory leak (under macOS 26). I'm happy to dive deeper supply an Instrument trace in the corresponding ticket, these days. On the macOS 15 virtual machine, Xcode / Instruments is not installed, but honestly I expect other developers to have similar observations, and I'm not talking about some minor increase, but (in my productive app) by five times... Regarding the mentioned consumption by Thumbnail - which was way beyond any justified memory allocation: I could neither reproduce the customer's issue, nor debug / analyze app's Preview / Thumbnail extensions (actually I filed a corresponding DTS ticket): Without qlmanage to work for modern extensions, Xcode is not properly attaching the running extension to the Finder - or is just me, missing some concrete instructions (what I asked for in the DTS request). Don't get me wrong, I'm willing to p
Feb ’26
Reply to Memory consumption of apps under macOS 26 "Tahoe"
Thanks for the post and thanks for the feedback number. Looks like you didn’t run it under the Xcode Instruments to see if the memory is a memory leak or something else? Providing a Instrument trace will help you as well as in the feedback to see why is the app loading so much memory. Newer macOS versions may employ more advanced rendering techniques that utilize additional memory for caching and effects to improve visual fidelity and responsiveness if available. Changes in how macOS manages background apps and pre-fetches data might contribute to higher baseline memory usage. If your app handles images or textures, ensure that caching mechanisms are efficient and purge unused resources promptly and here using instruments will help you to know what objects are being loaded. Employ Xcode’s Instruments, especially the Allocations and Time Profiler tools, to pinpoint where excess memory is being used and identify any unexpected overhead introduced by system frameworks. Hope you go over the path
Feb ’26
Apple OCR framework seems to be holding on to allocations every time it is called.
Environment: macOS 26.2 (Tahoe) Xcode 16.3 Apple Silicon (M4) Sandboxed Mac App Store app Description: Repeated use of VNRecognizeTextRequest causes permanent memory growth in the host process. The physical footprint increases by approximately 3-15 MB per OCR call and never returns to baseline, even after all references to the request, handler, observations, and image are released. ` private func selectAndProcessImage() { let panel = NSOpenPanel() panel.allowedContentTypes = [.image] panel.allowsMultipleSelection = false panel.canChooseDirectories = false panel.message = Select an image for OCR processing guard panel.runModal() == .OK, let url = panel.url else { return } selectedImageURL = url isProcessing = true recognizedText = Processing... // Run OCR on a background thread to keep UI responsive let workItem = DispatchWorkItem { let result = performOCR(on: url) DispatchQueue.main.async { recognizedText = result isProcessing = false } } DispatchQueue.global(qos: .userInitiated).async(execute: workI
0
0
158
Feb ’26
SPM Failed to verified fingerprint for SSH url since Tahoe 26.3
Hi there, I recently updated to the latest version of macOS Tahoe 26.3. Since then, Xcode is not able to resolve my Swift Package dependencies anymore. We use SSH for all our Github hosted packages. When package resolution is running, we randomly have Failed to verify SSH fingerprint on some remote package. Nothing has changed and it worked perfectly with Tahoe 26.2. The SSH have been reconfigured and known hosts have been verified. Is something changed between those 2 versions or is it a bug ?
16
0
2.1k
Feb ’26
Memory consumption of apps under macOS 26 "Tahoe"
macOS 26 Tahoe is allocating much more memory for apps than former macOS versions: A customer contacted me with my app's Thumbnail extension allocating so much memory that her 48 GB RAM Mac Mini ran into out of application memory state. I couldn't identify any memory leak in my extension's code nor reproduce the issue, but found the main app allocating as much as 5 times the memory compared to running on macOS 15 or lower. This productive app is explicitly using Liquid Glass views as well as implicitly e.g. for an inspector pane. So I created a sample app, just based on Xcode's template of a document-based app, and the issue is still showing (although less dramatically): This sample app allocates 22 MB according to Tahoe's Activity Monitor, while Sequoia only requires 16 MB: macOS 15.6.1 macOS 26.2 Is anyone experiencing similar issues? I suspect some massive leak in Tahoe's memory management, and just filed a corresponding feedback (FB21967167).
6
0
244
Feb ’26
Passkey authentication issues on iPhone when launching login pages via Home Screen shortcuts
Summary: We are facing a serious issue on iPhone where multiple passkey authentication problems occur when accessing passkey-enabled login pages via shortcuts placed on the iPhone Home Screen. These issues may also occur when opening the same pages directly in a standard browser window. However, launching the login pages from a Home Screen shortcut appears to increase the likelihood of encountering these issues. Affected Services (examples, not exhaustive): Amazon GitHub Adobe Observed Issues: Issue 1: A passkey authentication dialog/popup shows two times without any user operation: What happens due to this issue: Login does not complete after the first passkey authentication. A second passkey authentication UI automatically appears. Completing or canceling the second authentication allows the login to proceed. Issue 2: Login remains stuck until the user manually invokes passkey again What happens due to this issue: The login page does not advance after the first authentication. The user must tap the
0
0
179
Feb ’26
Reply to Is Changing IOS version in package.swift file manually accepted?
@DTS Engineer Yes it's in Xcode playground and sorry I said it defaults to iOS 18 actually it defaults to iOS 16 so I changed it manually to iOS 26.
Replies
Boosts
Views
Activity
Feb ’26
Claude Code cannot create files in nested folders
Been playing with Claude Code in Xcode 26.3 as a code assistant and discovered it cannot create files in nested folders, only repo root. Letting Claude troubleshoot itself, it appears that str_replace_based_edit_tool strips forward slashes from the path variable. This is what Claude claims to send: create /repo/Test App/EntityTestsAttempt3.swift // ... file contents ... And the file that gets created is: Test AppEntityTestsAttempt3.swift Anyone else run into this before or can reproduce it?
Replies
2
Boosts
0
Views
148
Activity
Feb ’26
Reply to What is it so hard to develop on the Watch?
Do you have a feedback report yet? If not, would you mind to file one with a sysdiagnose captured in the way mentioned here, and then share your report ID? Folks reported pairing & connection issues between Xcode and Apple watch in this thread, and so most likely the Xcode team knows the issue. Filing your own feedback report will help the team to be sure that what you are encountering is the same issue. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to Xcode and Open With External Editor
I am perhaps a little to late to the party with a solution for this, however ... In Finder, find a file of the same type that you want to change the default file for. Right -click and Get Info Below the comments section is the 'Open with' section which will allow you to set the default application to open this one file or all files of this type across the whole of MacOS and not just Xcode. Again, sorry for the delay folks Also, see https://stackoverflow.com/questions/75463720/xcode-open-with-external-editor for further info.
Replies
Boosts
Views
Activity
Feb ’26
Reply to Active Membership but Xcode shows "Red X" at Certificates, Identifiers & Profiles
Thanks for the post. Can you provide a screenshot? I think many developers may provide ideas. Do you see an error message in the log? I would double-check that you are signed into Xcode with the exact Apple ID that holds your Developer Program membership and confirm that your account has the appropriate roles so you are an admin? Member? What happens if you in Xcode, go to , select your team, and click the - button to remove it. Quit Xcode completely and reopen it. Another way is to add your Apple ID again by clicking the + button and following the prompts. Maybe your provisioning profiles are expired? Within the Apple Developer Portal, navigate to Certificates and revoke any existing ones. Xcode will prompt to create new ones when attempting to sign code. What version of Xcode and macOS are you running? In macOS updates and update Xcode to the latest version available via the Mac App Store. Sometimes bugs addressed in updates can resolve such issues. If y
Replies
Boosts
Views
Activity
Feb ’26
Active Membership but Xcode shows "Red X" at Certificates, Identifiers & Profiles
Hi everyone, I am struggling with a persistent issue regarding my Developer Program membership and Xcode syncing. Even though the Apple Developer Portal shows that my developer license is active and I have full access to App Store Connect, it is unfortunately not possible to sign applications with this account. It behaves as if the license wasn't active. The Symptoms: -Portal status: Active (Account Holder/Admin), -Xcode Settings: When I navigate to Settings > Accounts and select my team, there is a Red X displayed next to Certificates, Identifiers & Profiles., Xcode suggests there is an issue accessing these resources and I cannot sign any binaries. Confirmed the membership is active in the web portal. Everything seems configured correctly on the web side, but the account simply doesn't work locally in Xcode. Has anyone faced this specific Red X issue despite a valid membership? Is there a specific cache I need to clear or a way to force Xcode to re-fetch t
Replies
3
Boosts
0
Views
280
Activity
Feb ’26
What should be enabled for Enhanced Security?
I am not very well versed in this area, so I would appreciate some guidance on what should be enabled or disabled. My app is an AppKit app. I have read the documentation and watched the video, but I find it hard to understand. When I added the Enhanced Security capability in Xcode, the following options were enabled automatically: Memory Safety Enable Enhanced Security Typed Allocator Runtime Protections Enable Additional Runtime Platform Restrictions Authenticate Pointers Enable Read-only Platform Memory The following options were disabled by default: Memory Safety Enable Hardware Memory Tagging Memory Tag Pure Data Prevent Receiving Tagged Memory Enable Soft Mode for Memory Tagging Should I enable these options? Is there anything I should consider disabling?
Replies
3
Boosts
0
Views
315
Activity
Feb ’26
Reply to Memory consumption of apps under macOS 26 "Tahoe"
Hi Albert, Thanks for your swift reply! I had used Instruments to analyze the app's memory allocations and releases without identifying any significant memory leak (under macOS 26). I'm happy to dive deeper supply an Instrument trace in the corresponding ticket, these days. On the macOS 15 virtual machine, Xcode / Instruments is not installed, but honestly I expect other developers to have similar observations, and I'm not talking about some minor increase, but (in my productive app) by five times... Regarding the mentioned consumption by Thumbnail - which was way beyond any justified memory allocation: I could neither reproduce the customer's issue, nor debug / analyze app's Preview / Thumbnail extensions (actually I filed a corresponding DTS ticket): Without qlmanage to work for modern extensions, Xcode is not properly attaching the running extension to the Finder - or is just me, missing some concrete instructions (what I asked for in the DTS request). Don't get me wrong, I'm willing to p
Replies
Boosts
Views
Activity
Feb ’26
Reply to Memory consumption of apps under macOS 26 "Tahoe"
Thanks for the post and thanks for the feedback number. Looks like you didn’t run it under the Xcode Instruments to see if the memory is a memory leak or something else? Providing a Instrument trace will help you as well as in the feedback to see why is the app loading so much memory. Newer macOS versions may employ more advanced rendering techniques that utilize additional memory for caching and effects to improve visual fidelity and responsiveness if available. Changes in how macOS manages background apps and pre-fetches data might contribute to higher baseline memory usage. If your app handles images or textures, ensure that caching mechanisms are efficient and purge unused resources promptly and here using instruments will help you to know what objects are being loaded. Employ Xcode’s Instruments, especially the Allocations and Time Profiler tools, to pinpoint where excess memory is being used and identify any unexpected overhead introduced by system frameworks. Hope you go over the path
Replies
Boosts
Views
Activity
Feb ’26
Apple OCR framework seems to be holding on to allocations every time it is called.
Environment: macOS 26.2 (Tahoe) Xcode 16.3 Apple Silicon (M4) Sandboxed Mac App Store app Description: Repeated use of VNRecognizeTextRequest causes permanent memory growth in the host process. The physical footprint increases by approximately 3-15 MB per OCR call and never returns to baseline, even after all references to the request, handler, observations, and image are released. ` private func selectAndProcessImage() { let panel = NSOpenPanel() panel.allowedContentTypes = [.image] panel.allowsMultipleSelection = false panel.canChooseDirectories = false panel.message = Select an image for OCR processing guard panel.runModal() == .OK, let url = panel.url else { return } selectedImageURL = url isProcessing = true recognizedText = Processing... // Run OCR on a background thread to keep UI responsive let workItem = DispatchWorkItem { let result = performOCR(on: url) DispatchQueue.main.async { recognizedText = result isProcessing = false } } DispatchQueue.global(qos: .userInitiated).async(execute: workI
Replies
0
Boosts
0
Views
158
Activity
Feb ’26
Reply to Xcode 26.3 Codex Account just spinning
Thanks for the tips, however I still can't get it to work. I've installed the codex CLI and successfully logged in. I tried logging out and back in again too. Whenever I open Xcode Settings -> Intelligence -> OpenAI -> Codex It says ChatGPT Account and there is a never ending spinner.
Replies
Boosts
Views
Activity
Feb ’26
SPM Failed to verified fingerprint for SSH url since Tahoe 26.3
Hi there, I recently updated to the latest version of macOS Tahoe 26.3. Since then, Xcode is not able to resolve my Swift Package dependencies anymore. We use SSH for all our Github hosted packages. When package resolution is running, we randomly have Failed to verify SSH fingerprint on some remote package. Nothing has changed and it worked perfectly with Tahoe 26.2. The SSH have been reconfigured and known hosts have been verified. Is something changed between those 2 versions or is it a bug ?
Replies
16
Boosts
0
Views
2.1k
Activity
Feb ’26
Memory consumption of apps under macOS 26 "Tahoe"
macOS 26 Tahoe is allocating much more memory for apps than former macOS versions: A customer contacted me with my app's Thumbnail extension allocating so much memory that her 48 GB RAM Mac Mini ran into out of application memory state. I couldn't identify any memory leak in my extension's code nor reproduce the issue, but found the main app allocating as much as 5 times the memory compared to running on macOS 15 or lower. This productive app is explicitly using Liquid Glass views as well as implicitly e.g. for an inspector pane. So I created a sample app, just based on Xcode's template of a document-based app, and the issue is still showing (although less dramatically): This sample app allocates 22 MB according to Tahoe's Activity Monitor, while Sequoia only requires 16 MB: macOS 15.6.1 macOS 26.2 Is anyone experiencing similar issues? I suspect some massive leak in Tahoe's memory management, and just filed a corresponding feedback (FB21967167).
Replies
6
Boosts
0
Views
244
Activity
Feb ’26
Reply to Is Changing IOS version in package.swift file manually accepted?
This is with an Xcode playground, right? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Feb ’26
Passkey authentication issues on iPhone when launching login pages via Home Screen shortcuts
Summary: We are facing a serious issue on iPhone where multiple passkey authentication problems occur when accessing passkey-enabled login pages via shortcuts placed on the iPhone Home Screen. These issues may also occur when opening the same pages directly in a standard browser window. However, launching the login pages from a Home Screen shortcut appears to increase the likelihood of encountering these issues. Affected Services (examples, not exhaustive): Amazon GitHub Adobe Observed Issues: Issue 1: A passkey authentication dialog/popup shows two times without any user operation: What happens due to this issue: Login does not complete after the first passkey authentication. A second passkey authentication UI automatically appears. Completing or canceling the second authentication allows the login to proceed. Issue 2: Login remains stuck until the user manually invokes passkey again What happens due to this issue: The login page does not advance after the first authentication. The user must tap the
Replies
0
Boosts
0
Views
179
Activity
Feb ’26