Key takeaways
- Export your Firebase Studio workspace well before March 22, 2027 – after the shutdown, remaining workspace data is deleted.
- Your Firebase project is not affected: Auth, Firestore and App Hosting keep running, and an iOS client can use them directly.
- A Next.js prototype becomes an iOS app either as a native shell around the hosted app or as a SwiftUI rebuild that shares the same backend.
- Keep Gemini calls and API keys on the server, add Sign in with Apple where Google sign-in exists, and disclose AI data flows before review.
First, get the code out of Firebase Studio
Google announced the end of Firebase Studio in March 2026. Since June 22, 2026 nobody can create new workspaces, existing workspaces stay accessible for migration, and on March 22, 2027 the service shuts down for good. Google's migration guide is clear that the sunset only concerns the development environment – your Firebase project, its database, authentication and App Hosting deployments keep working.
Google offers several exits:
- Google AI Studio – the recommended successor for people who used the App Prototyping agent, web-based and prompt-driven.
- Google Antigravity – a local, agent-first IDE with an automated migration.
- Export to GitHub or a zip download – plain code you can open with any tool.
For an App Store release, choose GitHub even if you also try one of the other two. A repository is what every coding agent, every CI service and every reviewer of your code can work with. Check that the export contains more than the app code: Firestore security rules and indexes, the App Hosting configuration and a list of the environment variables your app needs. Secrets may not travel with the export, so note which ones you will have to recreate.
What a Firebase Studio prototype actually is
The App Prototyping agent generated web apps, specifically Next.js apps. A typical prototype consists of:
- a Next.js frontend and server code, deployed to Firebase App Hosting, which renders pages on the server,
- Firebase Authentication and Cloud Firestore for users and data,
- AI features that call Gemini from server code, with the API key kept in environment variables,
- a generated interface that looks good in a browser and was never designed for touch, safe areas or offline use.
There is no Xcode project, and a server-rendered Next.js app cannot simply be bundled into one – the pages need the server. That leaves two honest routes.
Talk to an AI Code Engineer about shipping your app to the App Store.
In a free call we look at what you built, tell you honestly what stands between it and an approved release – and whether you need us at all.
Two routes to iOS
| Native shell around the hosted app | SwiftUI rebuild on the same backend | |
|---|---|---|
| What ships | A Swift project with a web view loading your App Hosting URL, plus native features | A native client using the Firebase iOS SDK and your existing Firestore data |
| Effort | Days to weeks | Weeks, depending on the number of screens |
| Review risk | Guideline 4.2 – the app must offer more than the website | Lower on 4.2; the usual completeness and privacy checks |
| Updates | Web changes reach users instantly – with the release-discipline risks that brings | Every change ships as a new build |
| Fits when | The prototype is mostly forms, lists and dashboards | The app needs offline use, device features or a fluid native feel |
The shell route follows the same pattern as other web-app builders – our post on converting Google AI Studio apps to iOS covers it, and many Firebase Studio prototypes will end up in AI Studio anyway. The rest of this article looks at the rebuild, where a coding agent changes the economics most.
Rebuilding in SwiftUI with a coding agent
The exported Next.js code is an excellent specification. A coding agent such as Claude Code, the Codex CLI or one of the agents inside Xcode can read it and derive the screens, the Firestore collections, the security rules and the prompts the AI features use. Work in this order:
- Inventory. Ask the agent to list every route, data model, rule and server action in the Next.js repository. Correct the list – it becomes the feature scope.
- Project skeleton. A new Xcode project with the Firebase iOS SDK added through Swift Package Manager, a separate iOS app registered in the same Firebase project and its
GoogleService-Info.plist. - Auth and data first. Sign-in and the main Firestore reads and writes, tested against the existing security rules – both clients share them, so never loosen them to make iOS work.
- AI features through the server. The app calls a server endpoint or a callable function that holds the Gemini key. An API key inside an app binary can be extracted.
- Abuse protection. Firebase App Check with Apple's App Attest makes it harder for anything but your app to call your backend.
- Screens. One screen per task, each with acceptance criteria and a SwiftUI preview.
Agent-written Swift still needs a Mac and Xcode 26 to build and archive. Our guide to Claude Code for SwiftUI describes a build loop that works.
The Apple-specific work Firebase does not do for you
- Sign in with Apple. If the prototype offers Google sign-in for the main account, App Review expects an equivalent privacy-friendly option. Firebase Authentication supports Apple as a provider – see Guideline 4.8.
- Account deletion. Users who can create an account must be able to delete it in the app. A server-side function removes the Auth user and their Firestore documents; Apple also asks you to revoke Sign in with Apple tokens.
- Push. Firebase Cloud Messaging on iOS delivers through APNs, so you create an APNs authentication key in your Apple Developer account and upload it to Firebase.
- Privacy. Your App Privacy answers must cover Analytics, Crashlytics, push tokens and the data your AI features send to Gemini. Keep Firebase SDKs current so their privacy manifests are included, and use Xcode's privacy report to check the result.
- AI disclosure. Guideline 5.1.2 requires you to tell users when personal data goes to a third-party AI service and to ask permission first.
Who does what before submission
The agent can build the app, the tests and a fastlane pipeline that uploads to TestFlight. A person enrolls in the Apple Developer Program (organizations need a D-U-N-S Number), creates the App Store Connect record, answers the privacy and age-rating questions, writes review notes with a working demo account and talks to App Review.
That human part is what our AI Code Engineers take over in your own account through the iOS submission service. For Android, read Firebase Studio app to Google Play – the Firebase settings that break on Play are different from the ones on iOS.
Checklist: Firebase Studio prototype to the App Store
- The workspace is exported to GitHub, including security rules, indexes and hosting configuration.
- Required environment variables and secrets are listed and recreated outside Firebase Studio.
- You chose between a native shell and a SwiftUI rebuild based on scope and review risk.
- The iOS app is registered in the existing Firebase project and uses the same security rules.
- Gemini keys stay on the server; App Check protects the backend.
- Sign in with Apple, in-app account deletion and APNs push are configured.
- App Privacy answers cover Firebase SDKs and AI data flows; users consent before data goes to Gemini.
Frequently asked questions
Will my deployed Firebase Studio app stop working on March 22, 2027?
According to Google, no. The sunset covers the Firebase Studio development environment; apps you deployed and core Firebase services such as Firestore, Authentication and App Hosting keep running. Unmigrated workspace data is deleted, though.
Can Firebase Studio produce an iOS app directly?
No. The App Prototyping agent generated Next.js web apps. An iOS app needs either a native shell around the hosted web app or a native rebuild, built with Xcode on a Mac.
Should I move to Google AI Studio or Antigravity first?
Either is fine for continued development. For the App Store release, what matters is that the code also lives in a GitHub repository, so a coding agent and a CI pipeline on macOS can build the iOS app from it.
Can you help us get the app into the App Store?
Yes. Book a free call and an AI Code Engineer looks at your export and your Firebase setup with you, recommends a route and, if you want, handles signing, the listing and App Review in your own account.
Free, 15 minutes, no obligation
Get your app from agent output to approved release.
Our AI Code Engineers take apps built with Claude Code, Codex, Cursor, Lovable, Base44 and co. through signing, CI/CD, store listings and review – in your own developer accounts.
AI tools, store policies and requirements change quickly – always check the current documentation of the tools and stores you use. This article is independent advice and not affiliated with or endorsed by Apple, Google, Anthropic, OpenAI or any other company or product mentioned; all trademarks belong to their owners.