Search results for

Xcode

92,321 results found

Post

Replies

Boosts

Views

Activity

Reply to WatchOS version lower than deployment target in Xcode 26
Thanks for verifying this on your side. Please find the answers to your queries. iOS’s Apple Watch version:
The paired Apple Watch is running watchOS 10.6.1 on a physical device. It is paired with an iPhone running iOS 18.x. Regarding the minimum deployment target: 
You are correct that the watch app’s minimum deployment target is set to watchOS 10.0, 9.6 was typo error.
The issue I am reporting is that Xcode still displays the error “watchOS version lower than deployment target” even though the physical Apple Watch is running 10.6. This should satisfy the 10.0 deployment requirement, but Xcode continues to block installation. So we are observing the unexpected behaviour with the below configuration : Physical device: watchOS 10.6 Deployment target: watchOS 10.0 Xcode error: “watchOS version lower than deployment target” The error should not appear. Additionally, I’m still seeing the same issue even on the latest environment: Xcode 26.1.1 macOS 15.6 I performed a clean buil
Topic: UI Frameworks SubTopic: UIKit Tags:
Nov ’25
Reply to Xcode 26 Crashes on Launching App After macOS + Xcode Update (M3 Mac)
I update to the latest Xcode : Version 26.1.1 (17B100) Toolchain: Swift 6.2 Release 2025-09-11 (a) and MacOS to the latest : 26.1 (25B78) and still have the same crash problem, I give the crash report to an AI to summarize it : Primary Issue Assertion Failure in Scheme Execution: The crash occurred during scheme execution operations, specifically when Xcode was trying to create an execution operation for running a scheme. Key Technical Details Crash Location Thread 0 (main thread) crashed with SIGABRT (Abort trap: 6) Trigger: Assertion failure in IDEScheme class Specific Method: -[IDEScheme _executionOperationForSchemeOperationParameters:build:onlyBuild:buildParameters:title:buildLog:dontActuallyRunCommands:restorePersistedBuildResults:deviceAvailableChecker:error:actionCallbackBlock:] Crash Sequence Assertion triggered in IDEScheme operations Assertion handler called abort() Main thread terminated with abort signal The crash appears to be an internal Xcode assertion triggered by in
Nov ’25
Reply to iOS BGProcessingTask + Background Upload Not Executing Reliably on TestFlight (Works in Debug)
You’re combining two background execution technologies — background tasks and URLSession background sessions — and its not clear why. When you use a background session, your app doesn’t need to run in the background for the transfer to make progress. Rather, a system process (currently nsurlsessiond) does the transfer on your behalf. Can you explain why you’ve add background tasks into the mix? As to what’s going on with your current code, I have a bunch of debugging hints for you. First, you’ve not clearly separated your build configuration (Debug or Release) from your code signing (Apple Development or Apple Distribution for TestFlight). Teasing those apart can yield useful results, because it tells you whether the issue is with the way that your code is built or the way that it’s distributed. I talk about this in more depth in Isolating Code Signing Problems from Build Problems. Second, you’re testing background code from Xcode. This can be useful in limitation circumstances, but it can also be ve
Nov ’25
Standalone Watch App Woes
Hello I have developed a standalone app for watchOS - trying my best to use best practices and floowing the (limited)documentation. But here I am, unable to distribute - or even Validate - my apps archive in Xcode. As far as I can tell, bundle_id's are correct. It has an iOS wrapper (set up by New Project), Skip install has been tried in every combination. I'm at a loss. I'm sure there is some simple setting or workflow that I am missing, but I've been at it for days. Yes. Days. Has anyone recently created and successfully distributed a standalone watch app that could help me troubleshoot? I would be extremely appreciative. My kids would too. They miss their dad (just one 5 more minutes, I think I got it!)(I didn't get it) Thank you bob
1
0
55
Nov ’25
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