Search Unity

iOS - Remote debugging

Discussion in 'iOS and tvOS' started by Thormor, Dec 20, 2012.

  1. Thormor

    Thormor

    Joined:
    Nov 22, 2012
    Posts:
    39
    Hello everyone!

    I am trying to do remote debugging on the device, but I am getting an annoying issue.

    I am using my Mac as a hotspot to share my internet connection. My iPad and iPhone are connected to the said Wi-Fi network.
    I have a developer build with auto connect profiler turned on.

    When I go in Mono-develop and go under Run > "Attach to Process" I do not see any of the device. The only thing I see is null (mono) and Unity Editor (Unity)...

    Do you have any idea of what I am doing wrong or not doing ?
     
  2. Thormor

    Thormor

    Joined:
    Nov 22, 2012
    Posts:
    39
  3. sfilo

    sfilo

    Joined:
    Oct 23, 2012
    Posts:
    30
    I have the same issue.
     
  4. eezSZI

    eezSZI

    Joined:
    Nov 16, 2012
    Posts:
    121
    If you are able to make a "computer-to-computer network" on your mac and connect the device to it, I've gotten that to work. Usually have to restart Unity once the device is connected to the network you create. I have been unable to get it to connect just using the same WiFi either.
     
  5. sfilo

    sfilo

    Joined:
    Oct 23, 2012
    Posts:
    30
    @eezSZY
    I switched from hotspot to computer to computer and now the device is shown in the attach to process dialog.
    Thank you very much. I can't describe what a headache this was turning into.
     
  6. Thormor

    Thormor

    Joined:
    Nov 22, 2012
    Posts:
    39
    Should have wrote something when I found the solution. This did work for me :)
     
  7. dreammakersgroupAdmin

    dreammakersgroupAdmin

    Joined:
    Feb 13, 2012
    Posts:
    40
  8. ripegooseberry

    ripegooseberry

    Joined:
    Aug 10, 2015
    Posts:
    1
    Connecting both devices to the same WI-FI network was what helped me. I thought that just being connected via USB is enough. #noob
     
  9. smartinetz

    smartinetz

    Joined:
    Dec 8, 2017
    Posts:
    49
    I know this post is really, really old but using a computer to computer network WORKED!!!!!

    Here's what I did:
    1. Turn on flight mode, NO WI-FI (on tablet/phone)
    2. Connect the Tablet via USB to your Mac
    3. Go to Preferences/Sharing and then to Internet Sharing
    4. Choose iPad/iPhone USB (turn it on)
    5. Choose "Share your connection from: Wi-Fi"
    6. Turn on "Internet Sharing" now
    7. (again) Make sure there is NO WI-FI connection on your tablet/phone running
    8. Check if the USB internet connection is working by accessing the browser on your tablet
    Regards
     
  10. usingtheirs

    usingtheirs

    Joined:
    Oct 5, 2018
    Posts:
    38
    I'm developing a free tool for remote debugging.
    This free tool - Remote Inspector - may help you.
    https://u3d.as/1kp3