Skip to main content
This guide provides multiple ways to test your React Native app locally to debug issues.

Testing Methods

Development Server

Fastest iteration with hot reloading

Local Production Build

Most similar to TestFlight builds

iOS Simulator

No physical device needed

Preview Builds

Internal distribution builds

Method 1: Development Server (Fastest)

Benefits

  • ⚡ Fastest iteration
  • 🔄 Hot reloading
  • 🐛 Easy debugging with React DevTools
  • 📱 Works with Expo Go

Limitations

  • Not production-like environment
  • Some native features may not work in Expo Go

Benefits

  • 🎯 Most similar to TestFlight builds
  • 🔧 Production optimizations enabled
  • 📦 Same bundle as TestFlight
  • ⚡ Faster than cloud builds

Installing Local Builds

iOS:
  1. Open the generated .app file in Xcode
  2. Connect your iOS device
  3. Select your device in Xcode
  4. Click “Run” to install
Android:

Method 3: iOS Simulator

Prerequisites

  1. Install Xcode from App Store
  2. Install Command Line Tools: xcode-select --install

Running on Simulator

Benefits

  • 🖥️ No physical device needed
  • 🔄 Fast iteration
  • 🐛 Full debugging capabilities

Method 4: Preview Builds (EAS)

Benefits

  • 📱 Install without App Store
  • 🔗 Shareable via TestFlight or direct download
  • 🎯 Good for team testing

Debugging TestFlight Issues

Step-by-Step Workflow

1

Identify the Issue

Check TestFlight crash logs for specific error messages. Note iOS version and device type.
2

Reproduce Locally

3

Test on Physical Device

Install the local build on the same device type as the failing report.
4

Compare Environments

  • Development vs Production builds
  • Different iOS versions
  • Different device types

Common Issues & Solutions


Quick Commands Reference

Development

Local Production Builds

Cloud Builds

Debugging


Troubleshooting Checklist

Before Building

  • Run npm run check-all (no errors)
  • Check environment variables are set
  • Verify all dependencies are installed
  • Test in development mode first

During Build

  • Monitor build logs for errors
  • Check for missing certificates
  • Verify bundle identifier matches
  • Ensure version numbers are correct

After Build

  • Test on physical device
  • Check crash logs
  • Verify all features work
  • Test with different user accounts

1

Start with Development

2

Test Core Features

Ensure basic functionality works in development.
3

Build Locally

4

Test on Device

Install and test the local build.
5

Compare with TestFlight

Identify differences between local and TestFlight builds.
6

Fix and Repeat

Make changes, rebuild, and test again.

Resources