Search results for

“xcode github”

95,431 results found

Post

Replies

Boosts

Views

Activity

Notarization Always Fails, Now Stuck at Max Certificates, Can't Delete
Every recent attempt to create a Installer certificate has failed, and now we've hit the maximum. We can't revoke them either — the portal only shows Download, not Revoke. Xcode also fails with: Signing Certificates Error: There is a problem with the request entity. You already have a current Developer certificate or pending certificate request. This is completely blocking notarization and distribution of our macOS app. Has anyone resolved this, or does it require Apple to intervene on the backend? (This is a relatively new issue, we have successfully done this in the past hundreds of times over the years.)
3
0
136
3w
Reply to No Universal for Map App project with Tahoe
Builds Settings -> All -> Architectures: “Standard Architectures (Apple Silicon, Intel) - $(ARCHS_STANDARD) for both Debug and Release Builds Settings -> All -> Build Active Architecture Only: “No” for both Debug and Release Reinstall MacOS 26.1, Xcode 26.2. Same result: no Universal, only one platform (Silicon or Intel, never both)
3w
Reply to No Universal for Map App project with Tahoe
Thanks for your post. This is very interesting but I also think we have released many news about why Xcode does not say universal on the template even though they are all universal depending on your target. This thread should be utilized by other developers to provide links to Apple News and videos that explain the path forward. I extend an invitation to anyone who possesses resources and links. I know is confusing if the Xcode template does not say universal, but is all about the target and I would prefer you think about the target after you create the app, so this is still relevant: https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary There is an announcement in this WWDC video about the platforms we are supporting I would recommend you to watch as will answer many questions. Platforms State of the Union - WWDC25 - VideosApple Developerhttps://developer.apple.com · Jun 9, 2025 https://developer.apple.com/videos/play/wwdc2025/102/ The steps outlined belo
3w
Query with predicate in child view running too frequently.
I'm trying to determine if this is expected swiftui behavior or an issue with SwiftUI/Data which needs a feedback request... When a child view has a Query containing a filter predicate, the query is run with each and every edit of the parent view, even when the edit has no impact on the child view (e.g. bindings not changing). In the example below, ContentView has the TextField name, and while data is being entered in it, causes the Query in AddTestStageView to be run with each character typed, e.g. 30 characters result in 30 query executions. (Need -com.apple.CoreData.SQLDebug 1 launch argument to see SQL output). Removing the filter predicate from the query and filtering in ForEach prevents the issue. In my actual use case, the query has a relatively small result set (<100 rows), but I can see this as a performance issue with the larger result sets. xcode/ios: 26.2 Repro example code: import SwiftUI import SwiftData // Repro to Query filter issue in child view running multiple time unexpectedly
1
0
80
3w
CoreML Instrument Testing Native Clawbot using FM.SyML & OAIC & Diffusion
After running performance test on my CoreML qwen3 vision, I appreciated the update where results were viewable... ON Mac it mentions Ios18 and im not sure if or how to change.. that bottle neck lead to rebuilding CoreML view. I woke up and realized I have all the pieces together... and ended up with a swift package working demo of Clawbot.. the current issue is Im trying to use gguf 3b to code it.. I have become well aware that everything I create using the big models, they soon become the default themes /layouts for everyone else simply asking for this or that (I appoligise) so here I am asking (while looking to schedule meet with dev) if its possible to speak with anyone about th 1000s of Apple Intelligence PCC, Xcode, and vision reports and feedback ive sent , in terms of just general ways I can work more efficiently without the crash... ive already build a TUI for MLX but the tools for coreML while seems promising are not intuitive, but the vision format instruction was nice to see. Anyway my que
0
0
86
3w
Reply to What Should the iOS Deployment Target Be?
While Foundation Models framework can only run on iOS 26.0 or newer, whether you want to set your deployment target to 26.0 is up to you. If you want to keep your app's target at 18.1 for backwards compatibility for people using an older OS, you can use #available checks to gate certain functionality to be available only for iOS 26.0 or newer. Meaning people using an older OS won't get Foundation Models features, but people using a compatible OS will. This article here explains how to do it: https://developer.apple.com/documentation/xcode/running-code-on-a-specific-version
3w
Translation framework use in Swift 6
I’m trying to integrate Apple’s Translation framework in a Swift 6 project with Approachable Concurrency enabled. I’m following the code here: https://developer.apple.com/documentation/translation/translating-text-within-your-app#Offer-a-custom-translation And, specifically, inside the following code .translationTask(configuration) { session in do { // Use the session the task provides to translate the text. let response = try await session.translate(sourceText) // Update the view with the translated result. targetText = response.targetText } catch { // Handle any errors. } } On the try await session.translate(…) line, the compiler complains that “Sending ‘session’ risks causing data races”. Extended error message: Sending main actor-isolated 'session' to @concurrent instance method 'translate' risks causing data races between @concurrent and main actor-isolated uses I’ve downloaded Apple’s sample code (at the top of linked webpage), it compiles fine as-is on Xcode 26.4, but fails with the same error
4
0
270
3w
Reply to Can NWConnection.receive(minimumIncompleteLength:maximumLength:) return nil data for UDP while connection remains .ready?
The receive(minimumIncompleteLength:maximumLength:completion:) has a lot of options and it works with many different protocols. Given that, coming up with a definitive table of what it will do in every possible case is hard, and I’ve never seen that officially documented in sufficient detail [1]. Given that, I generally stick with protocol-specific recipes: For stream-based protocols, like TCP, I use receive(minimumIncompleteLength:maximumLength:completion:) and then, in the completion handler, I process: The data first, if there is any Then the error, if there is one For UDP, I always use receiveMessage(completion:). This is a great option because UDP datagrams have a limited size that easily fits in memory. For message-based protocols without that convenient limit, things get tricky. You have to use receive(minimumIncompleteLength:maximumLength:completion:) but you then need to worry about the isComplete Boolean and potentially the context. Fortunately, these cases are rare [2]. Notably, this approach is co
3w
Reply to Title: Developer ID + DNS Proxy system extension: profile mismatch for `com.apple.developer.networking.networkextension`
As a follow‑up for anyone hitting the same issue: Per Quinn’s advice, I switched to manual signing outside Xcode and followed the “Exporting a Developer ID Network Extension” guidance. The code signing / notarization side now looks correct and works locally: Host app and DNS Proxy system extension are both signed with Developer ID Application for our team (for example, TEAMID1234). com.apple.developer.networking.networkextension in both host and system extension entitlements uses `dns-proxy-systemextension. The app bundle identifier is com.myapp.agent.MyProxy. The installer pkg is signed with Developer ID Installer: MyApp Inc (TEAMID1234), notarized with notarytool (status: Accepted), stapled, and passes `pkgutil --check-signature. On the test Mac (macOS 14.4, Apple Silicon), sudo installer -pkg MyProxy_…pkg -target / succeeds, the app appears in/Applications, and spctl --assess -vvv -t exec reportssource=Notarized Developer ID`. The app launches and the DNS Proxy system extension runs (any
3w
Reply to init?(coder: NSCoder) or init?(coder: (NSCoder?))
Swift’s superclass initialisation rules are complex, so it’s hard to answer questions like this without seeing a concrete example. Anyway, I most commonly see folks hit this when they’re creating a Cocoa view, so let’s look at that: import AppKit class MyView: NSView { var counter: Int override init(frame: NSRect) { self.counter = 0 super.init(frame: frame) } required init?(coder: NSCoder) { super.init(coder: coder) // ^ Property 'self.counter' not initialized at super.init call self.counter = 0 // A } } This fails because you have to initialise counter before calling super. Moving line A up a line fixes the problem. If you have an example of the other behaviour, please share it. Oh, and this was Xcode 26.2 with the macOS 26.2 SDK. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Programming Languages SubTopic: Swift Tags:
3w
Reply to XCode Simulator Run Destination
[quote='816773021, millerswiftdev, /thread/816773, /profile/millerswiftdev'] Does this mean Mac Catalyst … ? [/quote] No. [quote='816773021, millerswiftdev, /thread/816773, /profile/millerswiftdev'] Does this mean … a iPad VM? [/quote] No. There’s no supported virtualisation mechanism for iPad. If you build in Xcode, you should expect that your submission will be run on the simulator. We call that out in the Swift Student Challenge Submission submission form. You can assume that the Xcode and simulator versions will be 26 or later, so it’s fine to use iOS 26 APIs. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
3w
Swift Student Challenge 2026 submission format
Hello, I built my app in Xcode and used IOS 26 latest frameworks like Foundation Models. But some of this frameworks don't work properly in Swift Playground(MyApp.swiftpm) and cause crashes. My question is can I submit a MyApp.xcodeproj file and choose Xcode 26 as a software to run my app ? Thank you in advance.
Replies
1
Boosts
0
Views
165
Activity
3w
Notarization Always Fails, Now Stuck at Max Certificates, Can't Delete
Every recent attempt to create a Installer certificate has failed, and now we've hit the maximum. We can't revoke them either — the portal only shows Download, not Revoke. Xcode also fails with: Signing Certificates Error: There is a problem with the request entity. You already have a current Developer certificate or pending certificate request. This is completely blocking notarization and distribution of our macOS app. Has anyone resolved this, or does it require Apple to intervene on the backend? (This is a relatively new issue, we have successfully done this in the past hundreds of times over the years.)
Replies
3
Boosts
0
Views
136
Activity
3w
Reply to No Universal for Map App project with Tahoe
Builds Settings -> All -> Architectures: “Standard Architectures (Apple Silicon, Intel) - $(ARCHS_STANDARD) for both Debug and Release Builds Settings -> All -> Build Active Architecture Only: “No” for both Debug and Release Reinstall MacOS 26.1, Xcode 26.2. Same result: no Universal, only one platform (Silicon or Intel, never both)
Replies
Boosts
Views
Activity
3w
Reply to No Universal for Map App project with Tahoe
Thanks for your post. This is very interesting but I also think we have released many news about why Xcode does not say universal on the template even though they are all universal depending on your target. This thread should be utilized by other developers to provide links to Apple News and videos that explain the path forward. I extend an invitation to anyone who possesses resources and links. I know is confusing if the Xcode template does not say universal, but is all about the target and I would prefer you think about the target after you create the app, so this is still relevant: https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary There is an announcement in this WWDC video about the platforms we are supporting I would recommend you to watch as will answer many questions. Platforms State of the Union - WWDC25 - VideosApple Developerhttps://developer.apple.com · Jun 9, 2025 https://developer.apple.com/videos/play/wwdc2025/102/ The steps outlined belo
Replies
Boosts
Views
Activity
3w
Reply to Can my submission be ran on iPhone?
@Simpson3568 I am not sure but as per my knowledge submissions created with swift playground can be run on ( or will be run on ) iPad, whereas playgrounds created using Xcode will be run on iOS simulator. For more clarity please read the swift student challenge page on apple developer's website.
Replies
Boosts
Views
Activity
3w
Query with predicate in child view running too frequently.
I'm trying to determine if this is expected swiftui behavior or an issue with SwiftUI/Data which needs a feedback request... When a child view has a Query containing a filter predicate, the query is run with each and every edit of the parent view, even when the edit has no impact on the child view (e.g. bindings not changing). In the example below, ContentView has the TextField name, and while data is being entered in it, causes the Query in AddTestStageView to be run with each character typed, e.g. 30 characters result in 30 query executions. (Need -com.apple.CoreData.SQLDebug 1 launch argument to see SQL output). Removing the filter predicate from the query and filtering in ForEach prevents the issue. In my actual use case, the query has a relatively small result set (<100 rows), but I can see this as a performance issue with the larger result sets. xcode/ios: 26.2 Repro example code: import SwiftUI import SwiftData // Repro to Query filter issue in child view running multiple time unexpectedly
Replies
1
Boosts
0
Views
80
Activity
3w
Reply to What Should the iOS Deployment Target Be?
Looking at the policy, requirements are for Swift Playground 4.6 or Xcode 26 https://developer.apple.com/swift-student-challenge/policy/ No iOS is specified on that document. I would set the minimum iOS required the Xcode and Swift Playground allow you to set your needs. Albert Pascual
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
3w
CoreML Instrument Testing Native Clawbot using FM.SyML & OAIC & Diffusion
After running performance test on my CoreML qwen3 vision, I appreciated the update where results were viewable... ON Mac it mentions Ios18 and im not sure if or how to change.. that bottle neck lead to rebuilding CoreML view. I woke up and realized I have all the pieces together... and ended up with a swift package working demo of Clawbot.. the current issue is Im trying to use gguf 3b to code it.. I have become well aware that everything I create using the big models, they soon become the default themes /layouts for everyone else simply asking for this or that (I appoligise) so here I am asking (while looking to schedule meet with dev) if its possible to speak with anyone about th 1000s of Apple Intelligence PCC, Xcode, and vision reports and feedback ive sent , in terms of just general ways I can work more efficiently without the crash... ive already build a TUI for MLX but the tools for coreML while seems promising are not intuitive, but the vision format instruction was nice to see. Anyway my que
Replies
0
Boosts
0
Views
86
Activity
3w
Reply to What Should the iOS Deployment Target Be?
While Foundation Models framework can only run on iOS 26.0 or newer, whether you want to set your deployment target to 26.0 is up to you. If you want to keep your app's target at 18.1 for backwards compatibility for people using an older OS, you can use #available checks to gate certain functionality to be available only for iOS 26.0 or newer. Meaning people using an older OS won't get Foundation Models features, but people using a compatible OS will. This article here explains how to do it: https://developer.apple.com/documentation/xcode/running-code-on-a-specific-version
Replies
Boosts
Views
Activity
3w
Reply to DeviceActivityReportExtension: NSExtensionPrincipalClass required by App Store but rejected at runtime
@DTS Engineer I'm experiencing the exact same issue. Is there a fix planned for this? Environment: Xcode 26.2 (24553) (Build 17C52) iOS tested: 18.7.2 and 26.3
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
3w
Translation framework use in Swift 6
I’m trying to integrate Apple’s Translation framework in a Swift 6 project with Approachable Concurrency enabled. I’m following the code here: https://developer.apple.com/documentation/translation/translating-text-within-your-app#Offer-a-custom-translation And, specifically, inside the following code .translationTask(configuration) { session in do { // Use the session the task provides to translate the text. let response = try await session.translate(sourceText) // Update the view with the translated result. targetText = response.targetText } catch { // Handle any errors. } } On the try await session.translate(…) line, the compiler complains that “Sending ‘session’ risks causing data races”. Extended error message: Sending main actor-isolated 'session' to @concurrent instance method 'translate' risks causing data races between @concurrent and main actor-isolated uses I’ve downloaded Apple’s sample code (at the top of linked webpage), it compiles fine as-is on Xcode 26.4, but fails with the same error
Replies
4
Boosts
0
Views
270
Activity
3w
Reply to Can NWConnection.receive(minimumIncompleteLength:maximumLength:) return nil data for UDP while connection remains .ready?
The receive(minimumIncompleteLength:maximumLength:completion:) has a lot of options and it works with many different protocols. Given that, coming up with a definitive table of what it will do in every possible case is hard, and I’ve never seen that officially documented in sufficient detail [1]. Given that, I generally stick with protocol-specific recipes: For stream-based protocols, like TCP, I use receive(minimumIncompleteLength:maximumLength:completion:) and then, in the completion handler, I process: The data first, if there is any Then the error, if there is one For UDP, I always use receiveMessage(completion:). This is a great option because UDP datagrams have a limited size that easily fits in memory. For message-based protocols without that convenient limit, things get tricky. You have to use receive(minimumIncompleteLength:maximumLength:completion:) but you then need to worry about the isComplete Boolean and potentially the context. Fortunately, these cases are rare [2]. Notably, this approach is co
Replies
Boosts
Views
Activity
3w
Reply to Title: Developer ID + DNS Proxy system extension: profile mismatch for `com.apple.developer.networking.networkextension`
As a follow‑up for anyone hitting the same issue: Per Quinn’s advice, I switched to manual signing outside Xcode and followed the “Exporting a Developer ID Network Extension” guidance. The code signing / notarization side now looks correct and works locally: Host app and DNS Proxy system extension are both signed with Developer ID Application for our team (for example, TEAMID1234). com.apple.developer.networking.networkextension in both host and system extension entitlements uses `dns-proxy-systemextension. The app bundle identifier is com.myapp.agent.MyProxy. The installer pkg is signed with Developer ID Installer: MyApp Inc (TEAMID1234), notarized with notarytool (status: Accepted), stapled, and passes `pkgutil --check-signature. On the test Mac (macOS 14.4, Apple Silicon), sudo installer -pkg MyProxy_…pkg -target / succeeds, the app appears in/Applications, and spctl --assess -vvv -t exec reportssource=Notarized Developer ID`. The app launches and the DNS Proxy system extension runs (any
Replies
Boosts
Views
Activity
3w
Reply to init?(coder: NSCoder) or init?(coder: (NSCoder?))
Swift’s superclass initialisation rules are complex, so it’s hard to answer questions like this without seeing a concrete example. Anyway, I most commonly see folks hit this when they’re creating a Cocoa view, so let’s look at that: import AppKit class MyView: NSView { var counter: Int override init(frame: NSRect) { self.counter = 0 super.init(frame: frame) } required init?(coder: NSCoder) { super.init(coder: coder) // ^ Property 'self.counter' not initialized at super.init call self.counter = 0 // A } } This fails because you have to initialise counter before calling super. Moving line A up a line fixes the problem. If you have an example of the other behaviour, please share it. Oh, and this was Xcode 26.2 with the macOS 26.2 SDK. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
3w
Reply to XCode Simulator Run Destination
[quote='816773021, millerswiftdev, /thread/816773, /profile/millerswiftdev'] Does this mean Mac Catalyst … ? [/quote] No. [quote='816773021, millerswiftdev, /thread/816773, /profile/millerswiftdev'] Does this mean … a iPad VM? [/quote] No. There’s no supported virtualisation mechanism for iPad. If you build in Xcode, you should expect that your submission will be run on the simulator. We call that out in the Swift Student Challenge Submission submission form. You can assume that the Xcode and simulator versions will be 26 or later, so it’s fine to use iOS 26 APIs. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
3w