iOS: How to debug “freshly launching” an app from a URL

These steps can be followed on the device. Founded at this link.

  1. Run the app from Xcode to install it on your device and then stop it
    from Xcode.
  2. Force quit the app from the app switcher UI on the device.
  3. Navigate to the scheme for the project in Xcode. Under the Run
    section’s Info tab, there is a radio button for “Wait for executable
    to be launched”. Make sure this is checked instead of the
    “Automatically” option.
  4. Run the app from Xcode. It will not open
    on the device, but the debugger will wait for it to open and then it
    will attach to it.

On the simulator as suggested by Marc-Alexandre Bérubé.

  1. Run your app on the simulator.
  2. Force quit the app on the simulator. Press cmd+shift+(hit h twice). Swipe the app up.
  3. Open your terminal and enter this xcrun simctl openurl booted http://yourdomain/path.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)