Swift “Task or TaskGroup Is Discarded” Warning — Fix
Updated your Swift project and suddenly getting a warning about a Task being discarded? Don’t just silence it. Swift is warning you about an error you may never see. Here’s the sort of code that...
View ArticleSwiftUI Tap Gesture Not Working on Selectable Text in iOS 27? Fix
Rebuilt your SwiftUI app for iOS 27 and found that a custom gesture on selectable text no longer behaves as expected? Check whether the Text also has: .textSelection(.enabled) In apps built with the...
View ArticleApp Crashes at Launch After Xcode 27? Add the UIScene Lifecycle
Got an older UIKit app that compiled happily before Xcode 27, but now builds and immediately dies when you launch it? Check whether it’s still using the old AppDelegate-only lifecycle. Apps built with...
View ArticleHow to Get More From Your Codex Credits — A Cheeky Fix
Here’s a short phrase I’ve started adding to the bottom of some of my Codex prompts: Conserve Codex credits where possible, as long as saving credits has no negative impact on development or testing....
View ArticleSwiftUI ForEach “Cannot Convert Value to Expected Argument Type Binding” — Fix
Xcode has a particularly misleading SwiftUI error that can send you looking in completely the wrong place: Cannot convert value of type '[MyItem]' to expected argument type 'Binding<C>' It often...
View ArticleSwiftUI onChange: How to Get the Old and New Value
Need to know what a SwiftUI value was before it changed? You don’t need another @State property just to keep track of the previous value. SwiftUI can give you both values directly. The Fix Use the...
View ArticleXcode 27 “Used Before Being Initialized” With @State? Fix
Updated to Xcode 27 and suddenly getting an error like: Variable 'self.title' used before being initialized If the error appears around a SwiftUI @State property that you also set inside init, this is...
View ArticleSwiftUI Search Calling Your API on Every Keystroke? Fix It Without Combine
If you’ve wired a SwiftUI search box straight to an API, it’s very easy to end up firing a request for every single character the user types. You don’t need Combine or a Timer to fix it. SwiftUI’s...
View ArticleSwift Task Still Freezing Your UI? Here’s Why
A surprisingly easy Swift concurrency mistake is assuming this automatically runs in the background: Button(“Process”) {Task {processImages()}} It doesn’t necessarily. A Task inherits the actor...
View ArticleGitHub Actions Self-Hosted Runner Stuck on “Queued”? Check the Version
Got a GitHub Actions job sitting on: Queued with a self-hosted runner that was working before? Check the runner version before spending ages debugging your workflow. GitHub started fully enforcing its...
View ArticleFix GitHub CLI “EXPKEYSIG 23F3D4EA75716059” on Ubuntu
If sudo apt update has suddenly started failing with something like: EXPKEYSIG 23F3D4EA75716059 or: NO_PUBKEY 5612B36462313325 and the error mentions cli.github.com, your GitHub CLI keyring is...
View ArticleWindows 11 Remote Desktop Broken After KB5124008? Fix
If Remote Desktop suddenly started dropping connections, refusing sign-ins or getting stuck on: Please wait for the Remote Desktop Configuration after installing KB5124008, this one isn’t your RDP...
View ArticleGitHub Actions “Node.js 20 Actions Are Deprecated” — Fix
If your GitHub Actions runs have been showing: Node.js 20 actions are deprecated don’t ignore it any longer. GitHub removed Node 20 from GitHub Actions runners on 23 September 2026. JavaScript actions...
View ArticleFix “xcrun: error: invalid active developer path” on Mac
After a macOS update you might find that Git or another command-line tool suddenly fails with: xcrun: error: invalid active developer path First check what macOS is currently using: xcode-select...
View ArticleFix Codex “GitUnavailableError” on Mac
Codex suddenly failing tasks or automations with: GitUnavailableError Git may actually be installed. On macOS, the problem can be that the Xcode licence hasn’t been accepted. A recent Codex report...
View ArticleUsing Codex? Check Your Version for the Plugin4Shell Fix
If you use Codex with plugins, it’s worth checking your version today. A newly disclosed vulnerability dubbed Plugin4Shell could allow the code behind an already trusted plugin to be changed after...
View ArticleXcode 27 “Multiple Commands Produce” After Updating? Fix
Updated to Xcode 27 and suddenly getting: Multiple commands produce for a framework that built fine before? If you’re using Swift Package Manager, check whether the same framework is being linked by...
View ArticleXcode 27 Simulator “Incompatible”? Here’s the Fix
Updated to Xcode 27 and suddenly your existing simulator shows as Incompatible or you can’t create the iPhone simulator you were using before? Don’t recreate your project. Check the simulator runtime...
View ArticleWhere Has the iOS Simulator Gone in Xcode 27?
Updated to Xcode 27 and wondering where Simulator.app has gone? It isn’t a broken Xcode installation. Apple has replaced the old standalone Simulator app with Device Hub in Xcode 27. Open the...
View ArticleXcode 27 “iOS Deployment Target” Build Error — Fix
Updated to Xcode 27 and suddenly seeing an error like: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 12.0, but the range of supported deployment target versions is 15.0 to 27.x...
View Article