Search results for

“Xcode”

93,867 results found

Post

Replies

Boosts

Views

Activity

CoreML MLE5ProgramLibrary AOT recompilation hangs/crashes on iOS 26.4 — C++ exception in espresso IR compiler bypasses Swift error handling
Area: CoreML / Machine Learning Describe the issue: On iOS 26.4, calling MLModel(contentsOf:configuration:) to load an .mlpackage model hangs indefinitely and eventually kills the app via watchdog. The same model loads and runs inference successfully in under 1 second on iOS 26.3.1. The hang occurs inside eort_eo_compiler_compile_from_ir_program (espresso) during on-device AOT recompilation triggered by MLE5ProgramLibraryOnDeviceAOTCompilationImpl createProgramLibraryHandleWithRespecialization:error:. A C++ exception (__cxa_throw) is thrown inside libBNNS.dylib during the exception unwind, which then hangs inside __cxxabiv1::dyn_cast_slow and __class_type_info::search_below_dst. Swift's try/catch does not catch this — the exception originates in C++ and the process hangs rather than terminating cleanly. Setting config.computeUnits = .cpuOnly does not resolve the issue. MLE5ProgramLibrary initialises as shared infrastructure regardless of compute units. Steps to reproduce: Create an app with an .mlpackage Core
1
0
168
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
102
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
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
68
1d
Urgent
I am developing a productivity app called FocusPact using the Screen Time API (Family Controls). Current Status: The parent app bundle ID (com.hayashikento.FocusPact) has already been approved for the Family Controls (Distribution) entitlement. I have recently submitted a new request for the DeviceActivityMonitorExtension bundle ID: com.hayashikento.FocusPact.FocusPActMonitor. The Issue: Currently, the extension only works while debugging with Xcode (Development entitlement). When the device is disconnected, the intervalWillEndWarning and intervalDidEnd triggers are ignored by the system because the Extension ID lacks the Distribution entitlement. This is a critical blocker for my MVP testing phase on TestFlight, as I cannot verify the core automatic re-blocking logic in a real-world environment. Request: Could any Apple staff or engineers help expedite the linking of this extension ID to my existing approved entitlement? Parent App ID: com.hayashikento.FocusPact Extension ID: com.hayashikento.FocusP
0
0
34
1d
The requested app is not available or does not exist
Hi, I’m new here and trying to upload my first two apps to the App Store, but I’m getting stuck in TestFlight. I’ve tried several different ways to export my apps, both with Expo and Xcode, but it makes no difference. My apps get stuck in Ready to Submit. When I add Internal Testing (my self) I receive an email saying I can start testing the app, and I can see it in TestFlight, but when I tap on it I get the following error: Unable to install AppName. The requested app is not available or does not exist. I contacted Apple Support over a week ago, but I haven’t received any response. Any suggenstions? Thanks, Jonas
0
0
75
2d
Installation of XCode CLT on Tahoe 26.1
I am unable to install due to the following error: can't install the software because it is not currently available from the software update server Mac OS: Tahoe 26.1 CLI: Iterm2 Command : xcode-select --install Output: Command transitions to a GUI installer and attempts to download but fails with the attached error. As a result I am unable to proceed with installing Homebrew from CLI or downloaded pkg
3
0
57
2d
Unable to use FoundationModels in older app?
Hi, I'm trying to add FoundationModels to an older project but always get the following error: Unable to resolve 'dependency' 'FoundationModels' import FoundationModels The error comes and goes while its compiling and then doesn't run the app. I have my target set to 26.0 (and can't go any higher) and am using Xcode 26 (17E192). Is anyone else having this issue? Thanks, Dan Uff
1
0
107
2d
Reply to Installation of XCode CLT on Tahoe 26.1
It turned out to be a Mac OS version compatibility issue. I needed to upgrade to 26.2 or higher to install XCode CLT
Replies
Boosts
Views
Activity
1d
CoreML MLE5ProgramLibrary AOT recompilation hangs/crashes on iOS 26.4 — C++ exception in espresso IR compiler bypasses Swift error handling
Area: CoreML / Machine Learning Describe the issue: On iOS 26.4, calling MLModel(contentsOf:configuration:) to load an .mlpackage model hangs indefinitely and eventually kills the app via watchdog. The same model loads and runs inference successfully in under 1 second on iOS 26.3.1. The hang occurs inside eort_eo_compiler_compile_from_ir_program (espresso) during on-device AOT recompilation triggered by MLE5ProgramLibraryOnDeviceAOTCompilationImpl createProgramLibraryHandleWithRespecialization:error:. A C++ exception (__cxa_throw) is thrown inside libBNNS.dylib during the exception unwind, which then hangs inside __cxxabiv1::dyn_cast_slow and __class_type_info::search_below_dst. Swift's try/catch does not catch this — the exception originates in C++ and the process hangs rather than terminating cleanly. Setting config.computeUnits = .cpuOnly does not resolve the issue. MLE5ProgramLibrary initialises as shared infrastructure regardless of compute units. Steps to reproduce: Create an app with an .mlpackage Core
Replies
1
Boosts
0
Views
168
Activity
1d
Reply to iCloud Sync not working with iPhone, works fine for Mac.
I can confirm my App works again (iPad 26.5 beta) .✅ ⁇ I cannot confirm the apple example program works as I've run out of devices (and I'm not sure if CkSyncEngine behaves properly with sandbox users or Xcode simulation)
Replies
Boosts
Views
Activity
1d
Reply to Different app behavior when running on device from Xcode
Clarification - when not running through Xcode, my app stops making my REST calls/notifications, which are on run repeatedly using a Timer Timer.scheduledTimer(withTimeInterval: 1.0, repeats: true) { _ in
Topic: Community SubTopic: Apple Developers Tags:
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
102
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
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
68
Activity
1d
Urgent
I am developing a productivity app called FocusPact using the Screen Time API (Family Controls). Current Status: The parent app bundle ID (com.hayashikento.FocusPact) has already been approved for the Family Controls (Distribution) entitlement. I have recently submitted a new request for the DeviceActivityMonitorExtension bundle ID: com.hayashikento.FocusPact.FocusPActMonitor. The Issue: Currently, the extension only works while debugging with Xcode (Development entitlement). When the device is disconnected, the intervalWillEndWarning and intervalDidEnd triggers are ignored by the system because the Extension ID lacks the Distribution entitlement. This is a critical blocker for my MVP testing phase on TestFlight, as I cannot verify the core automatic re-blocking logic in a real-world environment. Request: Could any Apple staff or engineers help expedite the linking of this extension ID to my existing approved entitlement? Parent App ID: com.hayashikento.FocusPact Extension ID: com.hayashikento.FocusP
Replies
0
Boosts
0
Views
34
Activity
1d
The requested app is not available or does not exist
Hi, I’m new here and trying to upload my first two apps to the App Store, but I’m getting stuck in TestFlight. I’ve tried several different ways to export my apps, both with Expo and Xcode, but it makes no difference. My apps get stuck in Ready to Submit. When I add Internal Testing (my self) I receive an email saying I can start testing the app, and I can see it in TestFlight, but when I tap on it I get the following error: Unable to install AppName. The requested app is not available or does not exist. I contacted Apple Support over a week ago, but I haven’t received any response. Any suggenstions? Thanks, Jonas
Replies
0
Boosts
0
Views
75
Activity
2d
Installation of XCode CLT on Tahoe 26.1
I am unable to install due to the following error: can't install the software because it is not currently available from the software update server Mac OS: Tahoe 26.1 CLI: Iterm2 Command : xcode-select --install Output: Command transitions to a GUI installer and attempts to download but fails with the attached error. As a result I am unable to proceed with installing Homebrew from CLI or downloaded pkg
Replies
3
Boosts
0
Views
57
Activity
2d
Reply to Xcode 26.4: IBOutlets/IBActions gutter circles missing — cannot connect storyboard to code (works in 26.3)
having the same issue with Xcode 26.4 and Objective C project
Replies
Boosts
Views
Activity
2d
Unable to use FoundationModels in older app?
Hi, I'm trying to add FoundationModels to an older project but always get the following error: Unable to resolve 'dependency' 'FoundationModels' import FoundationModels The error comes and goes while its compiling and then doesn't run the app. I have my target set to 26.0 (and can't go any higher) and am using Xcode 26 (17E192). Is anyone else having this issue? Thanks, Dan Uff
Replies
1
Boosts
0
Views
107
Activity
2d
Reply to Xcode_26 not compiling Metal project
@JMDelh Thanks for providing this and marking as an answer for other people to find about Metal. If you filed a bug as requested can you mark it as well as resolved with Xcode 26.4? Thanks Albert 
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
2d
Reply to Xcode Source Control pull/push hangs indefinitely, terminal Git works normally After Tahoe 26.3 (25D125) Update
Yep, having the same issue when trying to pull through Xcode. Interestingly, push commands seem to work for me.
Replies
Boosts
Views
Activity
2d
Reply to Xcode_26 not compiling Metal project
This issue is corrected by Apple in Xcode Version 26.4 (17E192)
Replies
Boosts
Views
Activity
2d