iOS testing
app testing without jailbreak
iOS development
testing apps without developer account
iOS device testing

Test an iOS app on a device without the Apple Developer Program or jailbreak

Codemia Knowledge Hub ·

You can test an iOS app on a physical device without the Apple Developer Program by signing in to Xcode with a free Apple ID. Xcode's "free provisioning" signs the app with a personal development certificate at no cost; the trade-off is that the app expires after 7 days and must be re-signed.

The minimum workflow:

  1. Sign in with any Apple ID in Xcode (no paid enrollment needed).
  2. Connect your iPhone or iPad via USB.
  3. Select your device as the build target and click Run.
  4. Trust the developer certificate on the device under Settings.

Free provisioning has been available since Xcode 7 (2015) and works with the current Xcode.

Free provisioning with Xcode, step by step

What you need

RequirementDetails
MacAny Mac running a supported macOS version
XcodeLatest stable version from the Mac App Store
Apple IDAny Apple ID (free, no developer enrollment)
iOS deviceiPhone or iPad with a compatible iOS version
USB cableLightning or USB-C depending on the device

1. Add your Apple ID to Xcode

Open Settings (Preferences on older versions), select the Accounts tab and click +:

text
Xcode > Settings > Accounts > + > Apple ID > Sign In

Xcode creates a personal team for your Apple ID. It can sign apps for development but cannot distribute them to the App Store or TestFlight.

2. Configure project signing

Select the target, and under Signing & Capabilities:

  1. Check Automatically manage signing.
  2. Select your personal team from the Team dropdown.
  3. Set a unique Bundle Identifier (e.g., com.yourname.myapp).
text
Target > Signing & Capabilities > Team: Your Name (Personal Team)
                                > Bundle Identifier: com.yourname.myapp

Xcode generates the provisioning profile and signing certificate automatically. If the bundle identifier conflicts with an existing app, change it.

3. Connect the device and build

Connect the device via USB, select it from the device dropdown next to the scheme selector, and click Run (Cmd+R). The first deployment may take a minute while Xcode processes the device's symbol files; later builds are faster.

4. Trust the developer certificate

The first time an app from your personal team runs, iOS blocks it with an "Untrusted Developer" error. Fix it on the device:

text
On the device:
Settings > General > VPN & Device Management > [Your Apple ID]
> Trust "[Your Apple ID]"

This is needed once per Apple ID per device.

5. Enable Developer Mode (iOS 16+)

iOS 16 and later require Developer Mode:

text
Settings > Privacy & Security > Developer Mode > Enable

The device restarts; confirm enabling Developer Mode when prompted. Without it, Xcode cannot install apps.

Limits of free provisioning

LimitationDetails
App expirationApps expire after 7 days and must be re-deployed
App limitMaximum 3 apps per Apple ID per device at a time (10 app IDs per week)
No App Store distributionCannot submit to App Store or TestFlight
Limited capabilitiesNo push notifications, App Groups, iCloud, HealthKit, Apple Pay, etc.
Device limitUp to 3 devices registered per free account
No wildcard App IDsEach app needs a unique bundle identifier

Capabilities that fail to sign

text
1Not available with free provisioning:
2  - Push Notifications (APNs)
3  - App Groups
4  - iCloud (CloudKit, Key-Value Storage)
5  - HealthKit
6  - Apple Pay
7  - Associated Domains (Universal Links)
8  - Network Extensions
9  - Siri / SiriKit

If your app needs these for core functionality, you need the paid Apple Developer Program ($99/year).

Re-signing after 7 days

When the 7-day provisioning profile expires, the app crashes on launch with "Unable to Verify App". Run it from Xcode again:

bash
# Just press Cmd+R in Xcode again
# Xcode will re-sign and re-deploy the app

App data (UserDefaults, Core Data, the documents directory) survives re-deployment as long as the bundle identifier stays the same.

Wireless debugging after the first USB connection

text
Xcode > Window > Devices and Simulators > Select your device
> Check "Connect via network"

The Mac and device must be on the same Wi-Fi network. It is slower than USB but convenient for testing UI interactions untethered.

With iOS 14+ and Xcode 12+ there is also:

text
On the device:
Settings > Developer > (the Developer menu appears after first Xcode deployment)

When the Simulator is enough

For testing that does not need device hardware (camera, GPS, accelerometer, NFC), the Xcode Simulator needs no signing at all:

FeatureReal DeviceSimulator
CPU architectureARM (Apple Silicon)x86_64 or ARM (matches Mac)
Performance accuracyReal-worldFaster than actual device
Camera, GPS, NFCAvailableSimulated or unavailable
Push notificationsRequires paid accountDrag-and-drop APNs payload
Memory pressureReal constraintsGenerous (uses Mac RAM)
Signing requiredYes (free or paid)No

Use it for layout, API integration and automated UI tests, but test on a real device before shipping, since performance differs significantly.

Fixing common install errors

"Unable to install app: device is not available"

Usually Developer Mode is off (iOS 16+). Enable it in Settings > Privacy & Security > Developer Mode.

"Failed to register bundle identifier"

Another app or team already owns the identifier. Pick a unique one:

text
com.yourname.uniqueappname-test

"This app cannot be installed because its integrity could not be verified"

The provisioning profile expired after 7 days. Re-run the app from Xcode.

"Signing requires a development team"

No team is selected. Choose your personal team under Signing & Capabilities.

Mistakes that block testing

Not enabling Developer Mode on iOS 16+. The most common blocker for first-timers, and the error message does not always make the cause obvious.

Forgetting to re-sign after 7 days. The app stops launching with no clear error, and it looks broken when it only needs re-deploying.

Adding capabilities free provisioning lacks. Push notifications or iCloud entitlements cause a signing error with a free account. Remove the capability or switch to a paid account.

Judging performance only in the Simulator. It runs on the Mac's CPU and memory; real devices behave differently, especially for graphics-heavy apps.

Using a generic bundle identifier. com.example.app will conflict with other developers. Use your name or domain.


Free course
Beginner
7 lessons
2 hours
Tackling System Design Interview Problems

A short course that equips you with the skills to approach system design interviews methodically.

Start the free course
Basis Lab
No course covers this one yet

Basis Lab writes one for you from a sentence about what you want to be able to do, then teaches it and checks you understood. Your first course is free.

Build my course
Data Structures & Algorithms practice on Codemia

Step through 300+ coding interview problems with animated visualisers that show the data structure changing as the code runs. The Blind 75 are free.

Practice algorithms