Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode - thread_policy_set(1) returned 46

Tags:

xcode

Is there any option/argument in Xcode to hide this annoying console output?

The console is constantly spitting out:

thread_policy_set(1) returned 46
thread_policy_set(1) returned 46
thread_policy_set(1) returned 46
thread_policy_set(1) returned 46
thread_policy_set(1) returned 46
thread_policy_set(1) returned 46
thread_policy_set(1) returned 46
thread_policy_set(1) returned 46
thread_policy_set(1) returned 46
thread_policy_set(1) returned 46
thread_policy_set(1) returned 46
thread_policy_set(1) returned 46

Thanks!

like image 956
Declan Land Avatar asked Oct 31 '25 15:10

Declan Land


1 Answers

We noticed this happening with a library react-native-ux-cam in our RN application. Not sure if you are using RN but maybe take a look at your dependencies and try removing some of them to see if that helps narrow down where the problem exists.

Anyone looking at this for RN specifically, I started removing packages that I knew would be updating a lot, like monitoring dependencies such as react-native-ux-cam. I opened up an issue here

like image 193
Michael Cavallaro Avatar answered Nov 04 '25 03:11

Michael Cavallaro



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!