解决办法是: Xcode menu -> Product -> Edit Scheme... Environment Variables -> Add -> Name: "OS_ACTIVITY_MODE", Value:"disable" Run your app again, done! 这样就没问题了