Search results for

xcode github

94,683 results found

Post

Replies

Boosts

Views

Activity

Reply to iOS Simulator fails to boot (18.6 / 26.1 / 26.2) – launchd_sim could not bind to session
I’m facing an issue where iOS Simulator versions 18.6 and above (including iOS 26.0.1) fail to boot, while older simulators like iOS 18.0 / 18.2 work fine on the same machine. Environment macOS 26.2 (Build 25C56) Xcode 26.0 (Build 17A324) iOS Simulator runtimes: iOS 18.0 – works iOS 18.6 – fails to boot iOS 26.0.1 – fails to boot Error observed Unable to boot the Simulator NSPOSIXErrorDomain Code: 4 (Interrupted system call) Failed to start launchd_sim: could not bind to session, launchd_sim may have crashed or quit responding This happens even when launching the Simulator app directly (without running any app). Steps already tried (no success) Shut down and erased all simulators: xcrun simctl shutdown all xcrun simctl erase all Deleted CoreSimulator data: rm -rf ~/Library/Developer/CoreSimulator killall -9 com.apple.CoreSimulator.CoreSimulatorService Rebooted macOS multiple times Reinstalled simulator runtimes via Xcode → Settings → Platforms Attempted runtime deletion using: xcrun simctl r
1d
USDZ model files when opened in Preview turns black
On macOS 26.2 (Tahoe), the Preview app fails to render many USDZ models correctly. The issue appears inconsistent: • Some USDZ files open normally in Preview • Some USDZ files open but the viewport turns completely black (no geometry, no material, no lighting) • All the same files open correctly when opened using “Open With → Xcode” This was not the behavior on macOS 15.7.2, where the exact same USDZ files rendered consistently in Preview without failures.
1
0
95
1d
Xcode Cloud: Unable to Notarize macOS App (Stuck in Infinite Waiting)
Hi everyone, I’m encountering an issue with Xcode Cloud when trying to notarize my macOS app. As shown in the screenshot, there are no errors in the logs, but the process gets stuck indefinitely. The message says: The post-action could not be completed because the build was canceled. No artifacts are generated at all. This problem started recently. Notarization works perfectly when I submit from my local Xcode, so it seems to be specific to Xcode Cloud. Has anyone else experienced this?
3
0
113
2d
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
Document Type Export / Import in Xcode - Shared via Messages
I’ve created a document type for my app and set it up in the Info Configuration in Xcode. This all works as expected: Implemented with the Transferrable API and ShareLink, I can share an app’s file via the Files app or Notes and then import the file via a Share extension and the fileImport swiftUI api. My question is regarding Messages, specifically. It appears as a ShareLink option and I’m able to send my app’s document type via a message, but I’m unable to open it or share it (internally, with my app), other than being able to forward or delete it. If I copy the file, I can’t access it within my app (it’s still stored in the Messages private bundle) and startAccessingSecurityScopedResource returns false as expected. The message does detect the right icon, so it’s recognizing the custom document type. If my Share Extension, exported document type, and transferable implementation is configured correctly, should I be able to open a file for my app shared via Messages? Is this an allowed action? I get
1
0
49
2d
UITab memory leak
I have the following view hierarchy in my app: [UINavigationController] -> [MainViewController] -> [MyTabBarController] -> [DashboardViewController] In my MainViewController I have a button that pushes the MyTabBarController onto the navigation controllers stack. In the tab bar controller I only have one tab in this example showing the DashboardViewController. That all works fine, and when I tap the back button on MyTabBarController, everything works fine and the MainViewController is shown again. The UI works exactly how I want it, but when I load up the 'Debug Memory Graph' view, I can see that my DashboardViewController is still in memory and it seems the UITab has a reference to it. The MyTabBarController is NOT in memory anymore. MyTabBarController is very simple: class MyTabBarController: UITabBarController { override func viewDidLoad() { super.viewDidLoad() self.mode = .tabSidebar var allTabs:[UITab] = [] let mainTab = UITab(title: Dashboard, image: UIImage(systemName: chart.pie), identifier:
Topic: UI Frameworks SubTopic: UIKit
2
0
69
2d
Developer News Updates
I noticed that https://developer.apple.com/news/upcoming-requirements/ is no longer being updated with SDK requirements. You would think this would be a nice place to check for upcoming requirements for app submissions etc. Can we get the Xcode 26 requirements added?
1
0
56
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
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
Rendering Multi-Page PDF with SwiftUI View
I have the following code that renders a one-page PDF: func render() -> URL { let renderer = ImageRenderer(content: pdfView()) let url = URL.documentsDirectory.appending(path: filename.pdf) renderer.render { size, context in var document = CGRect(x: 0, y: 0, width: 2550, height: 3300) guard let pdf = CGContext(url as CFURL, mediaBox: &document, nil) else { return } pdf.beginPDFPage(nil) context(pdf) pdf.endPDFPage() pdf.closePDF() } return url } func pdfView() -> some View { Text(View) } How can this be modified so that it renders a PDF with more than one page?
0
0
280
2d
Getting "Something went wrong" when changing Xcode version to 26.2 for a Xcode Cloud workflow
My workflow is using Xcode 16.4 and macOS Tahoe 26.2 (25C56). I am trying to change Xcode version to 26.2. When I click Save after some time I get Something went wrong error message without any additional details (see screenshot). I get the same error for the following cases: Tried changing a different workflow Tried to deactivate a workflow Tried various combinations of Xcode (26.1, 26.1.1, 26.2) + mac OS (26.1, 26.2) Tried creating a new workflow with Xcode 26.2 (haven't tried any other Xcode versions though)
0
0
11
2d