Search results for

“build disappears”

51,283 results found

Post

Replies

Boosts

Views

Activity

App with shallow depth entitlement not appearing in Auto-Launch > When Submerged
I'm building a freediving app for Apple Watch Ultra using the shallow depth entitlement (com.apple.developer.submerged-shallow-depth-and-pressure). My app uses WKExtendedRuntimeSession with the underwater-depth background mode, and it works correctly — the session starts, Water Lock activates automatically, and Crown hold water ejection ends the session as expected. However, the app does not appear in Settings > General > Auto-Launch > When Submerged on the watch. Other third-party apps (including one that hasn't been updated in ~2 years and presumably only has the shallow entitlement) do appear in this list. My configuration: WKBackgroundModes: [underwater-depth, workout-processing] WKSupportsAutomaticDepthLaunch: true (Boolean, in watch app Info.plist) Entitlement verified in both the signed binary and provisioning profile watchOS 26.3, Apple Watch Ultra 2 Tested with: development build, TestFlight, and direct Xcode deploy. Watch restarted after each. The app does not appear in an
2
0
48
20h
Clipboard Bug within simulator 26.4
After updating to Xcode 26.4 and also the update on the simulator the copy paste feature in the simulators doesn't work anymore and i can't build my app without it because the user has to copy and paste api keys in it. Is there an solution for it I have tried to install an other simulator ios version but then the simulator doesn't work on the the new xcode. Have someone already found an solution?
1
0
52
23h
Reply to Localization in Swift macOS console Apps.
[quote='882371022, Arebus, /thread/820871?answerId=882371022#882371022, /profile/Arebus'] I thought it would be easier to write a CLI than … [/quote] Yeah, I know what you mean, but recently I’ve moved away from that approach: For low-level stuff, I tend to put the test code into a unit test. This is just as easy to debug as a command-line tool, but it has the advantage that, as you exercise various code paths, you build up a corpus of unit tests that ensure that things continue to work in the future. For GUI stuff, I lean into Xcode’s preview feature. Or just do my experimentation in an target. And there’s Xcode’s UI testing support. I don’t use that a lot but, in my defence, UI stuff isn’t my focus. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: UI Frameworks SubTopic: SwiftUI Tags:
1d
Reply to Are there known issues with aggressive optimization (-O) affecting third-party libraries?
[quote='821109021, JTechHyd, /thread/821109, /profile/JTechHyd'] Are there known issues with aggressive optimization (-O) affecting … ? [/quote] Yes. If you’re using a C-based language it’s very easy to rely on undefined behavior, and the exact behaviour you get can change based on the optimisation level, the compiler version, the OS version, and so on. This is true in safer languages as well, but it’s less common. For example, Swift is generally safer than C but there are still sources of undefined behaviour, including unsafe pointers [1] and concurrency [2]. Is sounds like you’re building this third-party library from source. Is that right? If so, you can dig into the library to see if you can isolate the cause of the problem. This is no different from tackling a hard-to-debug problems in your own code. You can use both build-time tools (like the Clang static analyser) and runtime tools (like the standard memory debugging tools). It’s also possible for problems like this to be caused by bu
1d
AccessoryTransport Extensions not launching on iOS 26.5 beta — missing entitlements not available in provisioning
Environment Xcode 26.5 beta iOS 26.5 beta Using AccessorySetupKit + AccessoryTransportExtension framework Three extensions: AccessoryTransportAppExtension, AccessoryTransportSecurityExtension, AccessoryDataProviderExtension Background Everything worked correctly on iOS 26.4 beta. All three extensions shared the entitlement com.apple.developer.accessory-transport-extension, and the system launched them as expected. After upgrading to iOS 26.5 beta (both Xcode and device), the app compiles and runs, the accessory pairs and connects successfully (state = authorized, BLE connected, notification forwarding = allow), but none of the extensions are launched by the system. Investigation Captured system Console logs from the device and found these errors from deviceaccessd: error deviceaccessd ### Extension 'com.huami.NotificationForwardingDemo.AccessoryDataProviderExtension' is missing entitlement: com.apple.developer.accessory-data-provider for com.apple.accessory-data-provider error deviceaccessd ### Extension 'com
1
0
36
1d
Are there known issues with aggressive optimization (-O) affecting third-party libraries?
We are encountering an issue in an iOS application where functionality works correctly in Debug builds but fails in Release builds distributed via TestFlight. Details Debug (No Optimization -Onone): Works correctly Release (Optimize for Speed -O): Fails Release with -Onone: Works, but app size nearly doubles Context The issue is related to integration with the Microsoft ONNX runtime library. It appears that the Swift/Clang compiler is aggressively optimizing certain parts of the code in Release builds, possibly removing or altering required logic. Observations The issue started appearing with recent iOS/Xcode updates. No code changes affecting this logic were made recently. Behavior strongly suggests optimization-related side effects. Questions Are there known issues with aggressive optimization (-O) affecting third-party libraries? Are there recommended flags to selectively disable optimization for specific modules or functions? Any tools or diagnostics to identify what is being op
2
0
73
1d
Apps cannot launch on iOS 9-12 devices after recent build - "The process failed to exec"
We found that our apps (and other apps from different companies) cannot launch on iOS 9 to iOS 12 devices. The app can be installed successfully but crashes immediately on launch. From the device syslog: assertiond: The process failed to exec SpringBoard: Bootstrapping failed - Unable to bootstrap process Our distribution certificate was issued on Feb 2, 2026, signed by WWDR G3 intermediate certificate. This issue affects all apps under our Apple Developer account on iOS 9-12 devices. iOS 13 and above works fine.
4
0
339
1d
Reply to My app doesn't respond on iPhone Air iOS 26.1.
⏺ That's it. The fix is: Removed ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage from both Debug and Release build settings Added UILaunchStoryboardName = LaunchScreen to Info.plist Without a proper launch storyboard, UIKit falls back to a legacy compatibility mode that computes wrong screen dimensions on iPhone Air — causing the fractional tab bar height and the infinite layout loop. The LaunchScreen.storyboard already existed in the project but was never referenced.
Topic: UI Frameworks SubTopic: UIKit Tags:
1d
Reply to Different app behavior when running on device from Xcode
Thank you @Tomato and @DTS Engineer ! The purpose of my app is to provide a notification mechanism when there are drastic air quality changes. To accomplish this, I have an async function that makes a GET request to an air quality sensor (using UrlSession), decode the payload, and then do comparisons with previous readings. If the readings have changed drastically, an UNMutableNotificationContent() is scheduled. Currently, my async function is called from within a repeating scheduled timer so that I can poll my sensor every minute: Timer.scheduledTimer(withTimeInterval: 1.0, repeats: true) { _ in timerVal -= 1 if timerVal == 0 { timerVal = startVal getAQI() } } This all works just fine (including when the app is in the background) ONLY when I run the app from Build and Run in Xcode on my dev iPhone as the destination. I've left the app running this way for hours in the background and with the phone locked and it works great! However, when I try to run the app purely from the app shortcut on my iPhone
Topic: Community SubTopic: Apple Developers Tags:
1d
PDFView left-anchors to window edge instead of centering between sidebar and inspector (macOS Tahoe)
I'm building a document viewer on macOS Tahoe with a 3-column NSSplitViewController (sidebar | detail | inspector), trying to replicate how Preview displays PDFs with the page centered in the visible gap between the panels, with content bleeding under them when panning or zooming. I'm using the approach from Build an AppKit app with the new design (WWDC25): detailItem.automaticallyAdjustsSafeAreaInsets = true safeAreaInsets reports the correct values (e.g. left: 208, right: 240), and the frame does extend under both panels. But PDFView with autoScales = true anchors the page to the left edge of the window instead of centering it in the visible gap between the sidebar and inspector. I can get the page to center correctly by constraining PDFView to view.safeAreaLayoutGuide, but then content no longer extends under the panels when panning or zooming, which defeats the whole purpose. What's the correct way to center PDFView content within the visible gap while keeping the frame full-width so con
Topic: UI Frameworks SubTopic: AppKit
0
0
53
1d
Reply to Dual Monitor Studio Display XDR fails on MacBook Pro M4 Pro
First off, to clarify the purpose of this forum and my role at Apple, this forum is specifically to support engineers building products for our platform, not consumer-level support. I'm responding here because I hope the information will be helpful to you and to other engineers working on our hardware. However, I can't comment on if or when this will be fixed, nor am I the right person to try and pass feedback through. Secondly, on the feedback side, I'd appreciate you filling a bug on this and then posting the bug number back here so I can ensure it gets to the correct team. That's the best way to get this feedback to the relevant engineering team. In any case, I can't provide you with a direct solution, but I can confirm that this is basically what's going on: From what I am reading, it appears to be that the M4 Pro has 3 display lanes, and when I plug the first Studio Display XDR, it is using 2 lanes. More specifically, the kernel logic that assigns display pipes to monitors is not particularly so
1d
Different app behavior when running on device from Xcode
I have an app I am working on that makes a REST call, updates the UI with the info, and sends a notification. When I run Build and Run my app from Xcode using my iPhone as the destination, it works exactly as I want it to - my REST calls and notifications continue to work when the app is in the background. However, when I run my app that has been installed on my iPhone from the Xcode build/run directly (without Xcode in the picture), it does NOT behave correctly and only works when my app is in the foreground. What am I missing?
4
0
100
1d
Reply to Installation of XCode CLT on Tahoe 26.1
Thanks for the post, I don’t see what are you selecting to install. Download Directly from the Apple Developer Portal is the recommended way or better use the Apple Store for the release version. Go to the Apple Developer Downloads page. Sometimes the GUI fails, but forcing the macOS software update utility through the terminal works. If Xcode is a beta or internal build, the xcode-select --install command will almost always fail because Apple does not host beta Command Line Tools on the public production update servers. I would recommend to install the Xcode you want from the developer portal if beta or RC and the App Store if you want the latest release version. Albert 
  Worldwide Developer Relations.
