Search results for

“build disappears”

51,299 results found

Post

Replies

Boosts

Views

Activity

Understanding CMIO Extension
Hello, I am getting the following errors when building a Mac Camera Extension with web sockets. I am using URLSessionWebsocketTask as my web socket library. I built a test program for my code and in there I can see my web sockets are working properly, but when I run it from the System Extension I get the following errors. The socket opens for two - three messages then crashes. I couldnt find any documentation online for the following errors CMIOExtensionProvider.m:1975:-[CMIOExtensionProvider removeProviderContext:]_block_invoke Unregistered provider context <CMIOExtensionProviderContext: ->, don't be surprised if things go badly CMIOExtensionProviderContext.m:64:-[CMIOExtensionProviderContext initWithConnection:]_block_invoke [391] received Connection invalid``
7
0
2.3k
Mar ’26
macOS 26.4 Beta breaks keyboard remapping for built-in MacBook keyboards – significant ecosystem impact
Since macOS 26.4 Beta 1, virtual HID devices created via DriverKit can no longer intercept key events from the built-in MacBook keyboard. External keyboards still work. This is confirmed and tracked here: https://github.com/pqrs-org/Karabiner-Elements/issues/4402 One possible lead (from LLM-assisted analysis of Apple's open-source IOHIDFamily code and cross-referencing community reports): macOS 26.4 Beta may have introduced or modified a security policy referred to as com.apple.iohid.protectedDeviceAccess, which could block IOHIDDeviceOpen for the Apple Internal Keyboard connected via SPI transport (AppleHIDTransportHIDDevice). This appears related to a GamePolicy check in IOHIDDeviceClass.m that gates whether processes can open HID devices. This has not been independently verified and may or may not be the root cause. This has far-reaching consequences. Karabiner-Elements alone has over 21,000 GitHub stars and is used by hundreds of thousands of macOS users for keyboard customization, accessibility workflows
1
0
159
Mar ’26
Reply to Migrating away from SMJobBless
Sorry for the noise. I had forgotten to add '.plist' to the id when running launchctl unload. All fixed now. The root process is started from AuthorizationExecuteWithPrivileges and then a setuid(0) before running launchctl. I know that's frowned upon but hopefully by the time the deprecated call disappears any affected users will have already updated :)
Mar ’26
Reply to Sharing all container content
You are right that there is no way to share a ClodKit database. An owner can only share a custom record zone in their private database. The default record zone doesn’t support sharing, mentioned here. To share the whole content of a cloudkit database, the following may be worth considering : When an owner shares a custom record zone, all the data in the record zone is shared, and so you an share your dataset by putting the dataset into the zone. All your app users have access to the public database of your CloudKit container, and you can build your own user management system to control the access. Based on this, you might be able to share your data by using the public database instead. To get more information about CloudKit sharing, you might go through this sample code. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Mar ’26
Reply to FileManager.replaceItemAt(_:withItemAt:) fails sporadically on ubiquitous items
I hadn’t filed a bug report yet because I had assumed it was something I was doing wrong, given that using replaceItem and a temporary folder is presumably a common pattern. I’ll file a report tomorrow - I’m following the iCloud Drive profile instructions you linked to and am now waiting the 24 hours they say I need to wait before I can get the sysdiagnose. Once I have that, I’ll file the report along with a sample project. Perfect, thank you. ...using replaceItem and a temporary folder is presumably a common pattern I didn't get into it above, but there very likely are some nuances/details involved that are a contributing factor. For example, I suspect this doesn't happen if you start with a security-scoped bookmark, which you resolve to a bookmark before each save. I think NSDocument's default implementation also writes out a new file before each save, which means it's always starting with a new URL. That doesn't mean there's anything wrong with what you're doing, but that's probably why this isn't more wid
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’26
Reply to TextKit 2 + SwiftUI (NSViewRepresentable): NSTextLayoutManager rendering attributes don’t reliably draw/update
I'd like to start with pointing you the following pure SwiftUI TextEditor sample, which may be good enough if your intent is to highlight a range of text (and do basic text editing) in a SwiftUI app: Building rich SwiftUI text experiences. If you do need TextKit 2 for other reasons, I'd suggest that you provide a minimal project that demonstrates the issue for folks to take a closer look. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’26
Internal inconsistency in menus - menu warnings...
I get warnings like this on each project I build while debugging.. Internal inconsistency in menus - menu Title: Help Supermenu: 0x8b4b49f80 (Main Menu), autoenable: YES Previous menu: 0x0 (None) Next menu: 0x0 (None) Items: ( ) believes it has Title: Main Menu Supermenu: 0x0 (None), autoenable: YES Previous menu: 0x0 (None) Next menu: 0x0 (None) Items: ( ) as a supermenu, but the supermenu does not seem to have any item with that submenu What am I doing wrong? I get these errors even if I create a default app with no code?
Topic: UI Frameworks SubTopic: AppKit
5
0
219
Mar ’26
`sysextd` rejects new `NEFilterDataProvider` activation with "no policy" on macOS 26 — despite valid Developer ID + notarization
I'm building a macOS network monitor using NEFilterDataProvider as a system extension, distributed with Developer ID signing. On macOS 26.3 (Tahoe), sysextd consistently rejects the activation request with no policy, cannot allow apps outside /Applications — despite the app being in /Applications and passing every verification check. I'm aware of the known Xcode NE signing bug (r. 108838909) and have followed the manual signing process from Exporting a Developer ID Network Extension. I've also tried both xcodebuild build and xcodebuild archive workflows — identical failure. Environment macOS 26.3 (25D125), SIP enabled Xcode 26.3 (17C529) Hardware Apple M2 Pro Certificate Developer ID Application (issued Jan 30, 2026 — 27 days old) MDM/Profiles None installed Signing & Verification (all pass) $ spctl -a -vv /Applications/Chakshu.app /Applications/Chakshu.app: accepted source=Notarized Developer ID origin=Developer ID Application: ROBIN SHARMA (R65679C4F3) $ codesign --verify --deep --stri
5
0
183
Mar ’26
Reply to Trapped in a "Black Box": Almost 3 weeks of App Review silence and ignored support tickets. Is this normal?
Hi there @VulcanCCIT , thanks for sharing your timeline. Honestly, you should celebrate that 36-hour turnaround for your iOS build! That is incredibly fast and exactly how the process should work. Unfortunately, my massive delay is specifically for an iOS build, and as of today, I am officially starting my fourth week of waiting. What makes this even more frustrating is that this isn't a new app submission. I have successfully submitted and released over 25 versions of this exact app in the past. Historically, my absolute longest wait was 6 days during the New Year holidays, but it normally takes just 1-2 days. To suddenly hit a 3+ week wall is clearly abnormal. What's worse is Apple's complete silence — ignoring all my tickets, expedited requests, and calls. It is absolutely irresponsible on their end to leave developers completely in the dark for nearly a month with zero communication. I hope your Mac version gets sorted out soon, but definitely consider yourself very lucky on the iOS side
Mar ’26
Reply to Pentesting modern iOS versions
First up, I want to make sure you’re aware of this: Apple Security Research Device Program But as to your specific situation, you could work with your customers to get builds of their app that are more amenable to your testing. For example, a development-signed build, with the get-task-allow entitlement, will allow you to attach with the debugger. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Mar ’26
Swift Student Challenge environment selection question (iOS 26)
Hello, I recently submitted my Swift Student Challenge app playground (“Crest”) and realized after submission that I accidentally selected Swift Playgrounds as the software to run it, instead of Xcode 26 or later. My project builds and runs successfully in Xcode 26 using the iOS 26 SDK and simulator. However, when opening the same .swiftpm project in the Swift Playgrounds app on iPad, it does not compile because Swift Playgrounds currently only supports up to iOS 18 SDK and does not support iOS 26 APIs. The submission itself is complete, builds correctly in Xcode, and was submitted before the deadline. The incorrect selection of Swift Playgrounds was an honest mistake during the submission process. I wanted to ask whether reviewers are able to run the submission using Xcode 26 in cases like this, or if there is anything I should do. Thank you very much for your time.
1
0
297
Mar ’26
Which tools and concepts are essential to learn first in iOS development?
I’m beginning my journey in iOS app development with a strong Java background and an app idea in mind, and I want to learn the best practices, tools, and workflows to build it the right way from the start. I’d appreciate guidance on useful AI tools for coding and learning Swift or SwiftUI, how developers approach app design, and recommended sources for UI inspiration, graphics, and overall development tips.
2
0
62
Mar ’26
Reply to "Unable to Redeem" when downloading approved 1.0 app via promo code
I have a second app which is already live on the App Store. I pushed an update to this app, and it was approved and is Pending Developer Release. I generated a promo code, and redeemed it. It worked fine. So, maybe the Pending Developer Release -> Promo Code method for giving media access to your prerelease 1.0 builds no longer works. Apple: Please document this!
Mar ’26
Understanding CMIO Extension
Hello, I am getting the following errors when building a Mac Camera Extension with web sockets. I am using URLSessionWebsocketTask as my web socket library. I built a test program for my code and in there I can see my web sockets are working properly, but when I run it from the System Extension I get the following errors. The socket opens for two - three messages then crashes. I couldnt find any documentation online for the following errors CMIOExtensionProvider.m:1975:-[CMIOExtensionProvider removeProviderContext:]_block_invoke Unregistered provider context <CMIOExtensionProviderContext: ->, don't be surprised if things go badly CMIOExtensionProviderContext.m:64:-[CMIOExtensionProviderContext initWithConnection:]_block_invoke [391] received Connection invalid``
Replies
7
Boosts
0
Views
2.3k
Activity
Mar ’26
macOS 26.4 Beta breaks keyboard remapping for built-in MacBook keyboards – significant ecosystem impact
Since macOS 26.4 Beta 1, virtual HID devices created via DriverKit can no longer intercept key events from the built-in MacBook keyboard. External keyboards still work. This is confirmed and tracked here: https://github.com/pqrs-org/Karabiner-Elements/issues/4402 One possible lead (from LLM-assisted analysis of Apple's open-source IOHIDFamily code and cross-referencing community reports): macOS 26.4 Beta may have introduced or modified a security policy referred to as com.apple.iohid.protectedDeviceAccess, which could block IOHIDDeviceOpen for the Apple Internal Keyboard connected via SPI transport (AppleHIDTransportHIDDevice). This appears related to a GamePolicy check in IOHIDDeviceClass.m that gates whether processes can open HID devices. This has not been independently verified and may or may not be the root cause. This has far-reaching consequences. Karabiner-Elements alone has over 21,000 GitHub stars and is used by hundreds of thousands of macOS users for keyboard customization, accessibility workflows
Replies
1
Boosts
0
Views
159
Activity
Mar ’26
Reply to Migrating away from SMJobBless
Sorry for the noise. I had forgotten to add '.plist' to the id when running launchctl unload. All fixed now. The root process is started from AuthorizationExecuteWithPrivileges and then a setuid(0) before running launchctl. I know that's frowned upon but hopefully by the time the deprecated call disappears any affected users will have already updated :)
Replies
Boosts
Views
Activity
Mar ’26
Reply to Sharing all container content
You are right that there is no way to share a ClodKit database. An owner can only share a custom record zone in their private database. The default record zone doesn’t support sharing, mentioned here. To share the whole content of a cloudkit database, the following may be worth considering : When an owner shares a custom record zone, all the data in the record zone is shared, and so you an share your dataset by putting the dataset into the zone. All your app users have access to the public database of your CloudKit container, and you can build your own user management system to control the access. Based on this, you might be able to share your data by using the public database instead. To get more information about CloudKit sharing, you might go through this sample code. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
Mar ’26
Reply to I need a coding design team.
Publish like uploading on the app store, or do you mean build
Topic: Design SubTopic: General
Replies
Boosts
Views
Activity
Mar ’26
Reply to FileManager.replaceItemAt(_:withItemAt:) fails sporadically on ubiquitous items
I hadn’t filed a bug report yet because I had assumed it was something I was doing wrong, given that using replaceItem and a temporary folder is presumably a common pattern. I’ll file a report tomorrow - I’m following the iCloud Drive profile instructions you linked to and am now waiting the 24 hours they say I need to wait before I can get the sysdiagnose. Once I have that, I’ll file the report along with a sample project. Perfect, thank you. ...using replaceItem and a temporary folder is presumably a common pattern I didn't get into it above, but there very likely are some nuances/details involved that are a contributing factor. For example, I suspect this doesn't happen if you start with a security-scoped bookmark, which you resolve to a bookmark before each save. I think NSDocument's default implementation also writes out a new file before each save, which means it's always starting with a new URL. That doesn't mean there's anything wrong with what you're doing, but that's probably why this isn't more wid
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’26
Reply to RealityKit animation with bindTarget: .opacity doesn't work
Thanks. Using AnimationResource.generate(with:) rather than AnimationResource.makeActionAnimation(for:duration:bindTarget:) solves the issue (and setting a material makes sure that the sphere actually fades out and doesn't just disappear at the end). I don't understand the difference though, the two lines of code seem almost identical to me.
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Mar ’26
Reply to TextKit 2 + SwiftUI (NSViewRepresentable): NSTextLayoutManager rendering attributes don’t reliably draw/update
I'd like to start with pointing you the following pure SwiftUI TextEditor sample, which may be good enough if your intent is to highlight a range of text (and do basic text editing) in a SwiftUI app: Building rich SwiftUI text experiences. If you do need TextKit 2 for other reasons, I'd suggest that you provide a minimal project that demonstrates the issue for folks to take a closer look. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’26
Internal inconsistency in menus - menu warnings...
I get warnings like this on each project I build while debugging.. Internal inconsistency in menus - menu Title: Help Supermenu: 0x8b4b49f80 (Main Menu), autoenable: YES Previous menu: 0x0 (None) Next menu: 0x0 (None) Items: ( ) believes it has Title: Main Menu Supermenu: 0x0 (None), autoenable: YES Previous menu: 0x0 (None) Next menu: 0x0 (None) Items: ( ) as a supermenu, but the supermenu does not seem to have any item with that submenu What am I doing wrong? I get these errors even if I create a default app with no code?
Topic: UI Frameworks SubTopic: AppKit
Replies
5
Boosts
0
Views
219
Activity
Mar ’26
`sysextd` rejects new `NEFilterDataProvider` activation with "no policy" on macOS 26 — despite valid Developer ID + notarization
I'm building a macOS network monitor using NEFilterDataProvider as a system extension, distributed with Developer ID signing. On macOS 26.3 (Tahoe), sysextd consistently rejects the activation request with no policy, cannot allow apps outside /Applications — despite the app being in /Applications and passing every verification check. I'm aware of the known Xcode NE signing bug (r. 108838909) and have followed the manual signing process from Exporting a Developer ID Network Extension. I've also tried both xcodebuild build and xcodebuild archive workflows — identical failure. Environment macOS 26.3 (25D125), SIP enabled Xcode 26.3 (17C529) Hardware Apple M2 Pro Certificate Developer ID Application (issued Jan 30, 2026 — 27 days old) MDM/Profiles None installed Signing & Verification (all pass) $ spctl -a -vv /Applications/Chakshu.app /Applications/Chakshu.app: accepted source=Notarized Developer ID origin=Developer ID Application: ROBIN SHARMA (R65679C4F3) $ codesign --verify --deep --stri
Replies
5
Boosts
0
Views
183
Activity
Mar ’26
Reply to Trapped in a "Black Box": Almost 3 weeks of App Review silence and ignored support tickets. Is this normal?
Hi there @VulcanCCIT , thanks for sharing your timeline. Honestly, you should celebrate that 36-hour turnaround for your iOS build! That is incredibly fast and exactly how the process should work. Unfortunately, my massive delay is specifically for an iOS build, and as of today, I am officially starting my fourth week of waiting. What makes this even more frustrating is that this isn't a new app submission. I have successfully submitted and released over 25 versions of this exact app in the past. Historically, my absolute longest wait was 6 days during the New Year holidays, but it normally takes just 1-2 days. To suddenly hit a 3+ week wall is clearly abnormal. What's worse is Apple's complete silence — ignoring all my tickets, expedited requests, and calls. It is absolutely irresponsible on their end to leave developers completely in the dark for nearly a month with zero communication. I hope your Mac version gets sorted out soon, but definitely consider yourself very lucky on the iOS side
Replies
Boosts
Views
Activity
Mar ’26
Reply to Pentesting modern iOS versions
First up, I want to make sure you’re aware of this: Apple Security Research Device Program But as to your specific situation, you could work with your customers to get builds of their app that are more amenable to your testing. For example, a development-signed build, with the get-task-allow entitlement, will allow you to attach with the debugger. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Mar ’26
Swift Student Challenge environment selection question (iOS 26)
Hello, I recently submitted my Swift Student Challenge app playground (“Crest”) and realized after submission that I accidentally selected Swift Playgrounds as the software to run it, instead of Xcode 26 or later. My project builds and runs successfully in Xcode 26 using the iOS 26 SDK and simulator. However, when opening the same .swiftpm project in the Swift Playgrounds app on iPad, it does not compile because Swift Playgrounds currently only supports up to iOS 18 SDK and does not support iOS 26 APIs. The submission itself is complete, builds correctly in Xcode, and was submitted before the deadline. The incorrect selection of Swift Playgrounds was an honest mistake during the submission process. I wanted to ask whether reviewers are able to run the submission using Xcode 26 in cases like this, or if there is anything I should do. Thank you very much for your time.
Replies
1
Boosts
0
Views
297
Activity
Mar ’26
Which tools and concepts are essential to learn first in iOS development?
I’m beginning my journey in iOS app development with a strong Java background and an app idea in mind, and I want to learn the best practices, tools, and workflows to build it the right way from the start. I’d appreciate guidance on useful AI tools for coding and learning Swift or SwiftUI, how developers approach app design, and recommended sources for UI inspiration, graphics, and overall development tips.
Replies
2
Boosts
0
Views
62
Activity
Mar ’26
Reply to "Unable to Redeem" when downloading approved 1.0 app via promo code
I have a second app which is already live on the App Store. I pushed an update to this app, and it was approved and is Pending Developer Release. I generated a promo code, and redeemed it. It worked fine. So, maybe the Pending Developer Release -> Promo Code method for giving media access to your prerelease 1.0 builds no longer works. Apple: Please document this!
Replies
Boosts
Views
Activity
Mar ’26