TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What are some tips to make Xcode UI tests / Preview more stable?

1 点作者 thephyber6 天前
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.<p>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).<p>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.

暂无评论

暂无评论