Search results for

“xcode github”

96,040 results found

Post

Replies

Boosts

Views

Activity

Reply to Production Mac app becomes progressively unusable in Issues workspace; Mac_Dev remains fast
Here is more concrete context. Platform / tools Target: macOS app Language / frameworks: Swift, SwiftUI, SwiftData Cloud sync: SwiftData with CloudKit mirroring in the production configuration Xcode: 26.4 (17E192) Test OS: macOS 26.4 (25E246) What I’m seeing In the macOS app, issue board scrolling can become inconsistent or very slow. Changing an issue status from detail view can be very slow. Scrolling the status menu itself can be slow. Typing in issue description/notes fields can become sluggish. The problem is much more noticeable with my full production-sized dataset than with a small dev dataset. What I’ve tested so far I compared a small dev dataset vs a much larger production-sized dataset. With a small dataset, the same UI feels fast and smooth. With the large dataset, the same UI becomes noticeably slower. I also tested a local-only copy of the production dataset with CloudKit disabled. That improved some behavior, but it did not remove the lag entirely. When I reduced the local test datase
Apr ’26
26.4 RC documentation omits Foundation?!
I just installed Xcode 26.4 RC (17E192) yesterday and found that the documentation window now omits Foundation for me. Searching for Date finds the date property from GameKit, Core Data, ... but no Date type. I was previously using 26.4 beta and this was not the case. Is anyone else seeing the same thing?
2
0
193
Apr ’26
No internet after reboot for 90s
Development environment: Xcode 26.4, macOS 26.3.1 Run-time configuration: iOS 18.7.6 and higher We have an application running on supervised devices, with an MDM profile typically deployed via jamf. The profile enables a Content Filter, with the two flags Socket Filter and Browser Filter set to true. On the device side, we implement the content filter as a network extension via: a class FilterDataProvider extending NEFilterDataProvider, a class FilterControlProvider extending NEFilerControlProvider. For the record, the FilterDataProvider overrides the handle*() methods to allow all traffic; the handleNewFlow() simply reports the new connection to FilterControlProvider for analysis. Problem: some customers reported that after a reboot of their device, they would not get access to the internet for up to 60s/90s. We have not been able to reproduce the problem on our own devices. What we see is that, even with our app uninstalled, without any Content Filter, it takes roughly 20s to 25s for a device to ha
1
0
69
Apr ’26
Reply to No internet after reboot for 90s
Thanks for bringing this to the forums. [quote='821286021, vpoinot, /thread/821286, /profile/vpoinot'] But would you be aware of a reason that would explain the delay observed by these customers? [/quote] No. And the fact that this only happens at specific sites makes it hard to offer useful insight. What I can do is suggest a path for investigating this. IMPORTANT I’m gonna assume you’re familiar with the system log. If not, read Your Friend the System Log. I’m also going to suggest an approach that’s kinda like the one I outlined in Using a Sysdiagnose Log to Debug a Hard-to-Reproduce Problem, so you might want to read that for more background. The canonical tool for investigating issues like this is a sysdiagnose log. In a case like this that’s only going to work if you have a customer who is reasonably technically savvy and willing to help you debug. A further complication is that NE content filter data providers can’t log to the system log when signed for distribution. They can only add stuff to the syst
Apr ’26
`NEProxySettings.matchDomains` / `exceptionList` not working as expected in `NEPacketTunnelProvider` (domain-scoped proxy not applied, and exceptions not bypassed)
I’m working on an iOS Network Extension where a NEPacketTunnelProviderconfigures a local HTTP/HTTPS proxy usingNEPacketTunnelNetworkSettings.proxySettings. Per NEProxySettings.exceptionList docs: If the destination host name of an HTTP connection matches one of these patterns then the proxy settings will not be used for the connection. However, I’m seeing two distinct issues: Issue A (exception bypass not working): HTTPS traffic to a host that matches exceptionList still reaches the proxy. Issue B (domain-scoped proxy not applied): When matchDomains is set to match a specific domain (example: [googlevideo.com]), I still observe its traffic in some apps is not proxied. If I remove the domain from matchDomains, the same traffic is proxied. Environment OS: iOS (reproduced with 26.4 and other versions) Devices: Reproduced with several iPhones (likely iPads as well) Xcode: 26.3 Extension: NEPacketTunnelProvider Minimal Repro (code) This is the minimal configuration. Toggle between CONFIG A / CONFIG B to r
1
0
206
Apr ’26
Reply to 26.4 RC documentation omits Foundation?!
Yep, seeing the same thing. There's a lot of other stuff broken with Xcode 26.4. For example, the Swift symbol NSTextAttachment.character is gone and we have to use NSAttachmentCharacter which in turn produces an error when compiling with Xcode 26.3 and earlier. (FB22341879). And then there's the broken Claude Agent support which forces you to re-login every few hours. Paired with the fact that macOS 26.4 cannot run Address Sanitizer builds from Xcode 26.3 and earlier, and you thus HAVE to use Xcode 26.4, I'm very frustrated with Apple's software quality right now.
Apr ’26
Entitlement values for the Enhanced Security and the Additional Runtime Platform Restrictions
I recently turned on the enhanced security options for my macOS app in Xcode 26.0.1 by adding the Enhanced Security capability in the Signing and Capabilities tab. Then, Xcode adds the following key-value sets (with some other key-values) to my app's entitlements file. com.apple.security.hardened-process.enhanced-security-version 1 com.apple.security.hardened-process.platform-restrictions 2 These values appear following the documentation about the enhanced security feature (Enabling enhanced security for your app) and the app works without any issues. However, when I submitted a new version to the Mac App Store, my submission was rejected, and I received the following message from the App Review team via the App Store Connect. Guideline 2.4.5(i) - Performance Your app incorrectly implements sandboxing, or it contains one or more entitlements with invalid values. Please review the included entitlements and sandboxing documentation and resolve this issue before resubmitting a new binary. Entit
6
0
1.4k
Apr ’26
Agentic coding issues
Hi guys, Two annoying issues I'm having at the moment with agentic coding. Xcode signs out of Claude every single day and gives the error Failed to authenticate. API Error: 401. The only solution is go to settings and sign out of Claude and in again. Apple removed the little arrow to select the model, so now every time you start a new conversation you have to pick the model. I just want to start a new conversation with the model I'm using. The extra click is a time waster. Any solutions would be appreciated. Thanks
1
0
149
Apr ’26
Reply to XCode 16 and iOS 12 support
I’ve managed to run the Xcode 26.4 debugger with an app on an old iPhone 5s running 12.5.8 (though it failed for a different reason). The trick was to install a developer disk image for iOS 12.4. Since Xcode does not grab it from the old iPhone I found it on GitHub where someone collected these old images. You need to copy the dmg and signature to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport . Good luck.
Apr ’26
Reply to Entitlement values for the Enhanced Security and the Additional Runtime Platform Restrictions
It seems to be the same problem where the App Review automated system hasn't been updated to accept the new entitlements even though Xcode 26.4 has been out for more than a week now. I've raised FB22387339 for this. It actually was fixed, but then a different change reintroduced the same failure (r.173858947). It may take a day or two, but this should be sorted out soon. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: Privacy & Security SubTopic: General Tags:
Apr ’26
Reply to Production Mac app becomes progressively unusable in Issues workspace; Mac_Dev remains fast
Here is more concrete context. Platform / tools Target: macOS app Language / frameworks: Swift, SwiftUI, SwiftData Cloud sync: SwiftData with CloudKit mirroring in the production configuration Xcode: 26.4 (17E192) Test OS: macOS 26.4 (25E246) What I’m seeing In the macOS app, issue board scrolling can become inconsistent or very slow. Changing an issue status from detail view can be very slow. Scrolling the status menu itself can be slow. Typing in issue description/notes fields can become sluggish. The problem is much more noticeable with my full production-sized dataset than with a small dev dataset. What I’ve tested so far I compared a small dev dataset vs a much larger production-sized dataset. With a small dataset, the same UI feels fast and smooth. With the large dataset, the same UI becomes noticeably slower. I also tested a local-only copy of the production dataset with CloudKit disabled. That improved some behavior, but it did not remove the lag entirely. When I reduced the local test datase
Replies
Boosts
Views
Activity
Apr ’26
26.4 RC documentation omits Foundation?!
I just installed Xcode 26.4 RC (17E192) yesterday and found that the documentation window now omits Foundation for me. Searching for Date finds the date property from GameKit, Core Data, ... but no Date type. I was previously using 26.4 beta and this was not the case. Is anyone else seeing the same thing?
Replies
2
Boosts
0
Views
193
Activity
Apr ’26
No internet after reboot for 90s
Development environment: Xcode 26.4, macOS 26.3.1 Run-time configuration: iOS 18.7.6 and higher We have an application running on supervised devices, with an MDM profile typically deployed via jamf. The profile enables a Content Filter, with the two flags Socket Filter and Browser Filter set to true. On the device side, we implement the content filter as a network extension via: a class FilterDataProvider extending NEFilterDataProvider, a class FilterControlProvider extending NEFilerControlProvider. For the record, the FilterDataProvider overrides the handle*() methods to allow all traffic; the handleNewFlow() simply reports the new connection to FilterControlProvider for analysis. Problem: some customers reported that after a reboot of their device, they would not get access to the internet for up to 60s/90s. We have not been able to reproduce the problem on our own devices. What we see is that, even with our app uninstalled, without any Content Filter, it takes roughly 20s to 25s for a device to ha
Replies
1
Boosts
0
Views
69
Activity
Apr ’26
Reply to No internet after reboot for 90s
Thanks for bringing this to the forums. [quote='821286021, vpoinot, /thread/821286, /profile/vpoinot'] But would you be aware of a reason that would explain the delay observed by these customers? [/quote] No. And the fact that this only happens at specific sites makes it hard to offer useful insight. What I can do is suggest a path for investigating this. IMPORTANT I’m gonna assume you’re familiar with the system log. If not, read Your Friend the System Log. I’m also going to suggest an approach that’s kinda like the one I outlined in Using a Sysdiagnose Log to Debug a Hard-to-Reproduce Problem, so you might want to read that for more background. The canonical tool for investigating issues like this is a sysdiagnose log. In a case like this that’s only going to work if you have a customer who is reasonably technically savvy and willing to help you debug. A further complication is that NE content filter data providers can’t log to the system log when signed for distribution. They can only add stuff to the syst
Replies
Boosts
Views
Activity
Apr ’26
`NEProxySettings.matchDomains` / `exceptionList` not working as expected in `NEPacketTunnelProvider` (domain-scoped proxy not applied, and exceptions not bypassed)
I’m working on an iOS Network Extension where a NEPacketTunnelProviderconfigures a local HTTP/HTTPS proxy usingNEPacketTunnelNetworkSettings.proxySettings. Per NEProxySettings.exceptionList docs: If the destination host name of an HTTP connection matches one of these patterns then the proxy settings will not be used for the connection. However, I’m seeing two distinct issues: Issue A (exception bypass not working): HTTPS traffic to a host that matches exceptionList still reaches the proxy. Issue B (domain-scoped proxy not applied): When matchDomains is set to match a specific domain (example: [googlevideo.com]), I still observe its traffic in some apps is not proxied. If I remove the domain from matchDomains, the same traffic is proxied. Environment OS: iOS (reproduced with 26.4 and other versions) Devices: Reproduced with several iPhones (likely iPads as well) Xcode: 26.3 Extension: NEPacketTunnelProvider Minimal Repro (code) This is the minimal configuration. Toggle between CONFIG A / CONFIG B to r
Replies
1
Boosts
0
Views
206
Activity
Apr ’26
Reply to ‌Xcode26-built apps cannot run on iPhone 6 or earlier devices‌
We work hard to keep our application available to older devices, just to get the rug pulled from under our feet... Please restore the ability to launch on iOS 12: this was working perfectly well less than a month ago with Xcode 26...
Replies
Boosts
Views
Activity
Apr ’26
Reply to 26.4 RC documentation omits Foundation?!
Yep, seeing the same thing. There's a lot of other stuff broken with Xcode 26.4. For example, the Swift symbol NSTextAttachment.character is gone and we have to use NSAttachmentCharacter which in turn produces an error when compiling with Xcode 26.3 and earlier. (FB22341879). And then there's the broken Claude Agent support which forces you to re-login every few hours. Paired with the fact that macOS 26.4 cannot run Address Sanitizer builds from Xcode 26.3 and earlier, and you thus HAVE to use Xcode 26.4, I'm very frustrated with Apple's software quality right now.
Replies
Boosts
Views
Activity
Apr ’26
Entitlement values for the Enhanced Security and the Additional Runtime Platform Restrictions
I recently turned on the enhanced security options for my macOS app in Xcode 26.0.1 by adding the Enhanced Security capability in the Signing and Capabilities tab. Then, Xcode adds the following key-value sets (with some other key-values) to my app's entitlements file. com.apple.security.hardened-process.enhanced-security-version 1 com.apple.security.hardened-process.platform-restrictions 2 These values appear following the documentation about the enhanced security feature (Enabling enhanced security for your app) and the app works without any issues. However, when I submitted a new version to the Mac App Store, my submission was rejected, and I received the following message from the App Review team via the App Store Connect. Guideline 2.4.5(i) - Performance Your app incorrectly implements sandboxing, or it contains one or more entitlements with invalid values. Please review the included entitlements and sandboxing documentation and resolve this issue before resubmitting a new binary. Entit
Replies
6
Boosts
0
Views
1.4k
Activity
Apr ’26
Agentic coding issues
Hi guys, Two annoying issues I'm having at the moment with agentic coding. Xcode signs out of Claude every single day and gives the error Failed to authenticate. API Error: 401. The only solution is go to settings and sign out of Claude and in again. Apple removed the little arrow to select the model, so now every time you start a new conversation you have to pick the model. I just want to start a new conversation with the model I'm using. The extra click is a time waster. Any solutions would be appreciated. Thanks
Replies
1
Boosts
0
Views
149
Activity
Apr ’26
Reply to Agentic coding issues
There are a couple of other threads on the OAuth issue. This morning I went into the Xcode components and uninstalled Claude Agent. Then I reinstalled it. SO FAR I haven't had a failed to authenticate, but it's too early to be sure.
Replies
Boosts
Views
Activity
Apr ’26
XCode 16 and iOS 12 support
Checking other posts iOS 12 should still be supported but the having upgraded an App in App Store it will not run on iOS 12 devices. Is there a trick to building for iOS12 support or has the goal post moved to iOS 15 which I find in specs for XCode
Replies
2
Boosts
0
Views
270
Activity
Apr ’26
Reply to XCode 16 and iOS 12 support
I’ve managed to run the Xcode 26.4 debugger with an app on an old iPhone 5s running 12.5.8 (though it failed for a different reason). The trick was to install a developer disk image for iOS 12.4. Since Xcode does not grab it from the old iPhone I found it on GitHub where someone collected these old images. You need to copy the dmg and signature to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport . Good luck.
Replies
Boosts
Views
Activity
Apr ’26
Reply to Entitlement values for the Enhanced Security and the Additional Runtime Platform Restrictions
It seems to be the same problem where the App Review automated system hasn't been updated to accept the new entitlements even though Xcode 26.4 has been out for more than a week now. I've raised FB22387339 for this. It actually was fixed, but then a different change reintroduced the same failure (r.173858947). It may take a day or two, but this should be sorted out soon. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’26
Reply to Xcode now hangs; SDKs are "status unavailable"
+1, this gave me a hard time when prewarming Xcode on our dedicated CI machines. Same symptoms, xcrun simctl unresponsive, Xcode showing unavailable status, hanged in overall. I can't really recall this happening ever before. 🤨
Replies
Boosts
Views
Activity
Apr ’26
Reply to App Startup with Debugger in Xcode 26 is slow
Hello, Can we have an update on the progress ? It's been several months, we're now at Xcode 26.5, and still no fix in sight for this issue. We are still stuck on Xcode 16 for any kind of device debugging and we are not alone...
Replies
Boosts
Views
Activity
Apr ’26