I’ve developed an Apple Watch extension for an existing iOS app. When I run the app on the watch via Xcode using the simulator, everything works fine. However, when I try to install it on my iPhone, the Watch app doesn’t show it in the "Available Apps" list, so I can't install it on the watch.
The Apple Watch is connected to my iPhone, and I can see other apps available for installation without any issues.
I also created a brand new project with watchOS support to troubleshoot, but the same problem occurred.
Any ideas on how to resolve this?
Xcode
RSS for tagBuild, test, and submit your app using Xcode, Apple's integrated development environment.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I have created a valid bundle identifier, registered device with correct UUID, created an profile, and still am not able to get things to connect to XCode. I have tried manually downloading certificates to refresh. I'm not sure what I'm doing wrong, and Apple Support only refers me to the same instructions I used to complete this process. Can anyone help?
Errors:
Communication with Apple failed
Your team has no devices from which to generate a provisioning profile. Connect a device to use or manually add device IDs in Certificates, Identifiers & Profiles. https://developer.apple.com/account/
No profiles for '*' were found
Xcode couldn't find any iOS App Development provisioning profiles matching ''.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hello everyone,
We are currently facing an issue when testing our hybrid mobile application (built with Ionic and Angular) on the iOS Simulator.
The app works perfectly on physical iOS devices — all HTTP requests complete successfully.
However, when running the same build on the iOS Simulator, every HTTP request fails with the following error:
{
"headers": { "normalizedNames": {}, "lazyUpdate": null, "headers": {} },
"status": 0,
"statusText": "Unknown Error",
"url": "https://api.bizify.com.br/demo/api/ping",
"ok": false,
"name": "HttpErrorResponse",
"message": "Http failure response for https://api.bizify.com.br/demo/api/ping: 0 Unknown Error",
"error": { "isTrusted": true }
}
We have confirmed that the API endpoint https://api.bizify.com.br/demo/api/ping is reachable and secured with a valid SSL certificate.
This issue occurs only in the iOS Simulator — not on Android devices or physical iOS devices.
Has anyone encountered this issue before?
Any insights on why the iOS Simulator might be blocking or failing these HTTPS requests — and how we could resolve it — would be greatly appreciated.
After updating my system to macOS Tahoe 26.1 and Xcode 26.1, all breakpoints in my project fail to work. When I run the application in Debug mode, any enabled breakpoint (blue) immediately becomes disabled (grayed out) the moment the app launches. The application runs, but the debugger never stops.
This issue occurs in any location, including in the application's init() method, which should always be hit. This behavior suggests that the LLDB debugger is failing to attach to the process at launch or is being instructed not to enable breakpoints.
System Configuration:
Mac Model: MacBook Pro 14" (2021), Apple M1 Pro
macOS Version: Tahoe 26.1
Xcode Version: 26.1
Project Type: SwiftUI App for macOS
Troubleshooting Steps Performed (All Unsuccessful):
We have performed an extensive series of troubleshooting steps to resolve the issue, none of which have worked. These steps include:
Basic Project Cleaning:
Cleaned the build folder (Product > Clean Build Folder).
Deleted the entire DerivedData directory.
Deleted the project's xcuserdata folder.
Xcode & System Procedures:
Restarted Xcode multiple times.
Rebooted the Mac multiple times.
Reinstalled Xcode Command Line Tools using xcode-select --install.
Reset the Xcode path using sudo xcode-select --reset and sudo xcode-select -s /Applications/Xcode.app/Contents/Developer.
Forced an update of the system's shared cache with xcrun simctl runtime dyld_shared_cache update --all.
Project Build Settings Verification (for Debug configuration):
Build Configuration: Verified that the "Run" scheme is set to Debug.
Optimization Level: Confirmed it is set to No Optimization [-O0].
Debug Information Format: Confirmed it is set to DWARF with dSYM File.
Strip Swift Symbols: Confirmed it is set to No. (This was a new setting noticed after the Xcode update).
Enable Hardened Runtime: Attempted setting this to both Yes and No. The issue persists in both cases.
Validate Workspace: Confirmed it is set to Yes.
Code Signing:
Verified that "Automatically manage signing" is enabled with a valid team.
Manually deleted and re-created the "Apple Development" certificates via Xcode's Accounts settings.
Direct LLDB Testing:
Created a ~/.lldbinit file.
Using breakpoint list, confirmed that LLDB starts with "No breakpoints currently set," indicating that Xcode is likely not passing the breakpoints to the debugger.
Using settings set target.process.stop-on-entry true, confirmed that the app still does not stop on entry, suggesting the debugger is failing to attach to the process at all.
Conclusion:
Given that all standard and advanced troubleshooting steps have failed, and the issue started immediately after updating both macOS and Xcode to a non-public release (Tahoe 26.1 / Xcode 26.1), this appears to be a regression or a bug in the new development environment. The failure of stop-on-entry strongly suggests a fundamental issue with the debugger attachment process on this specific OS and Xcode combination.
When I use Xcode 26 (0.1, 1) for debugging and hit a breakpoint, using "step over" causes the debugger to freeze at a random line of code. Clicking "Pause program execution" indicates that the line is being executed, but the breakpoint never exits, seemingly causing a freeze. The application on the simulator also becomes unresponsive. However, when I do not use breakpoints, my program runs smoothly, and debugging on a physical device does not cause any freezes. This issue only occurs with the simulator. I am using Xcode on Apple Silicon, and due to some third-party SDKs that depend on Rosetta, our app can only run on the Rosetta simulator. We did not encounter this issue when using Xcode 16.x for simulator debugging. The current situation with Xcode 26.x significantly reduces our development efficiency. What could be causing this, and is there a solution?
I would like to understand what the “Text Encoding” and “Line Endings” settings in the Identity Inspector of a file actually represent. Both settings are configurable in Xcode’s preferences.
It seems that both of them are broken. I have a file that uses CRLF line endings and is encoded in a Japanese code page, but Xcode displays “No Explicit Encoding” and “No Explicit Line Endings”.
I tried saving the file after changing these settings in Xcode, but nothing changes for the file in question.
I thought maybe these settings only apply to source files in C++, C, or Objective-C projects—or even assembler—but there’s no impact on other languages either.
Are “Text Encoding” and “Line Endings” simply broken?
If not, when and how are they actually used?
Topic:
Developer Tools & Services
SubTopic:
Xcode
I'm implementing the 'new' QLThumbnailProvider for our macOS app...
So I just created the skeleton from Xcode, added our QLSupportedContentTypes in Info.plist, and have the skeleton code like below:
import QuickLookThumbnailing
class ThumbnailProvider: QLThumbnailProvider {
override func provideThumbnail(for request: QLFileThumbnailRequest, _ handler: @escaping (QLThumbnailReply?, Error?) -> Void) {
// cannot trigger break point here!
}
I understand I should test the Thumbnail Extension by using:
$ qlmanage -t my_file.ext
Testing Quick Look thumbnails with files:
my_file.ext
But I don't know what process to attach to in the Xcode debugger... a bit clueless...
I've skimmed relevant parts of https://developer.apple.com/videos/play/wwdc2019/719, but there is no real debug tips...
Does anyone know if it is possible to debug with Xcode or not? And if possible, then how? 😅
sometimes when i add an info plist from info in project to project navigator. sometimes it dissapears from project navigator.how can i bring it back to show the info.plist on the priject navigator? I want to keep it there
When following the official SwiftUI Tutorial "Landmarks", I should be able to Cmd-Ctrl-Click an element of a preview in Selectable mode to view a list of options. But Xcode shows only one option (Embed). Furthermore, if I try to type anything the popover breaks completely and grows in length infinitely. I am not sure whether this is a bug, or I missed something when installing Xcode, or both
Hello Apples,
Noticed that after iOS 26.1 update the Xcode simulator seems to be prompting to login with Apple ID arbitrarily while working on some UI tests.
This does not happen with previous iOS 26.0 or 26.0.1 but is now causing trouble when launching the app or uninstalling at teardown. The current other issue with the uninstallation being sticky and taking a long time (waiting for springboard to become idle) is not helping either.
The dialog seems to appear a bit unreliably to be able to handle it correctly. Have tried both manual springboard dialog mapping and handling as well as an interruption monitor. The latter only seems to work for the first dialog which appears but then ceases to function so not much help…
Anyone else seeing this and are there any knowledge or good workarounds? Or should we just roll back to testing with previous OS versions and cross fingers for iOS 26.2?
Bottom line we cannot login with an Apple ID while running tests on a simulator…
As bonus noticed the simulator background images are not working?
Thanks!
BR,
ARu_ (Senior QE)
ChatGPT in Xcode 26.1 is super slow for me, anyone else?
The response returns quickly but the preview window takes a few seconds per line. What it used to do in a few seconds on 26.0 now takes tens of minutes.
Anyone else running into this and have suggestions? I'm using the minimal setting on a fast internet connection. M2 Pro MBP, macOS 26.1.
Hi, I'm interested in trying out Xcode Assist to help with things like complicated refactors or writing tests cases. The ChatGPT and Claude options both share your code with third parties, which is not acceptable for my use case.
Has anyone used a fully local model for Xcode Assist? I see that you can select one in the Apple Intelligence section of Xcode's Preferences screen, but don't really know where to start.
Are there local models that work well with Xcode Assist and that truly keep your source code private?
Below is the error when I tried to make build file for my application , so that I can add this build file in store connect for Review
Xcode version 26.0.1
System version 26.0.1
.NET Version 9.0 (for application)
application based on MAUI Hybrid Application
Showing Recent Errors Only
Prepare build
error: Multiple commands produce '/Users/mayankjain/Library/Developer/Xcode/DerivedData/PCS_EmpApp-chsylqbxjptobeawzzckymqzagvr/Build/Products/Debug-iphonesimulator/PCS_EmpApp.app/Info.plist'
note: Target 'PCS_EmpApp' (project 'PCS_EmpApp') has copy command from '/Users/mayankjain/Documents/05-NOV-2025-SWETA_IOS/PCS_EmpApp/PCS_EmpApp/xcode-out/Platforms/iOS/Info.plist' to '/Users/mayankjain/Library/Developer/Xcode/DerivedData/PCS_EmpApp-chsylqbxjptobeawzzckymqzagvr/Build/Products/Debug-iphonesimulator/PCS_EmpApp.app/Info.plist'
note: Target 'PCS_EmpApp' (project 'PCS_EmpApp') has process command with output '/Users/mayankjain/Library/Developer/Xcode/DerivedData/PCS_EmpApp-chsylqbxjptobeawzzckymqzagvr/Build/Products/Debug-iphonesimulator/PCS_EmpApp.app/Info.plist'
Multiple commands produce '/Users/mayankjain/Library/Developer/Xcode/DerivedData/PCS_EmpApp-chsylqbxjptobeawzzckymqzagvr/Build/Products/Debug-iphonesimulator/PCS_EmpApp.app/Info.plist'
Problem
Many developers run into a persistent “Tunnel connection failed” error when trying to connect an iPad or iPhone for debugging.
Even after reconnecting USB-C or Lightning and tapping “Trust This Computer” multiple times, the connection won’t establish.
The issue isn’t on the Mac — it’s the iPad not activating its tunneled connection properly.
What I discovered
The iPad’s Developer Mode networking stack can become unresponsive.
By enabling a few developer networking options and running the “Test Responsiveness” function, the system restarts the underlying network daemons and reopens the tunnel instantly.
No reboot, no re-pairing, no resets required.
Prerequisites
iPad with Developer Mode enabled
iPad and Mac on the same Wi-Fi network (or paired once via USB for trust)
Xcode compatible with your iPad’s iOS version
Steps to fix
On your iPad, open Settings → Developer.
Scroll to Networking and turn on:
Network Link Conditioner → On
Network Override → On
Under the same Networking section, tap Responsiveness.
Inside that menu, tap Test Responsiveness and let the test run until it finishes.
This test measures network round-trip speed but also restarts the iPad’s internal networking daemons (mDNSResponder, configd, and developer_mode_agent).
While it’s testing, the iPad re-broadcasts its service and reopens the tunnel port (62078).
After the test completes, connect the iPad to your Mac (or keep it connected if it already is).
On the Mac, open Xcode → Window → Devices and Simulators and check Connect via Network for your iPad.
Wait 10–15 seconds. The iPad should appear with the small Wi-Fi icon — that means the tunneled connection is active again.
You can now unplug USB if you want to continue wirelessly.
Why it works
Network Link Conditioner restarts the iPad’s network discovery services.
Network Override ensures developer connections aren’t throttled or suspended.
Test Responsiveness directly forces the iPad to re-advertise itself to usbmuxd and reopen the tunnel listener.
Once the test completes, the Mac successfully establishes the tunnel handshake.
Notes
This method works even if VPNs or custom network profiles are active.
If the tunnel fails again later, simply repeat Steps 3–4 (run Test Responsiveness) — it instantly repairs the connection.
There’s no need to clear trusted computers or restart anything on the Mac side.
The key is performing the Test Responsiveness action to wake the iPad’s developer networking stack.
This fix has been 100% reliable for resolving “Tunnel connection failed” on iPadOS.
Run the Responsiveness test, and the tunnel reconnects immediately.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Everytime when iOS simulator is launched I het a lot of repeated "*** quit unexpectedly" alerts.
Where "***" is a mix of "managedappdistributiond","healthappd", and "findmylocated"
Even after the simulator is launched I still het random "*** quit unexpectedly" alerts.
Very annoying because the alerts deactivates the active window
This is on an MacBook Pro M3 Max,, Xcode 15.2, Sonoma 14.2.1, it also happens with Xcode 15.1
A co developer (MacBook Pro M1 Max,Xcode 15.2, Sonoma 14.2.1) does not have the issue
Any idea how I can prevent this from happening?
Update
Every mentioned service crash happens in libswiftCore.dylib at
0x1929f3938 assertionFailure(:_:file:line:flags:) + 248
Hi,
I recently updated my Mac to macOS Sequoia 15.7.2, and then updated my Xcode packages right afterward. However, when I try to open Xcode, I receive the message:
“You can’t open the application because it is being updated.”
I contacted Apple Developer Support (software) by phone and went through their troubleshooting steps, but the issue persists. They confirmed that everything appears fine on their end.
In System Settings, both macOS and Xcode show as fully up to date. However, when I manually check in the App Store, it says Xcode needs to be updated. When I press Update, I get the following error:
“Xcode could not be installed. Please try again later.”
I’m fairly new to Xcode, but it seems there may be an incomplete update or verification loop preventing the installation from finishing properly.
Could you please advise on how to resolve this so I can open Xcode again?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hello,
I'm having issues trying to Install the iOS 26.0 + iOS 26.0.1 Simulator on Xcode 26.0.1. I'm getting this error
Download failed as the server said it was a bad request. (Asset download for com.apple.MobileAsset.iOSSimulatorRuntime 39434c057e7b18d2f1447aeb47e9bb6b6dbff077)
I have attached the full logs.
Thanks
xcode-error.txt
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hey guys, I updated to macOS Tahoe and after that I tried installing Xcode 26, but I always get an error message saying it can’t complete the installation, both through the App Store and via direct download from Apple’s website. Is anyone else having this same issue?
prior to upgrading from an M1 to M5 I could run the Mac on iPad via Xcode
After upgrading to a M5 I keep getting
dyld[88241]: Library not loaded: @rpath/APP.debug.dylib
Referenced from: <207ED9FB-3483-3063-B9BC-81EC3BCB34AF> /private/var/folders/54/cwf8kbhx48j71vk_z3zm0t_m0000gn/X/471D0939-4FD4-59C7-8DB5-641DB2A36911/d/Wrapper/App.app/App
Reason: tried: '/Users/xxx/Library/Developer/Xcode/DerivedData/project-esgmvpqlktgtvldltqmcjtupefnh/Build/Products/Debug-iphoneos/App.debug.dylib' (no such file), '/usr/lib/system/introspection/App.debug.dylib' (no such file, not in dyld cache),
... bunch more path searching..
Runpath Search paths:
$(inherited)
@executable_path/Frameworks
Runpath Search paths with inherited
/usr/lib/swit
@executable_path/Frameworks
@loader_path/Frameworks
@executable_path/Frameworks
The MXCrashDiagnostic and MXHangDiagnostic reports are not being returned via MXMetricManager on the next app launch in iOS 17.2, 17.3, 17.4, and 17.5. This issue prevents collection of crash and hang diagnostics through the MetricKit framework, which worked as expected on earlier and later (18, 26) iOS versions.
Steps to Reproduce:-
Integrate MetricKit in an iOS app using:
MXMetricManager.shared.add(self)
and implement:
func didReceive(_ payloads: [MXDiagnosticPayload])
Install and run the app on a device running iOS 17.2 or later.
Cause a crash or hang scenario (e.g., dereference a null pointer or block the main thread).
Relaunch the app after the system terminates it.
Observe the callback for diagnostic payloads.
Expected Behavior
MXMetricManager.shared.didReceive(_:) should be invoked on the next launch, returning diagnostic payloads that include MXCrashDiagnostic or MXHangDiagnostic objects.
Actual Behavior:
No diagnostics are returned on subsequent launches.
didReceive(_:) is not triggered, or the diagnostic payloads array is empty.
This behavior is reproducible across multiple devices and iOS versions (17.2–17.5).
iOS Versions: 17.2, 17.3, 17.4, 17.5
Devices Tested: iPhone 14, iPhone 15 Pro
Xcode Version: 15.2 / 15.3
Framework: MetricKit
Diagnostic Type: Crash and Hang