Search results for

xcode github

94,050 results found

Post

Replies

Boosts

Views

Activity

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
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
Xcode 26 Crashes on Launching App After macOS + Xcode Update (M3 Mac)
Hi everyone, After updating my Mac and Xcode to 26, I’m running into a consistent crash whenever I try to launch an app from Xcode. Environment: Mac: Apple Silicon M3 macOS: 26.0 (25A354) Xcode: 26.0.1 (17A400) Issue: When I press Run on any project (including new, empty projects), Xcode immediately crashes. This started only after updating to the latest macOS and Xcode. Crash details: The crash log shows: Application Specific Signatures: ___localError Thread 0 crashed inside -[IDEScheme _executionOperationForSchemeOperationParameters:...] from IDEFoundation/IDEKit. I also noticed background threads calling DVTPortal (developer portal requests) right before the crash. What I’ve tried so far: Cleared DerivedData, ModuleCache.noindex, and Xcode caches. Signed out/in of my Apple ID in Xcode. Recreated project schemes. Verified provisioning profiles. Reinstalled Xcode 26. Unfortunately, the crash still happens. Question: Is this a known issue
9
0
726
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
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
90
Nov ’25
Can’t Debug background.js in Safari App Extension (Manifest V3)
I’m developing a Safari App Extension and I want to debug the background.js script. However, I can’t find any tool or option to do this. When I run the extension from Xcode using the ProjectName Extension (macOS) scheme, I expect to see a “ProjectName” item under the Develop → Web Extension Background Content menu. But there’s nothing there. Has anyone encountered the same issue? How did you fix it? Environment: Manifest Version: V3 Safari: 26.0.1 (21622.1.22.11.15) Xcode: 26.0.1 (17A400)
1
0
645
Nov ’25
Subscriptions not showing in react-native-iap / StoreKit although setup and waiting for review
Hello everyone, I’m currently experiencing an issue where no subscriptions appear in my app when fetching products from StoreKit via react-native-iap. I would like to confirm whether this is related to my App Store Connect setup or a possible StoreKit limitation. Context My app uses react-native-iap and successfully initializes the StoreKit connection with: await RNIap.initConnection(); const items = await RNIap.fetchProducts({ skus: productIds, type: 'subs', }); productIds contains valid identifiers matching those configured in App Store Connect. The API /plan dynamically returns the correct product IDs. The fetch call completes successfully, but returns an empty array ([]). What I have already done Confirmed all subscription products exist and are correctly linked to the same app bundle ID. All subscriptions are currently in “Waiting for Review” status in App Store Connect. Verified that StoreKit connection is initialized correctly (RNIap.initConnection() returns successfully). Tested on a real device (iPho
4
0
411
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
90714: Invalid binary;% xcrun dyld_info -objc ... interface(null)
90714: Invalid binary. The app contains one or more corrupted binaries. Please rebuild the app and resubmit. Xcode Version 16.4 (16F6), minimum operating system iOS 17.6. 按照给出的终端命令,执行之后给出如下输出。但是我并不知道该如何进行下一步操作,代码中全局搜索也没有搜到类似@interface AUChangeSkinShell的代码或者framework,烦请您指导。 According to the given terminal command, the following output is given after execution. But I don't know how to proceed with the next steps regarding this information, We did not find any code or framework similar to '@ interface AUChangeSkinShell' in the global search of the code. Please guide us. % xcrun dyld_info -objc /Library/Developer/Xcode/Playload/EBCampus-ios.app/EBCampus-ios | grep (null) @interface AUUtils : (null) @interface (null) : (null) ... ... @interface (null) : (null) @interface (null) : (null) @interface AUChangeSkinShell : (null) @interface SSPBaseFormatMethod : (null)
1
0
105
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
UIInputView is not deallocated from memory
When a subclass of UIInputView is created programmatically, a memory leak occurs. This issue can be easily reproduced even with a very simple sample project, so I’m submitting this report along with a minimal reproducible example. When a custom view subclassing UIInputView is instantiated in code, _InputViewContent retains the custom view, and the custom view also holds a reference back to _InputViewContent, creating a strong reference cycle that prevents deallocation. The issue consistently occurs and has been confirmed on Xcode 16.4, 26.0, and 26.1. As a workaround, initializing the view via Storyboard allows it to be properly deallocated from memory. (Please refer to the CustomInputView in the attached sample code.) import UIKit final class LeakInputView: UIInputView { deinit { print(LeakInputView deinit) // not called } } final class CustomInputView: UIInputView { required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) } override init(frame: CGRect, inputViewStyle: UIInputView.Style
Topic: UI Frameworks SubTopic: UIKit
1
0
120
Nov ’25