1d
Reply to 409 Error when submitting app for App Store review — stuck submission
I am seeing the same issue. I had another developer try to submit the same build and they got the issue as well, but when they created a new build for submission on their end they were able to successfully submit. So I'm wondering if there is possibly some build issue on my end, but I'm not seeing any indication that is the case from App Store Connect. This is a build that we have distributed through Test Flight that we are now trying to submit for release.
1d
Sporadic crash in xzm_main_malloc_zone_init_range_groups when spawning large binaries (macOS 26.3.1)
We're seeing a sporadic crash (~2-3% of spawns) when launching a large Mach-O binary via posix_spawn(). The crash happens inside libsystem_malloc.dylib during __malloc_init, before any application code runs. The process never reaches main(). Environment: macOS 26.3.1 (25D2128), Apple Silicon (ARM64) Crash signature BUG IN LIBMALLOC: pointer range initial reservation failed, Abort Cause 3 #0 libsystem_malloc.dylib: xzm_main_malloc_zone_init_range_groups.cold.1 #1 libsystem_malloc.dylib: xzm_main_malloc_zone_init_range_groups #2 libsystem_malloc.dylib: xzm_main_malloc_zone_create #3 libsystem_malloc.dylib: __malloc_init #4 libSystem.B.dylib: libSystem_initializer #5 dyld: dyld4::Loader::findAndRunAllInitializers The binary It's a Chromium component-build test binary (browser_tests): ~1.5 GiB on disk, 5.54 GiB total VA footprint (__TEXT 517 MiB, __LINKEDIT 1.04 GiB, __PAGEZERO 4 GiB) Links 527 dylibs via @rpath All images span ~16.4 GiB of VA when loaded A simple loop that spawns this binary 200 times v
2
0
67
1d
App with shallow depth entitlement not appearing in Auto-Launch > When Submerged
I'm building a freediving app for Apple Watch Ultra using the shallow depth entitlement (com.apple.developer.submerged-shallow-depth-and-pressure). My app uses WKExtendedRuntimeSession with the underwater-depth background mode, and it works correctly — the session starts, Water Lock activates automatically, and Crown hold water ejection ends the session as expected. However, the app does not appear in Settings > General > Auto-Launch > When Submerged on the watch. Other third-party apps (including one that hasn't been updated in ~2 years and presumably only has the shallow entitlement) do appear in this list. My configuration: WKBackgroundModes: [underwater-depth, workout-processing] WKSupportsAutomaticDepthLaunch: true (Boolean, in watch app Info.plist) Entitlement verified in both the signed binary and provisioning profile watchOS 26.3, Apple Watch Ultra 2 Tested with: development build, TestFlight, and direct Xcode deploy. Watch restarted after each. The app does not appear in an
Replies
2
Boosts
0
Views
48
Activity
20h
Clipboard Bug within simulator 26.4
After updating to Xcode 26.4 and also the update on the simulator the copy paste feature in the simulators doesn't work anymore and i can't build my app without it because the user has to copy and paste api keys in it. Is there an solution for it I have tried to install an other simulator ios version but then the simulator doesn't work on the the new xcode. Have someone already found an solution?
Replies
1
Boosts
0
Views
52
Activity
23h
Reply to Localization in Swift macOS console Apps.
[quote='882371022, Arebus, /thread/820871?answerId=882371022#882371022, /profile/Arebus'] I thought it would be easier to write a CLI than … [/quote] Yeah, I know what you mean, but recently I’ve moved away from that approach: For low-level stuff, I tend to put the test code into a unit test. This is just as easy to debug as a command-line tool, but it has the advantage that, as you exercise various code paths, you build up a corpus of unit tests that ensure that things continue to work in the future. For GUI stuff, I lean into Xcode’s preview feature. Or just do my experimentation in an target. And there’s Xcode’s UI testing support. I don’t use that a lot but, in my defence, UI stuff isn’t my focus. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
1d
Reply to Are there known issues with aggressive optimization (-O) affecting third-party libraries?
[quote='821109021, JTechHyd, /thread/821109, /profile/JTechHyd'] Are there known issues with aggressive optimization (-O) affecting … ? [/quote] Yes. If you’re using a C-based language it’s very easy to rely on undefined behavior, and the exact behaviour you get can change based on the optimisation level, the compiler version, the OS version, and so on. This is true in safer languages as well, but it’s less common. For example, Swift is generally safer than C but there are still sources of undefined behaviour, including unsafe pointers [1] and concurrency [2]. Is sounds like you’re building this third-party library from source. Is that right? If so, you can dig into the library to see if you can isolate the cause of the problem. This is no different from tackling a hard-to-debug problems in your own code. You can use both build-time tools (like the Clang static analyser) and runtime tools (like the standard memory debugging tools). It’s also possible for problems like this to be caused by bu
Replies
Boosts
Views
Activity
1d
AccessoryTransport Extensions not launching on iOS 26.5 beta — missing entitlements not available in provisioning
Environment Xcode 26.5 beta iOS 26.5 beta Using AccessorySetupKit + AccessoryTransportExtension framework Three extensions: AccessoryTransportAppExtension, AccessoryTransportSecurityExtension, AccessoryDataProviderExtension Background Everything worked correctly on iOS 26.4 beta. All three extensions shared the entitlement com.apple.developer.accessory-transport-extension, and the system launched them as expected. After upgrading to iOS 26.5 beta (both Xcode and device), the app compiles and runs, the accessory pairs and connects successfully (state = authorized, BLE connected, notification forwarding = allow), but none of the extensions are launched by the system. Investigation Captured system Console logs from the device and found these errors from deviceaccessd: error deviceaccessd ### Extension 'com.huami.NotificationForwardingDemo.AccessoryDataProviderExtension' is missing entitlement: com.apple.developer.accessory-data-provider for com.apple.accessory-data-provider error deviceaccessd ### Extension 'com
Replies
1
Boosts
0
Views
36
Activity
1d
Are there known issues with aggressive optimization (-O) affecting third-party libraries?
We are encountering an issue in an iOS application where functionality works correctly in Debug builds but fails in Release builds distributed via TestFlight. Details Debug (No Optimization -Onone): Works correctly Release (Optimize for Speed -O): Fails Release with -Onone: Works, but app size nearly doubles Context The issue is related to integration with the Microsoft ONNX runtime library. It appears that the Swift/Clang compiler is aggressively optimizing certain parts of the code in Release builds, possibly removing or altering required logic. Observations The issue started appearing with recent iOS/Xcode updates. No code changes affecting this logic were made recently. Behavior strongly suggests optimization-related side effects. Questions Are there known issues with aggressive optimization (-O) affecting third-party libraries? Are there recommended flags to selectively disable optimization for specific modules or functions? Any tools or diagnostics to identify what is being op
Replies
2
Boosts
0
Views
73
Activity
1d
Apps cannot launch on iOS 9-12 devices after recent build - "The process failed to exec"
We found that our apps (and other apps from different companies) cannot launch on iOS 9 to iOS 12 devices. The app can be installed successfully but crashes immediately on launch. From the device syslog: assertiond: The process failed to exec SpringBoard: Bootstrapping failed - Unable to bootstrap process Our distribution certificate was issued on Feb 2, 2026, signed by WWDR G3 intermediate certificate. This issue affects all apps under our Apple Developer account on iOS 9-12 devices. iOS 13 and above works fine.
Replies
4
Boosts
0
Views
339
Activity
1d
Reply to My app doesn't respond on iPhone Air iOS 26.1.
⏺ That's it. The fix is: Removed ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage from both Debug and Release build settings Added UILaunchStoryboardName = LaunchScreen to Info.plist Without a proper launch storyboard, UIKit falls back to a legacy compatibility mode that computes wrong screen dimensions on iPhone Air — causing the fractional tab bar height and the infinite layout loop. The LaunchScreen.storyboard already existed in the project but was never referenced.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
1d
Reply to Different app behavior when running on device from Xcode
Thank you @Tomato and @DTS Engineer ! The purpose of my app is to provide a notification mechanism when there are drastic air quality changes. To accomplish this, I have an async function that makes a GET request to an air quality sensor (using UrlSession), decode the payload, and then do comparisons with previous readings. If the readings have changed drastically, an UNMutableNotificationContent() is scheduled. Currently, my async function is called from within a repeating scheduled timer so that I can poll my sensor every minute: Timer.scheduledTimer(withTimeInterval: 1.0, repeats: true) { _ in timerVal -= 1 if timerVal == 0 { timerVal = startVal getAQI() } } This all works just fine (including when the app is in the background) ONLY when I run the app from Build and Run in Xcode on my dev iPhone as the destination. I've left the app running this way for hours in the background and with the phone locked and it works great! However, when I try to run the app purely from the app shortcut on my iPhone
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
1d
PDFView left-anchors to window edge instead of centering between sidebar and inspector (macOS Tahoe)
I'm building a document viewer on macOS Tahoe with a 3-column NSSplitViewController (sidebar | detail | inspector), trying to replicate how Preview displays PDFs with the page centered in the visible gap between the panels, with content bleeding under them when panning or zooming. I'm using the approach from Build an AppKit app with the new design (WWDC25): detailItem.automaticallyAdjustsSafeAreaInsets = true safeAreaInsets reports the correct values (e.g. left: 208, right: 240), and the frame does extend under both panels. But PDFView with autoScales = true anchors the page to the left edge of the window instead of centering it in the visible gap between the sidebar and inspector. I can get the page to center correctly by constraining PDFView to view.safeAreaLayoutGuide, but then content no longer extends under the panels when panning or zooming, which defeats the whole purpose. What's the correct way to center PDFView content within the visible gap while keeping the frame full-width so con
Topic: UI Frameworks SubTopic: AppKit
Replies
0
Boosts
0
Views
53
Activity
1d
Reply to Dual Monitor Studio Display XDR fails on MacBook Pro M4 Pro
First off, to clarify the purpose of this forum and my role at Apple, this forum is specifically to support engineers building products for our platform, not consumer-level support. I'm responding here because I hope the information will be helpful to you and to other engineers working on our hardware. However, I can't comment on if or when this will be fixed, nor am I the right person to try and pass feedback through. Secondly, on the feedback side, I'd appreciate you filling a bug on this and then posting the bug number back here so I can ensure it gets to the correct team. That's the best way to get this feedback to the relevant engineering team. In any case, I can't provide you with a direct solution, but I can confirm that this is basically what's going on: From what I am reading, it appears to be that the M4 Pro has 3 display lanes, and when I plug the first Studio Display XDR, it is using 2 lanes. More specifically, the kernel logic that assigns display pipes to monitors is not particularly so
Replies
Boosts
Views
Activity
1d
Different app behavior when running on device from Xcode
I have an app I am working on that makes a REST call, updates the UI with the info, and sends a notification. When I run Build and Run my app from Xcode using my iPhone as the destination, it works exactly as I want it to - my REST calls and notifications continue to work when the app is in the background. However, when I run my app that has been installed on my iPhone from the Xcode build/run directly (without Xcode in the picture), it does NOT behave correctly and only works when my app is in the foreground. What am I missing?
Replies
4
Boosts
0
Views
100
Activity
1d
Reply to Installation of XCode CLT on Tahoe 26.1
Thanks for the post, I don’t see what are you selecting to install. Download Directly from the Apple Developer Portal is the recommended way or better use the Apple Store for the release version. Go to the Apple Developer Downloads page. Sometimes the GUI fails, but forcing the macOS software update utility through the terminal works. If Xcode is a beta or internal build, the xcode-select --install command will almost always fail because Apple does not host beta Command Line Tools on the public production update servers. I would recommend to install the Xcode you want from the developer portal if beta or RC and the App Store if you want the latest release version. Albert 
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
1d
Reply to 409 Error when submitting app for App Store review — stuck submission
I am seeing the same issue. I had another developer try to submit the same build and they got the issue as well, but when they created a new build for submission on their end they were able to successfully submit. So I'm wondering if there is possibly some build issue on my end, but I'm not seeing any indication that is the case from App Store Connect. This is a build that we have distributed through Test Flight that we are now trying to submit for release.
Replies
Boosts
Views
Activity
1d
Sporadic crash in xzm_main_malloc_zone_init_range_groups when spawning large binaries (macOS 26.3.1)
We're seeing a sporadic crash (~2-3% of spawns) when launching a large Mach-O binary via posix_spawn(). The crash happens inside libsystem_malloc.dylib during __malloc_init, before any application code runs. The process never reaches main(). Environment: macOS 26.3.1 (25D2128), Apple Silicon (ARM64) Crash signature BUG IN LIBMALLOC: pointer range initial reservation failed, Abort Cause 3 #0 libsystem_malloc.dylib: xzm_main_malloc_zone_init_range_groups.cold.1 #1 libsystem_malloc.dylib: xzm_main_malloc_zone_init_range_groups #2 libsystem_malloc.dylib: xzm_main_malloc_zone_create #3 libsystem_malloc.dylib: __malloc_init #4 libSystem.B.dylib: libSystem_initializer #5 dyld: dyld4::Loader::findAndRunAllInitializers The binary It's a Chromium component-build test binary (browser_tests): ~1.5 GiB on disk, 5.54 GiB total VA footprint (__TEXT 517 MiB, __LINKEDIT 1.04 GiB, __PAGEZERO 4 GiB) Links 527 dylibs via @rpath All images span ~16.4 GiB of VA when loaded A simple loop that spawns this binary 200 times v
Replies
2
Boosts
0
Views
67
Activity
1d