Xcode · Swift · iOS · macOS
Fix Xcode errors, Swift bugs & iOS problems, fast.
Step-by-step fixes for build errors, code signing, SwiftUI, App Store Connect and the bugs that come with every new iOS and macOS release.
Browse by topic
For developers
Xcode Errors
Build failures, code signing and provisioning, simulator problems, archive and upload errors.
For developers
Swift & SwiftUI
Swift and SwiftUI explained with working code: concurrency, data flow, navigation, compiler errors.
For developers
App Store & TestFlight
App Store Connect, TestFlight builds, App Review rejections and StoreKit issues.
For iPhone & iPad
iOS Fixes
Battery drain, Wi-Fi, Bluetooth, storage and app problems after iOS updates.
For Mac
macOS Fixes
macOS update problems, Finder, external drives, storage and apps that won’t open.
What’s new
Developer Updates
New Xcode, SDK and OS releases: what changed, known issues and what to update.
Latest guides
-

How to Add an Activity Indicator in SwiftUI
Learn how to add a spinning activity indicator and full-screen loading overlay in SwiftUI using ProgressView or a UIActivityIndicatorView wrapper.
-

How to Find iOS Simulator App Data and SQLite Files
Locate your iOS Simulator app container folder on macOS using LLDB, xcrun simctl, or Finder to inspect SQLite databases, plist files, and…
-

How to Get the iOS Status Bar Height in Swift and SwiftUI
Learn how to get the iOS status bar height programmatically in Swift using UIWindowScene, safeAreaInsets, and SwiftUI GeometryReader without deprecated APIs.
-

How to Trim Whitespace From a String in Swift
Learn how to trim leading and trailing whitespace and newlines from a String in Swift using trimmingCharacters(in:), custom extensions, and pure Swift.
-

How to Convert NSURL to NSString in Objective-C and Swift
Learn how to convert NSURL to NSString in Objective-C and URL to String in Swift using absoluteString or path, and avoid common…
-

Fix: Valid Signing Identity Not Found in Xcode on a New Mac
Fix the “Valid signing identity not found” error in Xcode on a new Mac by transferring your private key, exporting your profile,…
-

Fix: Unknown class in Interface Builder file in Xcode
Resolve the ‘Unknown class in Interface Builder file’ crash in Xcode by fixing the Custom Class module, Inherit Module From Target, and…
-
Fix: Unwanted Padding and Margins in UITextView on iOS
Remove unwanted padding and margins inside UITextView on iOS by setting textContainerInset and lineFragmentPadding to zero in Swift or Storyboard.
-

Fix: App Store 6.5-Inch Screenshot Dimensions Are Wrong
Fix ‘The dimensions of one or more screenshots are wrong’ in App Store Connect. Get the exact 6.5-inch pixel sizes, simulator tips,…
Built from real problems
Every guide starts from an actual error message, release note or issue developers and users are hitting right now.
Fix first, theory second
A quick answer at the top, then the fixes in order of what’s most likely to work, with code you can copy.
Sources you can check
We link Apple’s release notes and the original discussions, and update guides when new versions change the answer.
