← Build an iPhone app
Lesson 5 of 8

Run your app on your own iPhone

15 min Mac and iPhone

Seeing your own app on your own phone is a great moment. You can do it for free with your regular Apple Account.

Steps

  1. Connect your iPhone to your Mac with a cable. Unlock the phone and tap Trust if asked.
  2. On the iPhone, turn on Developer Mode: Settings › Privacy & Security › Developer Mode, then restart when asked. (It only appears after you’ve connected to Xcode once.)
  3. In Xcode, click your project’s name at the top of the left-hand file list, choose the Signing & Capabilities tab, and under Team choose your name (Personal Team). If it isn’t there, click Add Account and sign in.
  4. In the device menu at the top of Xcode, choose your iPhone instead of a simulator.
  5. Click ▶ Run.
  6. The first time, your iPhone may say the developer isn’t trusted. Go to Settings › General › VPN & Device Management, tap your Apple Account email under Developer App, and choose Trust.

Your app’s icon now sits on your home screen.

The seven-day catch

With a free account, apps you install this way stop opening after about seven days. Just connect and press Run again. A paid developer membership removes that limit and lets you share test versions with friends through Apple’s TestFlight app.

Try it now. Use your app for a few days, for real. Keep a list of anything annoying or missing. Then ask your AI assistant to help with the top three. Real use is the best design tool there is.

The takeaway. You’re now a person who has built an app and installed it on their phone. Most people never get this far.