Skip to reading
Mobile Game Setup & Testing

Run the real app from Xcode

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

IPHONE AND IPAD / INSTALL AND DEBUG

The Godot iOS preset shows the team, export method, signing identity and provisioning options. Linux editor capture; signing happens on the Mac.

01. In Xcode select the app target, then Signing & Capabilities. Choose the same team and bundle ID as the Godot preset. For a development run, use automatic signing if that suits your team. If you use manual signing, select the matching development certificate and profile.

02. Select the connected iPhone or iPad as the run destination, then choose Product Run. Keep the device unlocked for the first install. If signing fails, expand the first signing error and compare the named team, bundle ID and device. A successful simulator run is a separate result from a run on a physical device.

03. With Xcode attached, reproduce the problem and inspect the debug console. For a reproducible hitch use Product Profile and Instruments. Time Profiler helps identify busy CPU code. Allocations helps you look for memory growth after repeated room changes. Compare the same route before and after one change.

04. Stop the Xcode session and relaunch the app by tapping its icon. Test entering background, returning from the lock screen, opening the software keyboard and loading a save. On iPad, also try a hardware keyboard or pointer and any resizing modes you claim to support.

If a tester can install the game but it closes on launch, get the crash report for that build and retain its matching Xcode archive and dSYM symbols. Matching symbols turn raw addresses into function names. A fresh rebuild produces different symbols.

Page 14 of 22Permalink
Go to page