Search results for

xcode github

94,684 results found

Post

Replies

Boosts

Views

Activity

Reply to UITab memory leak
Hello Moff, Thank you for the focused Xcode project and screenshot. Unfortunately, I am not yet able to replicate this issue. Could you please provide which version of Xcode you are using and which iOS version and device of the simulator you are running on? Thank you for your patience, Richard Yeh  Developer Technical Support
Topic: UI Frameworks SubTopic: UIKit
2d
symbolicate crashlog using .symbols files instead of dSYMs
Hi, Some crashes downloaded from TestFlight aren't symbolicated by Xcode and I don't know why, here's an example: Although all uploaded builds contain debug symbols (Symbols directory with .symbols files) and other crashlogs in the same version are symbolicated just fine (also visible on the above SS). I have access only to the .symbols files but not to the original dSYMs and I wonder how to perform symbolication manually. I tried pointing atos and symbolicatecrash utilities to respective .symbols file, but they are unable to work with it. I'm sure it's possible as TestFlight symbolicates crashlogs using only .symbols files somehow. Could you give a hint?
2
0
54
2d
Reply to LLDB assertion failure when debugging Swift app
The last line of the message says: Please file a bug report against lldb reporting this failure log, and as many details as possible Let's start there — what is the FB of your report in Feedback Assistant? Further, make sure to include things like the Xcode version and the OS version you are debugging on, and to see if this reproduces with the latest Xcode version, currently Xcode 26.2. — Ed Ford,  DTS Engineer
2d
LLDB assertion failure when debugging Swift app
While debugging a Swift application in Xcode, LLDB crashes with an assertion failure related to LLDBMemoryReader and pointer authentication. The issue occurs during normal debugging (e.g. inspecting variables or stack frames), and causes the debugger to become unusable. The error appears to be triggered inside the Swift language runtime reflection path in LLDB error: Assertion failed: (LLDBMemoryReader module to address map ran into pointer authentication mask!), function addModuleToAddressMap, file /AppleInternal/Library/BuildRoots/603ae698-b099-11ef-b64c-aabfac210453/Library/Caches/com.apple.xbs/Sources/lldb/llvm-project/lldb/source/Plugins/LanguageRuntime/Swift/LLDBMemoryReader.cpp, line 537 Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 0 LLDB 0x00000001240eb8f8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 40 1 LLDB 0x0000000123bbd0a8 lldb_private::lldb_assert(bool, char const*, char con
1
0
41
2d
Reply to First time SSC contestant here. Need some advice.
Hello Quinn, sorry for the delay—school started up! I couldn’t reach you directly by pinging you , so I’ve added it as a comment earlier, but I’ll include it in a reply for easier viewing. The app keeps track of time in the background when it’s running. I was thinking about using screen time APIs, but I wasn’t sure if they would work with app playgrounds instead of a regular Xcode app project. I can try converting the existing timer framework to background execution using DeviceActivity. I’ll take a look at the links and resources you sent me, thanks for the advice. For the debug console, is it also important to check when the alarm went off and whether the timer is being controlled correctly?
2d
Reply to Seeing resources from another app in same Xcode project
Nope.. just two apps, I checked the headers and there is no crossover. I did copy and paste some items from the original project initially.. but I deleted those as the design matured. I think thats probably where the references are coming from. I did a grep on the project directory and the references don't occur in the project file for the app... no clue. I have cleaned the build, quit Xcode.. and they remain.
2d
Reply to Application Hangs with Nested LazyVStack When Accessibility Inspector is Active
Hello @mike sldkcjnsdmhvbsdh Thank you for documenting and providing workarounds. I am able to reproduce this issue and would like you to file a Bug Report. After that, please reply with the FB number in this thread. I will make sure it is seen by the relevant engineering team. In the report, I recommend sending the project as an attachment, we often look for attachments, and feel free to also include the GitHub link as your documentation is beyond helpful to us in our investigation and others who may run into this issue. If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why? Thank you!  Travis Trotto - DTS Engineer
2d
Reply to Metal Toolchain Not Installing
Hi. Thanks for asking. I'm using Xcode Version 26.2 (17C52) on macOS 26.2 (25C56) and I was able to successfully install the metalToolchain component using the command you show in your question above and the the commands on this page. Maybe try downloading and installing separately (there are directions on the page above). Also, have you tried on a different network?
2d
Reply to Seeing resources from another app in same Xcode project
Thanks for the post, this is something I don’t think I have seen before unless I have a reference to some of the file. Definitely a head scratcher for me. Inviting other developers here to to provide there opinion of possible causes for this. One thought I have is that Xcode keeps a lot of build artifacts and project-related data in its derived data folder. This can often lead to stale or incorrect information being used by Interface Builder. Have you try to go to Product > Clean Build Folder (or Cmd+Shift+K). Do this for both projects/targets if they are in the same workspace. Even if your NIB files are separate, the custom classes (e.g., your AppDelegate subclasses, custom NSWindowControllers, or NSView subclasses) that are referenced in those NIBs might be accidentally included in the wrong target. If a class from App A is somehow included in App B's target (or vice-versa), Interface Builder for App B's NIB might try to instantiate or show properties from App A's version of that class? The Info
2d
Issues with ScrollView and nested (Lazy)VStack
Hello, We're having massive issues when we nest LazyVStacks inside a ScrollView. Our app relies heavily on custom views that are sometimes nested two or three levels deep. While the app does work fine overall, we see a massive spike in CPU usage in Instruments when accessibility features like VoiceOver are enabled. Those spikes never recover, so the app basically freezes and stays that way until force quit. We are in talks with a third-party service that uses accessibility features we want to use. Fortunately they have created a GitHub repository which recreates the issue we're facing. It would be greatly appreciated if someone could have a look at the code and tell us what the issue is, or if there's some kind of workaround. Here's the link to the repo: https://github.com/pendo-io/SwiftUI_Hang_Reproduction. Just to be clear, the issue is not directly related to the third-party SDK, but to the accessibility features used in conjunction with SwiftUI. As you can see in the repo the issue is reproducibl
1
0
118
2d
Reply to Testing Significant Location Change
You would want to use the Simulator's Features -> Location to test how your app handles location updates. But eventually, for testing background capabilities, the only reliable test would be to run the app on a physical device while it is standalone, not connected to Xcode - for which you would want to implement your own logging and testing methodology within the app - and for location apps, actually travel, as simulated locations are going to perform better than real ones, and if testing background capabilities attached to Xcode, you will not get a real life demonstration of how your app performs, as debugging via Xcode will give it additional capabilities to assist in debugging your code, but will not show what your customers will eventually experience.
2d
Testing Significant Location Change
We are currently developing a research-based iOS application that relies heavily on background capabilities, specifically Significant Location Change. We are using CLLocationManager.startMonitoringSignificantLocationChanges(). During development, when using Debug → Simulate Location in Xcode, we receive a location update only once. Subsequent simulated location changes do not trigger additional callbacks, which makes testing and development quite cumbersome. Are there any tools, commands, or workflows (e.g., via Xcode, Instruments, or system-level simulation) to reliably simulate multiple significant location change callbacks for testing purposes? If there aren't such tools, how do I test this behaviour reliably, robustly and rigidly?
1
0
49
2d