解决方案(参考):

Xcode menu -> Product -> Edit Scheme...

Environment Variables -> Add -> Name: "OS_ACTIVITY_MODE", Value:"disable"

然后再次运行app