Launch HN: Bitrig (YC S25) – 在你的 iPhone 上构建 Swift 应用
23 分•作者: kylemacomber•9 个月前
大家好,我们是 Kyle、Jacob 和 Tim。我们正在开发 Bitrig (<a href="https://www.bitrig.app">https://www.bitrig.app</a>)。
Bitrig 让你只需通过与 AI 聊天,就能在手机上为你的手机创建原生 Swift 应用。它就像 iPhone 应用的 Lovable。
这里有一个 Bitrig 运行的视频:
<a href="https://youtu.be/CUlWhF3ERME" rel="nofollow">https://youtu.be/CUlWhF3ERME</a>
我们曾在苹果公司创建了 SwiftUI,旨在帮助开发者用更少的代码制作更好的应用。Bitrig 让任何人都能达到这种精细程度。如果你曾想过制作 iPhone 应用,Bitrig 是开始使用 Swift 最简单的方法。
Bitrig 使用 Claude Sonnet 4.0,并辅以简单的系统提示和工具定义来生成原生 Swift 代码。通常,在 iPhone 上运行此操作需要使用 Xcode 编译和签名,而你无法在 iPhone 上运行 Xcode。所以我们做了一些……有创意的事情。我们编写了一个自定义的 Swift 解释器!除其他外,这让你可以在 Bitrig 中即时预览你的应用,并仅通过一个 URL 与他人分享。
如果你拥有付费的 Apple 开发者帐户,你可以将其与 Bitrig 连接。我们将在我们的服务器上编译你的应用,并将其上传到 App Store Connect,这样你就可以在 TestFlight 或 App Store 上分发它。这最后一步还为你提供了应用的完全优化版本,你可以直接安装在主屏幕上。
我们认为直接在手机上构建应用有一种令人兴奋的感觉。我们希望你试用一下 Bitrig!
我们正在将 Apple 的 SDK 框架逐个导入 Bitrig。如果你尝试构建某些东西并遇到缺失的框架,请告诉我们,我们会优先添加它。
在 App Store 上下载 Bitrig:
<a href="https://apps.apple.com/us/app/bitrig/id6747835910">https://apps.apple.com/us/app/bitrig/id6747835910</a>
查看原文
Hi HN, we’re Kyle, Jacob, and Tim. We’re building Bitrig (<a href="https://www.bitrig.app">https://www.bitrig.app</a>).<p>Bitrig lets you create native Swift apps for your phone, on your phone, just by chatting with AI. It’s like Lovable for iPhone apps.<p>Here's a video of Bitrig in action:
<a href="https://youtu.be/CUlWhF3ERME" rel="nofollow">https://youtu.be/CUlWhF3ERME</a><p>We created SwiftUI at Apple to help developers make better apps with less code. Bitrig lets anyone build at this level of polish. If you've thought about making an iPhone app, Bitrig is the easiest possible way to get started with Swift.<p>Bitrig uses Claude Sonnet 4.0 with a simple system prompt and tool definitions to generate native Swift code. Normally running this on an iPhone would require compiling and signing it with Xcode, and you can’t run Xcode on an iPhone. So we did something… creative. We wrote a custom Swift interpreter! Among other things this lets you instantly preview your app in Bitrig and share it with just a URL.<p>If you have a paid Apple developer account, you can connect it with Bitrig. We’ll compile your app on our server and upload it to App Store Connect, so you can distribute it on TestFlight or the App Store. This last step also gives you a fully optimized build of your app that you can install right on your Home Screen.<p>We think there’s something electric about building apps directly on your phone. We hope you give Bitrig a try!<p>We’re ingesting Apple’s SDK frameworks into Bitrig piece by piece. If you try to build something and hit a missing framework, let us know and we’ll prioritize adding it.<p>Download Bitrig on the App Store:
<a href="https://apps.apple.com/us/app/bitrig/id6747835910">https://apps.apple.com/us/app/bitrig/id6747835910</a>