Try this:
1 – From Xcode menu open: Product
> Scheme
> Edit Scheme
2 – On your Environment Variables set OS_ACTIVITY_MODE
= disable
Try this:
1 – From Xcode menu open: Product
> Scheme
> Edit Scheme
2 – On your Environment Variables set OS_ACTIVITY_MODE
= disable