On iOS 18.0+ simulators, tap any share link button from any app, select "Save to Files", the "Save" button is disabled.
In all previous simulator versions this works. This behavior even happens with default Apple apps like Photos.
Simulator: Version 16.0 (1037)
XCode: Version 16.1 beta (16B5001e)
macOS: 14.6.1 (23G93)
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
Xcode is throwing an error when attempting to report test coverage after running unit tests.
Showing All Messages
Failed to merge raw profiles in directory /{my project dir}/DerivedData/{my project name}/Build/ProfileData/A98EC493-3AB4-4B1C-B7FC-BC5D77B23EE3 to destination /{my project dir}/DerivedData/{my project name}/Build/ProfileData/A98EC493-3AB4-4B1C-B7FC-BC5D77B23EE3/Coverage.profdata: Aggregation tool '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/llvm-profdata' failed with exit code 1: warning: /{my project dir}/DerivedData/{my project name}/Build/ProfileData/A98EC493-3AB4-4B1C-B7FC-BC5D77B23EE3/997F01E3-3735-4897-AE00-31EBB0A9E8D3-57885.profraw: invalid instrumentation profile data (file header is corrupt)
error: no profile can be merged
Anyone else seeing this issue?
I am using SwiftData for my model. Until Xcode 15 beta 4 I did not have issues. Since beta 5 I am receiving the following red warning multiple times:
'NSKeyedUnarchiveFromData' should not be used to for un-archiving and will be removed in a future release
This seems to be a CoreData warning. However, I am not using CoreData directly. I have no way to change the config of CoreData as used by SwiftData.
My model just uses UUID, Int, String, Double, some of them as optionals or Arrays. I only use one attribute (.unique).
I just submitted a feedback for this (FB9662125) but in the spirit of “share and enjoy”…
The cool new Generate Info.plist File feature in Xcode 13 crashes if you try to put an NSLocationTemporaryUsageDescriptionDictionary in your Info.plist file. Here’s a simple repro scenario:
Create a minimal iOS app (no Core Data, no tests)
Go to target settings → Info tab → Custom iOS Target Properties
Click the (+) button on any row to begin inserting a new row
Select Privacy - Location Temporary Usage Description Dictionary
Click somewhere else or press Return to commit the selection
Xcode crashes immediately
More generally, it seems that Xcode crashes any time it tries to regenerate your Info.plist file if it contains an NSLocationTemporaryUsageDescriptionDictionary, even if (for example) you manually pasted that dictionary into the file earlier. In that case, merely tapping the (+) button in step 3 above is enough to crash it.
My MBP M1 Pro gets really hot. iOS 26.1 Simulator in Xcode 26.1 makes ReportCrash process run at 60-160% of CPU shows Activity Monitor.
MacOS 26.1. I've reported this via Feedback Assistant: FB20918609.
Is there a way to quit this process permanently? When I Force Quit this it opens again immediately. Only way to stop it is to quit Simulator. But then again, I need to use the Simulator.
At the Platform State of the Union, Apple demoed clicking a ✨ button in the Xcode toolbar to use Apple Intelligence in Xcode.
I don't see that button in Xcode Version 26.0 beta (17A5241e). Am I missing it? It's supposed to be in the upper-left corner, right?
Do I need to turn it on or something? I'm on macOS 15.5 Sequoia, on a 16-inch, 2021 MacBook Pro
Hello!
When launching/debugging on my iPad and iPhone I keep getting the following error:
“Previous preparation error: Failed to find a DDI … Run ‘devicectl list preferredDDI’ …”
I believe this was caused by a previously interrupted Xcode update around June due to low disk space, which may have left DeviceSupport/DDI/CoreDevice files incomplete. Even after finishing the update later, the error persists. I now use a new Mac with 4 TB of storage, but the issue still occurs.
Since then I have unfortunately been blocked from testing or presenting my app on devices. It seems that only a new, fully completed Xcode update might resolve the problem.
Tried so far:
– Cleared caches (CoreDevice/Devices)
– Reset trust on device and re-paired
– Checked devicectl list preferredDDI
I would really appreciate guidance, as at the moment I cannot present my app due to this blocking issue.
Thank you very much for your support!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Ever since updating to Xcode 16.3, auto-completing variable names in lldb does not work.
Is this a known bug? Is there a workaround to get it do auto-complete again?
Hello,
I'm unable to run any test cases in Xcode 16 with the iOS 18 simulator.
Steps to Reproduce:
Create a new iOS project in Xcode 16 using the default iOS app template with the testing option checked.
Run any test or UI test case by clicking the "Play" icon in the Test navigator.
Xcode gets stuck at the "Testing" state indefinitely.
Environment:
macOS 15 beta 8
Xcode 16 beta 6
iOS 18 beta 7 simulator
Hi there,
I uploaded an update bundle for the posted app, but I got a rejection message.
ITMS-90048: This bundle is invalid - Your archive contains paths that are not allowed: [._Symbols]
The XCode version I'm using is 16.2, and I've been trying to find a route using Run Script and Finder, but I don't know what the hell it is about.
Does anybody know what could cause this issue?
Any help would be appreciated.
Thanks.
So yesterday I noticed that some of images in my app stopped appearing. All of them were placed in the on-demand resources, that is I've assigned tags to them. Up until yesterday they were working correctly but since then whenever I try to load the assets I get the error message saying:
Error Domain=NSCocoaErrorDomain Code=4099 "Connection invalidated to streaming unzip service."
My code for loading the asset is pretty straightforward and it was working perfectly fine before:
let resourceRequest = NSBundleResourceRequest(tags: ["vinyl"])
defer {
resourceRequest.endAccessingResources()
}
do {
if await !resourceRequest.conditionallyBeginAccessingResources() {
try await resourceRequest.beginAccessingResources()
}
} catch {
assertionFailure("Vinyl image was not available, error: \(error)")
}
I'm obviously using it in asynchronous context, but the old method which used completion handler gives me the same error.
Has anyone encountered this issue as well? I just updated my devices to iOS 15.5, maybe that update broke on-demand resources?
Tested on Xcode 13.4, iOS 15.5
I want to use a ci_script to change the CI_BUILD_NUMBER to a new value.
But in XCODE CLOUD there seems to be no programmatic way to change it?
Hi,
Ever since I updated to macOS Tahoe and started using Xcode 26 daily, I've run into an issue where it gets stuck very frequently when launching and running my app in the simulator. It happens with the main app target as well as when running unit tests. If I restart Xcode and the simulator app, it works fine again for a while, but after some use, it goes back to the same situation. In Activity Monitor, Xcode ends up at 1000% CPU utilization for a minute or more, basically rendering the simulator and the debugger stuck. If I untick the "Debug Executable" option in the scheme editor, it works fine as well.
Anyone else run into the same situation, or are there any tips I can follow to fix this issue? It makes it really tedious to make changes and then be stalled for a minute or more to see the app run. I've restarted the Mac, erased the booted simulator as well. I'm on a MacBook Pro M4 Pro. Everything used to run fine before macOS Tahoe / Xcode 26 on my main device. In fact, I used to run macOS Tahoe / Xcode 26 beta versions on a separate partition without any problems.
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
When the Icon Composer file is imported into the project folder, and after building, there is a warning that says:
Failed to parse icontool JSON output.
Parts of the warnings show this:
Entity: line 1: parser error : Start tag expected, '<' not found
\211PNG
^
Entity: line 1: parser error : Start tag expected, '<' not found
\211PNG
^
Entity: line 1: parser error : Start tag expected, '<' not found
\211PNG
^
/* com.apple.actool.notices */
warning: Failed to parse icontool JSON output.
Underlying Errors:
Description: The data couldn’t be read because it isn’t in the correct format.
Failure Reason: The data is not in the correct format.
Debug Description: Garbage at end around line 6, column 0.
/* com.apple.actool.compilation-results */
I have created the icon with png files in each layer group in icon composer.
However the project is able to compile, and running shows the correct icon.
What is the issue with this?
Created a new project in Xcode 16.3. While adding breakpoints app is crashing every time in Xcode and playground both. Tried with swift 5 and swift 6 getting same error.
Crash reason : Couldn't find the Objective-C runtime library in loaded images.
Message from debugger: The LLDB RPC server has crashed. You may need to manually terminate your process
lldb-rpc-server-2025-04-14-092736.txt
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Swift Playground
Xcode
Playground Support
LLDB
I am using the latest version of Xcode 16, and I have created a GPX file in my project. However, I am unable to see or select the file to simulate the GPS location. I have attempted to uninstall and reinstall Xcode completely, but the issue persists. Has anyone encountered a similar problem? How can I resolve this? Thank you.
Will RC be allowed to upload to App Store Connect?
I have tried a couple of times with 17A321 and I keep getting unsupported SDK or Xcode version.
Submitted feedback FB20178551
Submitted feedback FB17075016
Xcode 16.3 release
macOS 15.4
iOS 18.4 / iPadOS 18.4 release builds
Memory graph fails to build when targeting physical devices running release builds referenced above. Memory graph will build against a simulator device.
Since the latest Xcode has become available users in our environment are seeing this error any time they try to launch a simulator (Primarily iOS devices, but others provided the same error) We have tested on 16.4 and 26.0.1 with various suggested fixes including uninstalling and reinstalling all of Xcode. Nothing has helped.