How I Built a Profitable AI Fitness App After Getting Fired
DevBlog
Mar 23, 2026 · 6 min read · 20 views
Losing a corporate job is scary, but it can also be a fresh start. About a month ago, I was fired from my job as a software engineer. Instead of rushing to find another desk job, I set a big goal for myself. I decided to build my first iOS app from scratch without knowing the Swift programming language. I wanted to see if I could turn this app into a business that makes five figures in monthly recurring revenue. This is the story of how I went from an idea to a live app on the App Store in just thirty days, video.
Finding the Right Idea in a Crowded Market
I spent a lot of time looking at social media to see what other independent developers were doing. I saw many solo founders making more money than I ever made at my corporate job. This inspired me to try a mobile app. I have built web apps and APIs before, but mobile was brand new territory. I knew I needed an idea that already had proof of success.
I have loved fitness since high school. For my college final project, I even built a web app for tracking calories. These days, Artificial Intelligence (AI) makes things much easier. I decided to build an app where you take a photo of your food to get instant calorie and macro data.
To make my app stand out, I added a twist. I have been running for a year, and I noticed how different foods change my energy levels. My app would not just track calories. It would tell users how their food choices would make them feel. This extra value helps it compete with apps that already exist.
Starting the Build with No Coding Knowledge
I did not know how to code in Swift. To solve this, I used a code editor called Cursor. This tool uses AI to help write code. I downloaded Xcode and the iOS simulator to start. The first big task was the backend. I needed a way to turn a food picture into data.
I looked at many AI options. Some companies sell APIs that do this for you, but they cost over $100 a month. That was too expensive for a new project. I also thought about building my own AI model, but that would take too much time. I chose a pay-as-you-go microservice. This service only charges me for the pictures it actually analyzes. This kept my costs very low.
Designing a User Interface That Works
Once the backend was started, I needed a design. I looked at sites like Dribble and Mobin to find dashboard ideas. I saved these as references so the AI could see what I wanted. I needed a simple screen that could open the camera and take a photo.
The first tests were hard. I hit many errors while connecting the AI to my app. I had trouble sending pictures and saving them to my database. I almost gave up. But then, the app finally worked. It correctly identified a cup of yogurt. The calorie counts were a bit off, but the main technology was working.
I then built other parts of the app:
Editable meal detail screens.
A settings tab for body stats.
An onboarding flow to welcome new users.
The design was tricky. Sometimes the screens looked zoomed in or shifted to the right. Cursor could not fix it automatically because the problem was deep in the UI structure. I had to spend a lot of time moving things around to make the app look professional.
Setting Up the Business and Analytics
A good app needs more than just a camera. It needs to make money and track how people use it. I integrated PostHog for analytics. This tool shows me where people stop using the app. If everyone leaves on the third screen, I know that screen has a problem.
Next, I focused on the paywall. I used Revenue Cat to handle the money side of things. Revenue Cat has a tool that lets you build a paywall with a drag-and-drop editor. This saved me from coding the payment screens by hand.
I also had to handle user accounts. I set up Google and email login. Apple requires a "Sign in with Apple" option, but you need a paid developer account for that. I also ran into a problem with "magic links" for email login. Apple testers need a specific way to log in without using their own email. I had to hard-code a special test account just for them.
The Struggle with the Apple Developer Program
Joining the Apple Developer Program costs $100 a year. It felt like joining an elite club, but the process was a mess. Apple made me enter my payment info twice. I was worried they would charge me double. Once I got in, I had to use App Store Connect.
Setting up the store page was frustrating. I had to:
Create a subscription group.
Fix missing metadata errors.
Add my bank details so Apple could pay me.
I spent half a day fixing a single error that didn't have a clear message. Even the AI didn't know how to fix it. I finally found the answer on an old Reddit thread. Without that fix, my paywall would not show up for users.
Surviving the App Store Review Process
After a month of work, I submitted the app. I was very excited, but Apple rejected it immediately. They are very strict. I had to create full web pages for my Terms of Service and Privacy Policy. I also had a major bug. My app would show a paywall even to people who had already paid!
I am glad Apple caught that bug. It would have been a disaster for my first customers. I fixed the code and added the missing links in the app description. I resubmitted the app the next day. A short time later, it was finally approved.
Results from the First Week
The app is now live. In the first week, I saw surprising results. Apple often promotes new apps in the store, which brought in an organic audience. I also have a small community of developers who helped me find bugs.
Here is what happened in the first seven days:
The app gained its first paying subscribers.
People started using the AI scanner daily.
I learned which parts of the onboarding process were confusing.
I am not at $10,000 a month yet, but the start is promising. This project proved that you do not need to be a Swift expert to launch an app. You just need the right tools and the will to solve problems as they appear.
What Comes Next
Now that the app is live, the real work begins. Building the app was only the first half. Now I have to market it. I plan to use Instagram Reels to show people how the AI scanning works. Marketing is the only way to grow the monthly recurring revenue to my goal.
If you are thinking about building an app, do not let a lack of coding skills stop you. Use AI tools to help you write the code. Focus on a simple version of your idea first. Solve the bugs as they come, and do not get discouraged by rejections.
If you want to follow this journey, stay tuned for more updates. I will share exactly how my marketing efforts work and how the revenue changes over time.
Are you ready to build your own app? Join a community of builders and start your first project today!
Building something of your own is the best way to move forward after a job loss. It takes a lot of hours and many cups of coffee, but seeing your app on the App Store is a great feeling. I hope my experience shows you that you can turn a bad situation into a new career in just one month. Keep coding and keep building.