cara men -debug sebelum aplikasi meluncurkan Swift

In the Scheme editor in Xcode, you can edit the Debug profile to have the debugger "Wait for XY.app to launch". If you then select Product -> Run, the debugger should wait until you launch the app manually on the device and then automatically attach to the running process.
for detail https://stackoverflow.com/a/11208827/8879138
Excited Echidna