I develop React Native app with dynamically linked pods, and app runs on simulator well, while running it on connected device returns this error:
dyld[53510]: Symbol not found: __ZN5swift39swift51override_conformsToSwiftProtocolEPKNS_14TargetMetadataINS_9InProcessEEEPKNS_24TargetProtocolDescriptorIS1_EEN7__swift9__runtime4llvm9StringRefEPFPKNS_35TargetProtocolConformanceDescriptorIS1_EES4_S8_SC_E
Referenced from: <4A3492BF-0479-3124-BE58-05BAED71BB20> /private/var/containers/Bundle/Application/0D9FDF5C-BBC9-4060-972B-B2D6FD91E321/BFF.app/Frameworks/Framework1 Expected in: <0549B906-CB15-3735-AA15-FAEB5F687C8B> /private/var/containers/Bundle/Application/0D9FDF5C-BBC9-4060-972B-B2D6FD91E321/BFF.app/Frameworks/Framework2
I already tried different things:
Different versions of IPHONEOS_DEPLOYMENT_TARGET
Ensured that all dependencies using same Swift version
Different linking
Tested on different devices and iOS versions
Standard cleaning of derived data and reinstalling podfiles also included
BUILD_LIBRARY_FOR_DISTRIBUTION="YES"
ENABLE_BITCODE="NO"
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 just did a fresh install of MacOS Sequoia 15.0.1, then I installed Xcode 16.
Then, in Terminal, I did: xcode-select --install
Which created a pop-up window from which I installed the Command Line tools.
Later that day I used the command "brew doctor", and got this warning:
Warning: Your Command Line Tools are too outdated.
Update them from Software Update in System Settings.
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 16.0.
And yes, System Settings -> Software Update showed that Command Line Tools needed to updated.
I find this to be very strange behavior of MacOS Sequoia 15.0.1...
Topic:
Developer Tools & Services
SubTopic:
Xcode
How can Xcode15 reduce parallel compile thread count, it consumes too many memory.
I am trying to figure out if AppKit provides any support for Async/Await when presenting ViewControllers.
Typically one has to use a completionHandler that gets called when the viewController is dismissed.
Any way to used Async/Await for achieving the same thing ?
How do I fix the error?
Waiting for the debugger to connect to iPhone (nick) on port 10000 via USB…”
Hi, Im using Xcode to test ML model performance. When I create a performance report on my Mac, I can get the performance report with prediction, load and Compilation time in ms. But when I tried to test the performance on iPhone16pro, although the test came to an end normally, but the prediction/load/compilation time are always 0, and there were no Compute Unit Mapping below.
Thanks for your help.
Hi,
I am in the last step "preparing for submission" and everything excepts "age rating" is fine. How can I fix this?
I have two apps and on neither i can edit "age rating" :(
I am getting this error while archiving the app. This is happening after upgrading to the latest macOS Sequoia and XCode 16.
getting this error.
env: node: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code
It was working when I was in XCode 15.4.
I'm working on dext project (c++), Base SDK and Supported Platforms are set to DriverKit.
#include causes errors:
error "The iostreams library is not supported since libc++ has been configured without support for localization."
error "<locale.h> is not supported since libc++ has been configured without support for localization."
Also it's not possible to define custom log object: undeclared identifier 'os_log_create'. <os/log.h> included and os_log function is compiled correct.
macOS as additional SDK did not help. Thanks a lot for any hint.
Hello!
My company makes use of SSL interception for its managed laptops (for various information security reasons). We've yet to find a good solution to avoid SSL cert errors in the Xcode Preview app. We've successfully installed/trusted our certs in the Xcode Simulator, but can't find any information on how to do the equivalent for the Xcode Preview. The inability to make use of the Preview App profoundly impacts productivity.
It appears the Xcode Preview doesn't share the same certificate store as the Simulator, nor does it make use of the Mac's system keychain (where the certificates are also installed and trusted). If there’s anyone you can think of who might know a way around this issue it would be greatly appreciated.
Many thanks!
We are using a workspace file and have noticed that when we run fastlane commands that utilize xcodebuild command line arguments to run the export localization command from commandline, and it seems that it uses the xcodeproj package.resolved instead of the workspace package.resolved. This is causing issues as the xcodeproj package resolved will not update at all so is on old version of dependencies that cause xcodebuild commands to fail.
Why is there multiple package.resolved files and why does the xcodeproj not stay updated with what is in the workspace resolved file? Why won't the xcodeproj resolved file update when I'm opening the xcodeproj file and selecting specific dependencies and telling it to update the package.
Without using XCode, the different XCode simulators keep showing up in Finder under locations. Is this normal behaviour? I'd rather not have this happen all the time..
(XROS is VisionOS...)
This is what the volume looks like...
I'm trying to get our CI working to build our own machine image AMI descriptions. Part of that is to download the correct runtime versions so that we can pre-create the simulators we use for testing on these machine image descriptions.
When running the code like
xcodebuild -downloadPlatform <platform> -exportPath "$<temp_folder_path>"
Locally I get a result and download a runtime, but on CI I just get All available platforms are downloaded. Why is this message happening and how can I specify specific platforms to download over CI to configure our machine setup?
System Environment Sequoia 15.0, Xcode 16.0 and / or Xcode 16.1.b2. iMac 2019.
I have started the project and selected run with an iPhone 15 with iOS 18.0.1 .
The iPhone is connected via USB (I switched ports and changed cables)
A message comes up with: "Copying shared cache symbols from iPhone15 (0% completed)". After 6 hours I stopped it.
I have the same problem with an iPad Pro and IPadOS 18.0.1
i had never this problem with iOS 17 and earlier.
I was able to successfully test the project with an old iPad and IOS 15.4. The copying of the symbol took about 5 mins.
so it seems that there is a problem with iOS 18.
Topic:
Developer Tools & Services
SubTopic:
Xcode
If you need help investigating a crash, please include a crash report in your post. To smooth things along, follow these guidelines:
For information on how to get a crash report, see Acquiring crash reports and diagnostic logs.
Include the whole crash report as a text attachment (click the paperclip icon and then choose Add File). This avoids clogging up the timeline while also preserving the wealth of information in the crash report.
If you’re not able to post your crash report as an attachment, see Can’t Post Crash Report as Attachment below.
If you want to highlight a section of the report, include it in the main body of your post. Put the snippet in a code block so that it renders nicely. To create a code block, add a delimiter line containing triple backquotes before and after the block, or just click the Code Block button.
If possible, post an Apple crash report. Third-party crash reporters are often missing critical information and have general reliability problems (for an explanation as to why, see Implementing Your Own Crash Reporter).
Symbolicate your crash report before posting it. For information on how to do this, see Adding identifiable symbol names to a crash report.
If you need to redact the crash report, do so consistently. Imagine you’re building the WaffleVarnish app whose bundle ID is com.example.wafflevarnish but you want to keep your new waffle varnishing technology secret. Replace WaffleVarnish with WwwwwwVvvvvvv and com.example.wafflevarnish with com.eeeeeee.wwwwwwvvvvvvv. This keeps the text in the crash report aligned while making it possible to distinguish the human-readible name of the app (WaffleVarnish) from the bundle ID (com.example.wafflevarnish).
Finally, for information on how to use a crash report to debug your own problems, see Diagnosing issues using crash reports and device logs.
Can’t Post Crash Report as Attachment
Crash reports have two common extensions: .crash and .ips. If you have an .ips file, please post that [1].
DevForums lets you attach a .crash file but not an .ips file (r. 117468172). To work around this, change the extension to .txt.
If DevForums complains that your crash report “contains sensitive language”, leave it out of your initial post and attach it to a reply. That often avoids this roadblock.
If you still can’t post your crash report, upload it to a file sharing service and include the URL in your post. Post the URL in the clear, per tip 14 in Quinn’s Top Ten DevForums Tips.
Getting a Crash Report from the Xcode Organiser
The Xcode organiser shows crash reports from customers. If you’re investigating such a crash and want to post a crash report:
Navigate to the crash in the Xcode organiser.
Note If you can’t see the right crash, check the filter popups at the top.
In the list of crashes, secondary click on your crash and choose Show in Finder.
That reveals the Xcode crashpoint document (.xccrashpoint) in the Finder. Secondary click on that and choose Show Package Contents.
In the resulting Finder window, find a crash report (.crash) that accurately represents the crash you’re investigating and attach that to your forums post.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
[1] Because it’s easy to go from an .ips file to a .crash file. I usually do this by choosing File > Quick Look in the Finder. For more info about these file formats, see this post.
Revision History:
2025-08-29 Added the Getting a Crash Report from the Xcode Organiser section.
2024-11-21 Added a recommendation to post the .ips format if possible.
2024-05-21 Added some advice regarding the “contains sensitive language” message.
2023-10-25 Added the Can’t Post Crash Report as Attachment section. Made other minor editorial changes.
2021-08-26 First posted.
Hello!
Trying to debug with ol' reliable print object (po) but getting error that such variable does not exist in current scope (even tho i have breakpoint literally on it, before it will "return" from current context (return myObject)
Any ideas on why this might occur?
Prior to xcode 16 - i faced this error only when i made typo in variable name or it actually was different scope (i jumped in stacktrace to other call)
Topic:
Developer Tools & Services
SubTopic:
Xcode
I try to use "Download container" on "Devices and Simulators".
But on iOS 17, xcappdata file size is 4KB and ''AppData" folder is empty.
On iOS 15, xcappdata file size is 2MB and success downloaded.
Xcode show these error when I unplug iOS 17 and plugin iOS 15.
The system failed to get a list of files on the remote device.
Domain: com.apple.dt.CoreDeviceError
Code: 7001
User Info: {
DVTErrorCreationDateKey = "2023-12-12 07:39:24 +0000";
NSFilePath = "";
}
--
Unknown response: {
XPCErrorDescription => Connection interrupted
}
Domain: com.apple.dt.remoteservices.error
Code: -1
--
System Information
macOS Version 14.2 (Build 23C64)
Xcode 15.1 (22502) (Build 15C65)
Timestamp: 2023-12-12T15:39:24+08:00
PS.
I had turn on [Airplane mode] on iOS 17.
After installing macOS Sequoia 15.0.1 and Xcode 16, I experienced frequent crashes and issues with adding packages. I also couldn’t install Xcode 15 despite trying. Additionally, I couldn’t add local packages in Xcode 16, so I switched to Version 16.1 beta 3, where I can only add local packages.
In my Mac's Settings -> General -> Storage -> Developer -> (i) I have a series of entries for "bridgeOS", all 2.49 GB except one that is "zero".
Do I need these? Can I remove them?
I am only doing "normal" iPhone / iPad development.
(There was some previous mention of this here:
https://developer.apple.com/forums/thread/711279
with no feedback.)
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSSet intersectsSet:]: set argument is not an NSSet'