EmergeTools / ETTrace

Easily and accurately profile iOS apps
https://www.emergetools.com/ettrace
MIT License
532 stars 20 forks source link

Connection failed #83

Closed iCodeWoods closed 2 months ago

iCodeWoods commented 2 months ago

Steps I Followed:

  1. Added ETTrace as a Swift package
  2. Install the runner with brew install emergetools/homebrew-tap/ettrace
  3. Run the app from Xcode
  4. Kill the app, and then launch the app by manually tapping the icon on the iOS homescreen
  5. Execute the ettrace command in the terminal

Issues Encountered:

  1. When i use device, run ettrace command will get below error:
    
    ettrace
    Please open the app on the device
    Re-run with `--simulator` to connect to the simulator.
    Press return when ready...

Connecting to device. Connection failed, make sure the app is open on your device Disconnected before results received, exiting early


2. When i use simulator, run `ettrace` command will get below error:
``` shell
ettrace --simulator

Please open the app on the simulator
Press return when ready...

Connecting to device.
ETTrace error: Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused"
iCodeWoods commented 2 months ago

My bad, closed.