Enable Developer Mode for iPhone location testing
The switch is only one step. Pairing, trust, Xcode preparation, and device readiness are the parts that usually hold up the first test.
6 min readUpdated

A Mac cannot send a simulated test location to an ordinary locked-down iPhone. Apple requires Developer Mode on the phone, along with a trusted connection to the Mac. The setting is deliberate because developer workflows can install and run software that has not come through the App Store review process.
Developer Mode is appropriate on a development or QA device that you control. It does not jailbreak the phone, disable Location Services, or grant every app location permission. It allows specific developer features while iOS keeps its normal privacy prompts and device security in place.
Before you start
Use a Mac with Apple’s developer tools installed and a cable that supports data, not only charging. Unlock the iPhone, connect it to the Mac, and respond to the Trust This Computer prompt on the phone. The Mac may also ask you to confirm the pairing.
Give the first pairing a few minutes. The Mac may need to prepare device support before the phone becomes available. Keep the phone unlocked and nearby until that setup finishes.
If this is a company device, check the organization’s device policy first. A managed iPhone may hide Developer Mode or prevent it from being enabled. Do not remove management controls to get around that restriction. Ask the administrator for a development device or an approved testing process.
Enable Developer Mode on the iPhone
- Open Settings on the iPhone.
- Choose Privacy & Security.
- Scroll to Developer Mode and turn it on.
- Approve the restart when iOS asks for it.
- After the phone restarts, unlock it and confirm that you want to enable Developer Mode.
The restart and second confirmation are part of the process. If you enable the switch but walk away before confirming after restart, the mode remains unavailable to the Mac.
If Developer Mode is missing
First reconnect the unlocked phone to the Mac and make sure the trust relationship completed. Open the Mac’s developer device window or start the developer workflow that needs the phone, then look in Privacy & Security again. The option may not appear until iOS has seen a developer connection.
A charging icon does not prove that the cable carries data. Try a cable and port you have used for file transfer. If the Mac can see the iPhone but reports that it is unavailable, leave the phone unlocked for a moment while device support finishes preparing. Restarting both devices is reasonable after you have ruled out the cable and trust prompt.
On a managed phone, a missing switch may be intentional. On a personal phone, also check whether Screen Time restrictions are blocking account or security changes. Do not install a profile from an unknown website to make the setting appear. Developer Mode is a built-in iOS control and does not need a third-party profile.
Verify the development connection
Keep the iPhone unlocked and connected while the Mac detects it. In GhostMe, the device should appear as available before you try to apply a location. If it is listed but unavailable, read the status rather than repeatedly pressing Start. The usual causes are an incomplete trust handshake, a locked phone, or Developer Mode that was not confirmed after restart.
A connected device still controls app-level privacy. Open the app you are testing and give it the location permission needed for that test. Precise Location, foreground access, and background access are separate cases. A simulated coordinate cannot turn denied permission into an authorized one.
Run a small first test
Start with one nearby static coordinate instead of a long route. Apply it, open your app, and confirm the expected map or location label changes. Then clear the simulation and check that the phone returns to its normal location. This small loop proves the connection before route timing, background behavior, and app caching enter the picture.
Once that works, the iPhone location testing workflow shows how to structure repeatable test runs. For motion-dependent behavior, see the guide to testing a GPS app without physically moving.
Turn Developer Mode off when it is no longer needed
Return to Settings, Privacy & Security, Developer Mode to disable it. iOS may restart as part of the change. Turning the mode off does not clean your app’s caches or reset its saved places, so clear any test data separately.
Developer Mode is not the same thing as an active simulated location. Stop and clear the location from the Mac at the end of each run, even if you plan to leave Developer Mode enabled for tomorrow’s work. The GhostMe FAQs explain device setup, license behavior, and how to return a phone to its regular location.
Keep reading
- How to test iPhone geofencing without travelingA useful geofence test starts outside the region, crosses the actual boundary, and records what the app does before, during, and after the event.
- How to test iOS location permissions properlyPermission testing is a state machine, not one alert. This is the small matrix that catches the most common real-device failures.
- Simulate walking and driving routes on an iPhoneA line between two pins is not a route test. Transport mode, timing, turns, pauses, and cleanup all change what the app experiences.