Search results for

Swift 6

49,210 results found

Post

Replies

Boosts

Views

Activity

Reply to Managing the order of Transparent Proxies from MDM Profile
We have a transparent proxy extension and a container app and both are written in swift. We use MDM for configuring the transparent proxy extension. Customer machine can have different product with another transparent proxy extension. This can be deployed via MDM or manual installation. Our requirement here is if a machine has more than one transparent proxy installed from multiple container apps(through multiple products), then is there any way we can control the order of receiving the network traffic to these transparent proxy extensions? If yes, how can we achieve this?
4w
Compile Failure on NSXPCInterface Initializer
I have a project that leverages XPC and has interoperability between Swift and Objective-C++. I am presently getting a compile-time error in one of our unit test targets, of Argument passed to call that takes no arguments on the following code: let interface = NSXPCInterface(with: XPCServiceDelegate.self) My XPCServiceDelegate protocol is defined as: @objc(XPCServiceDelegate) public protocol XPCServiceDelegate { //... } For the longest time, this code has compiled successfully, and it has not recently changed. There are two confusing things about this error. The first is that I have a different build scheme that will compile correctly other code with the same structure. The other is that I have team members that are able to compile my failing scheme successfully on the same XCode version, OSVersion, and branch of our repository. I've attempted numerous things to try to get this code to compile, but I've run out of ideas. Here's what I've tried: Clean build both on XCode 16.4 and XCode 26 Beta Delete
10
0
130
4w
Reply to Compile Failure on NSXPCInterface Initializer
Well, that’s interesting. I’ve seen a raft of weird problems with C++ interop, but this specific one doesn’t ring any bells. And it’s still weird that you only see it on one machine. I tried reproducing this with a simple test project here in my office — using both XCTest and Swift Testing — and couldn’t. But that’s not a big surprise because of the above-mentioned mystery. The next step is to start gutting your main app. That’ll either reveal more interesting info about what’s triggering the problem, or it’ll get you to a small test project that you can share with us for further analysis. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
4w
Reply to Requesting URL Filter capability
[quote='853507022, DTS Engineer, /thread/796679?answerId=853507022#853507022'] I thought we’d sorted that out already [/quote] I was right, but the info is tucked away: The PIR side of this is documented in the PIRService open source Swift package. The How to onboard with an Oblivious HTTP relay hosted by Apple section has links to the submissions forms. Scroll down to the bottom. Oh, and don’t forget to post a bug about regarding your inability to filer locally on the Mac. I’d like to get that sorted out. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
4w
Reply to Crash when assigning NSImage to `@objc dynamic var` property
I don't understand. Aren't all these tools you mention (Zombies instrument, ASan, Main Thread Checker etc.) meant to be run in Xcode or Instruments? Or are you saying I should enable some compiler flag in my production build? They're intended to run in your development build. Let me jump back to what you're saying here: since the crash reports are downloaded by Xcode from other users and I cannot reproduce it myself... What you're saying here is testing in Xcode won't help because I can't reproduce the issue. The problem with that statement is that it misunderstands how the tools above actually work. They don't just provide better diagnostic data about a crash that would otherwise occur, they actually CREATE crashes that would otherwise NOT occur. Jumping back to my description here: However, what the Zombies instrument actually does is modify the dealloc method so that freeing an object doesn't ACTUALLY free that object, but instead replaces it with an intentionally invalid object (the zombie). That means th
Topic: UI Frameworks SubTopic: AppKit Tags:
4w
iOS 26 Beta 6 in Simulator
Is iOS 26 Beta 6 available in the iOS Simulator? I saw that the latest betas launched earlier this week. I updated my dev machine to macOS 26 Beta 6, however this release had no corresponding Xcode 26 Beta 6. So I am still running Xcode Beta 5 and when I go into Settings -> Components within Xcode there is no option to install iOS 26 Beta 6. It's still running Beta 5 for macOS and iOS. Is that correct? My current assumption is that iOS Beta 6 is for physical devices only?
1
0
126
4w
Reply to iOS 26 Beta 6 in Simulator
Presumably Xcode 26 beta 6 will be released next Tuesday and that should support iOS 26 beta 6. It’s unusual that Apple released iOS 26 beta 6 only a week after beta 5 and likely a week before Xcode 26 beta 6 comes out. In short, no there is no iOS 26 beta 6 simulator yet.
4w
Launching a Sequel That Shares Code/Assets With Original App – Any Platform Conflicts?
Hello! I recently transferred ownership of an old game (hasn't been updated for 6+ years) to my developer account. Since then, I’ve been working on a sequel to the original, but with significant changes. This new title: Is fully redesigned into a a new gameplay experience, metagame systems, progression Has a revamped UI and UX Uses some shared code and assets from the original game that are the underlying game mechanics (previous game was endless in each run, this game has hundreds of levels on top of a new roguelike system with hundreds of unlocks) My question is: If I launch this as a new app as a sequel while keeping the original live on the App Store, will there be any potential conflicts from a platform or policy standpoint — especially considering the shared backend, assets, and art? I want to be sure I’m not violating any platform rules related to duplicate or derivative apps, especially since both would be live simultaneously and serve different gameplay purposes. Any insight from Apple staff
1
0
66
Aug ’25
Reply to How to listen for QUIC connections using the new NetworkListener in iOS 26?
@DTS Engineer I was hoping the evolution of the relationship of QUIC and the new API you mentioned would happen during the 26 beta period. But at this point it seems that it will be impossible to receive QUIC connections using the new APIs in iOS/iPadOS 26 and I'll likely have to wait another year or hope for changes in a dot release? As far as I can tell there have been no changes to the API in this respect as of beta 6, correct?
4w