Error: Protocol not available, dumping backtrace [duplicate] January 31, 2023 by Tarik I found the solution as follows: In XCode menu, Go to Product > Scheme > Edit Scheme Open the Arguments tab Add the Environment Variable :- OS_ACTIVITY_MODE is disable