Why Android can't use CDC Ethernet (2023) (jordemort.dev)
238 points by goodburb 11h ago 99 comments
Forests offset warming more than thought: study (news.ucr.edu)
107 points by m463 3h ago 26 comments
Ask HN: What are some tips to make Xcode UI tests / Preview more stable?
1 thephyber 0 5/7/2025, 11:08:05 PM
Just started iOS development (SwiftUI) 6 weeks ago. A first app is developed, but getting the tooling set up for UI tests has been a PitA. Unstable. Unable to mock the “Sign in with Apple” feature (so I don’t need to authenticate 40 times per test suite). Unreliable previews on the XCode canvas.
XCode is not a super stable. Parse errors and runtime errors are incredibly difficult to troubleshoot depending on how accurate the error message is (eg. the `.toolbar` View modifier seems to always take the bullet for other code errors).
Is there a great resource for XCode development? (Assume I have already watched all relevant WWDC videos, all of the top 20 relevant YouTube videos, and the top 10 websites and Medium articles in Google search results.) I’m considering buying the HackingWithSwift book on testing Swift.
No comments yet