Post

Replies

Boosts

Views

Activity

Reply to Cannot load a Safari Extension onto my iPhone 15 running iOS 18.4
Hey! This usually happens when Xcode can’t fetch the simulator catalog properly. Here’s the best way to fix it: Clean Xcode’s cache and reset the download catalog by running these in Terminal: rm -rf ~/Library/Caches/com.apple.dt.Xcode rm -rf ~/Library/Developer/CoreSimulator defaults delete com.apple.dt.Xcode DVTFetchedAvailableDownloads Then restart Xcode, go to Settings > Platforms, and try downloading the iOS 18.4 simulator again. If that doesn’t work, try using the command line to force the download: xcodebuild -downloadPlatform iOS This bypasses the GUI and downloads it directly. If you’re still stuck, check if there’s a newer Xcode version (like 16.4 beta or final) from Apple’s Developer website. Sometimes simulators for newer iOS versions only show up in newer Xcode builds. As a last resort, you can manually install the simulator by copying the iOS 18.4 simulator runtime folder (iOS 18.4.simruntime) from someone else’s Mac who already has it, or extract it manually from an IPSW file. Hope this helps get your Safari extension running!
Apr ’25
Reply to Unexpected behaviour of hardware keyboard focus in UITests
Hey Anton.Ye, I faced something similar and found a reliable fix. The issue happens because “Full Keyboard Access” on macOS and “Connect Hardware Keyboard” in the iOS Simulator conflict with Xcode’s UI test system. They cause key events (like Tab or arrow keys) to queue up and only fire after the test ends. Here’s how you can fix it: Turn off Full Keyboard Access on macOS: Go to System Settings > Accessibility > Keyboard > Full Keyboard Access, and turn it off. Turn off Hardware Keyboard in the iOS Simulator: In the Simulator menu bar, go to I/O > Keyboard and uncheck “Connect Hardware Keyboard”. Use the Software Keyboard instead (mimics real iOS device behavior and avoids delayed input). Also, in your UI test code, make sure to force focus before typing to avoid weird delays: let textField = app.textFields["YourTextFieldIdentifier"] XCTAssertTrue(textField.waitForExistence(timeout: 5)) textField.tap() textField.typeText("Sample input") If the keyboard or focus is still buggy: XCUIDevice.shared.press(.keyboardDismiss) textField.tap() textField.typeText("Sample input") This solved the delay and the “burst of focus changes” for me. Hope it helps!
Apr ’25