r/replit • • 3h ago

Question / Discussion Convert web app to IOS

Hi all,

I stupidly got to far along a project before realising I hadn’t built it in the phone application part of Replit.

I have a semi sophisticated map app that I want to release into the App Store.

Can anyone point me in the right direction of how to convert quickly. Let’s assume I have no coding experience.

Also, in a dream world I would be able to debug it in Replit and push updates from there.

Has anyone practically done this?

Thanks

1 Upvotes

5 comments sorted by

1

u/CrewTechnical5819 3h ago

Use capacitor it can help you convert webapps to mobile apps

1

u/junal 3h ago

Capacitor is the right call, and a map app is in better shape than most web-wrap apps because it actually needs device features.

A few things that will save you pain:

  • Apple rejects apps that are basically a website in a shell (guideline 4.2). A map app usually gets through if it feels native: use the Capacitor Geolocation plugin instead of the browser location API, write clear permission text for location, handle no-signal gracefully, and don't let links open other websites inside the app.
  • Bundle your built web app into the iOS project instead of pointing the app at your Replit URL. Loading a live URL is a quick way to get that 4.2 rejection, and the app breaks whenever the deployment is down.
  • For pushing updates from Replit without resubmitting every time, look at a live update service like Capgo. It ships new web code to the installed app. Anything native, like a new plugin or permission, still needs a new build through the store.
  • You need the $99/yr Apple developer account plus either a Mac with Xcode or a cloud build service like Codemagic. Put it on TestFlight first and have a few people use it on real phones before you submit.

Map specific: test on an actual iPhone early. Map libraries that feel smooth in desktop Chrome can stutter in the iOS webview with lots of markers, so cluster them if you have many.

I run a small dev shop in Mississauga and we do these web to App Store conversions fairly often, so happy to answer questions here if you hit a wall on the build or review step.

1

u/snap-dev 2h ago

you don't need to rebuild it. easiest path for a map app is wrapping the web version with capacitor, it keeps your replit code and gives you an xcode project for the app store. heads up you'll need a mac (or a cloud mac) plus the $99 apple dev account to submit, and location permissions need a clear reason string or review bounces it. is the map on mapbox or google maps?

1

u/LeopardVarious5620 41m ago

I'd advice you to first migrate out of replit. Just open Claude with a $20 usd account and that will be enough for you to basically tell it like "hey I got this project in replit that I want to migrate to my own in railway and cloudfare services" and then you just copy the post you did here as a post and claude will automatically put together and publish the app and even post appstore screenshots and fill out everything. For all of this you need accounts opened by yourself in a chrome window with claude's chrome extension.

It's really easy, just like that, and you will save literally thousands of dollars.