Search results for

xcode github

94,046 results found

Post

Replies

Boosts

Views

Activity

Live Activity (Dynamic Island) suddenly stopped working without code changes
Hi everyone, I am encountering an issue where my Live Activity (Dynamic Island) suddenly became invalid and failed to launch. It was working perfectly before, and I haven't modified any code since then. My Environment: Xcode: 26.1.1 Device iOS: 26.1 Testing: I also tested on iOS 18, but the Live Activity fails to start there as well. Here is my code: Live Activity Manager (Start/Update/End): func startLiveActivity() { // Initial static data let attributes = SimpleIslandAttributes(name: Test Order) // Initial dynamic data let initialContentState = SimpleIslandState(message: Preparing...) // Adapting for iOS 16.2+ new API (Content) let activityContent = ActivityContent(state: initialContentState, staleDate: nil) do { let activity = try Activity.request( attributes: attributes, content: activityContent, pushType: nil // Set to nil as remote push updates are not needed ) print(Live Activity Started ID: (activity.id)) } catch { print(Failed to start: (error.localizedDescription)) } } // 2. Update Live Act
3
0
123
Nov ’25
Xcode 26.1.1 related issue.
I’m experiencing an issue after building the project with Xcode 26.1.1. In my code, I have a UICollectionView that contains multiple cells, and each cell has a slider. When I move a slider in one cell, sliders in other cells also move. This issue does not occur in Xcode 16.4 – it works perfectly there. If anyone has a solution or knows if this is related to Xcode 26 changes, please let me know. Thanks!
1
0
92
Nov ’25
Can't establish spatial connection after visionOS update
After updating to visionOS 26.2 Beta 2 (and Beta 3), I'm unable to establish a spatial connection to Vision Pro. This was working fine before the update. To test, I've created a fresh spatialApp project from the Xcode template with zero modifications, but I'm hitting the same issue - the Vision Pro is discovered but won't connect. Am I forgetting to update the config somewhere? Any ideas what might be causing this and how to fix it? Thanks! Warning: -[NSWindow makeKeyWindow] called on windowNumber=1b9 which returned NO from -[NSWindow canBecomeKeyWindow]. ((processConfiguration != nil && configuration != nil) || (processConfiguration == nil && configuration == nil)) - /AppleInternal/Library/BuildRoots/4~CBS0ugAIF7BrQZjLe6r0lhPXO4GJmNDTovxYoV0/Library/Caches/com.apple.xbs/Sources/ExtensionKit/ExtensionKit/Source/HostViewController/Internal/EXHostSessionDriver.m:80: `processConfiguration` and `configuration` must be both non-nil or both nil Unable to obtain a task name port right for p
0
0
79
Nov ’25
Reply to App Startup with Debugger in Xcode 26 is slow
I have news! Xcode 26.2 beta 2 is now available, and it contains improvements to the debugging infrastructure that will result in improved launch times with the debugger attached. To reap the benefits, you'll need to update iOS to 26.2 beta 3 for your app debugging. The bug report from @isaacweisberg and @amo_marty was helpful to us, so I do want to thank you for collecting those details that helped us understand the issue. — Ed Ford,  DTS Engineer
Nov ’25
Reply to 90714: Invalid binary;% xcrun dyld_info -objc ... interface(null)
It would be helpful to format the output of that command using Markdown backticks so it's a bit clearer to read here. Based on how I'm interpreting the unformatted output, you will need to figure out where AUChangeSkinShell is coming from in your app, and make sure that library is built with a recent version of Xcode. If that's not a class you directly have in your codebase, you may want to check for it in any third-party libraries your app depends on. You can also use grep to search your codebase (and third-party dependencies) for that string to see where it turns up. — Ed Ford,  DTS Engineer
Nov ’25
Reply to Unable to find identity (but have private key and certificate)
Correct, both were exported from the keychain with password foo. The key material added from xcode was not touched in any other way. I have tried to create a new account alias on my macbook, have it import both keys. The account is not associated with my iCloud. I marked that certificate as trusted manually. Can't get a valid identity from that account either.
Nov ’25
Reply to Live Activity Shows Only Black Dynamic Island UI (No Content Rendering) — Widget Extension Receives Updates but SwiftUI UI Is Empty
Thanks for the reply! Just to clarify, even though the main app is built with Flutter, the Live Activity and widget extension are fully native Swift/SwiftUI and built in Xcode. The issue seems to be on the ActivityKit/WidgetKit side rather than the Flutter side. I’ve gone through Apple’s Live Activity tutorial and everything works except the actual UI rendering (Dynamic Island shows a black capsule even though the regions contain simple Text/Image views with no errors). I’m mainly hoping someone who’s run into a similar ActivityKit rendering issue can point out anything I may be missing in the widget extension setup. Any insights are appreciated!
Nov ’25
iOS BGProcessingTask + Background Upload Not Executing Reliably on TestFlight (Works in Debug)
iOS BGProcessingTask + Background Upload Not Executing Reliably on TestFlight (Works in Debug) Description: We are facing an issue with BGTaskScheduler and BGProcessingTask when trying to perform a background audio-upload flow on iOS. The behavior is inconsistent between Debug builds and TestFlight (Release) builds. Summary of the Problem Our application records long audio files (up to 1 hour) and triggers a background upload using: BGTaskScheduler BGProcessingTaskRequest Background URLSession (background with identifier) URLSession background upload task + AppDelegate.handleEventsForBackgroundURLSession In Debug mode (Xcode → Run on device), everything works as expected: BGProcessingTask executes handleEventsForBackgroundURLSession fires Background URLSession continues uploads reliably Long audio files successfully upload even when the app is in background or terminated However, in TestFlight / Release mode, the system does not reliably launch the BGProcessingTask or Background URLSession events. Te
1
0
89
Nov ’25
Reply to Blender Geometry Nodes to Reality Composer Pro
Hello @SteveTalkowski ! Thank you for your question. The root cause of your issue is a bit technical so I hope you'll bear with me. You're seeing an issue related to the different ways USD can be rendered on your system. Different renderers support different feature sets of the USD spec and unfortunately RealityKit's USD renderer does not support vertex animation. In some contexts, macOS will display USD files using a renderer called Storm (you can search online for Hydra Storm), and this is not the same renderer used by Xcode or your app, which uses RealityKit to render USD. Because Storm supports vertex animation while RealityKit does not, you'll see your animation playing in some contexts and not others, and you won't be able to use this particular type of animation in a RealityKit app. This is confusing, but hopefully the link above helps explain everything. You've authored your asset correctly! Unfortunately, RealityKit does not support this particular type of animation. I recommend sending us f
Nov ’25
Reply to Apple-hosted managed asset pack not found on macOS
It appears to be correctly signed. Automatically manage signing is checked, my standard team is set. With those settings, as soon as I assign an app group in Xcode 26.1, it changes to an Xcode managed provisioning profile and my valid Apple Development certificate and does not let me change them. I also checked the build with codesign -dv --verbose=4 and in ~/Library/Developer/Xcode/UserData/Provisioning Profiles to verify and that the profiles update, e.g., when I change the Info.plist. I also tried setting up a fresh sample project from the standard multiplatform SwiftUI app template in Xcode and did not change anything in Signing & Capabilities except setting the app group for the app and download extension. Same minimal app just calling AssetPackManager.shared.assetPack(withID:), same result: on iOS it works, on macOS the URL override is not permitted.
Nov ’25
Reply to Live Activity Shows Only Black Dynamic Island UI (No Content Rendering) — Widget Extension Receives Updates but SwiftUI UI Is Empty
Thanks for your post. Although you have a comprehensive list of questions, such as tint handling without demonstrating the setup process, it appears that you are using Flutter instead of Xcode. I recommend starting with a tutorial on LiveActivity and configuring it to observe its functionality and the rendering of the Activity UI. This step-by-step approach ensures that you have a thorough understanding of the process and can identify any potential issues. Even thought assumes you are using Xcode. https://developer.apple.com/documentation/activitykit/displaying-live-data-with-live-activities Also I would recommend to go to the 3rd party tool support channel and see if they have a sample or a tutorial to go over the issues. You should check with the support resources provided by the 3rd party to get assistance with their software. Unless another developer in the forums has experience with the third-party and can provide assistance. Albert Pascual
  Worldwide Developer Relations.
Nov ’25