Error: Protocol not available, dumping backtrace [duplicate]

I found the solution as follows:

  1. In XCode menu, Go to Product > Scheme > Edit Scheme
  2. Open the Arguments tab
  3. Add the Environment Variable :- OS_ACTIVITY_MODE is disable

Xcode 8 Edit Scheme screen capture image

Leave a Comment