question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Xcode 14.0 beta 4 reports "Hang Risk" in RCTWebSocket

See original GitHub issue

Description

Error reported: Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a lower QoS thread running at QOS_CLASS_DEFAULT. Investigate ways to avoid priority inversions. Using Xcode Version 14.0 beta 4 (14A5284g).

Screenshot 2022-08-12 at 17 44 11

Seemingly originates from RCTSRWebSocket.m

Version

0.66.3

Output of npx react-native info

info Fetching system and libraries information… System: OS: macOS 12.5 CPU: (16) x64 Intel® Core™ i9-9880H CPU @ 2.30GHz Memory: 186.13 MB / 16.00 GB Shell: 5.8 - /usr/local/bin/zsh Binaries: Node: 14.17.1 - ~/.nvm/versions/node/v14.17.1/bin/node Yarn: 1.22.10 - ~/src/github.com/umbermoney/daisy/node_modules/.bin/yarn npm: 6.14.13 - ~/.nvm/versions/node/v14.17.1/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.10.1 - /Users/lucas/.rbenv/shims/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: API Levels: 21, 28, 29, 30 Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2 System Images: android-29 | Google APIs Intel x86 Atom, android-31 | Google APIs Intel x86 Atom_64 Android NDK: Not Found IDEs: Android Studio: 2021.2 AI-212.5712.43.2112.8609683 Xcode: 13.3/13E113 - /usr/bin/xcodebuild Languages: Java: 1.8.0_251 - /Users/lucas/.jenv/shims/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.66.3 => 0.66.3 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Steps to reproduce

  1. Create react-native project on Xcode Version 14.0 beta 4 (14A5284g)
  2. Run application

Snack, code example, screenshot, or link to a repository

https://github.com/facebook/react-native/blob/6fcfe2e1b35e9bdf319bcdc1647c8c0d997b58c7/Libraries/WebSocket/RCTSRWebSocket.m#L1636

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:55
  • Comments:27 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
rmoura-92commented, Nov 14, 2022
4reactions
voloshinkcommented, Nov 12, 2022

Screenshot 2022-11-09 at 15 34 21 this worked for me

described here https://developer.apple.com/documentation/xcode/diagnosing-performance-issues-early

You just turned off the checker, that doesn’t mean the underlying issue is solved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"UI unresponsiveness" warning on @main - Apple Developer
I'm seeing a runtime warning in Xcode 14 Beta 5 that says "This method should not be called on the main thread as...
Read more >
Track down hangs with Xcode and on-device detection - Videos
We'll take you through the latest detection mechanisms for iOS to help track hangs during pre-release testing, show you how to identify issues...
Read more >
Xcode 14.1 Release Notes | Apple Developer Documentation
Update your apps to use new features, and test your apps against API changes. Overview. Xcode 14.1 includes Swift 5.7 and SDKs for...
Read more >
Xcode 13 Release Notes | Apple Developer Documentation
The Xcode 13 release supports on-device debugging for iOS 9 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 13...
Read more >
iOS | Apple Developer Forums
I updated the XCode and the problem is fixed. ... Is anyone else having a problem with the new iOS 12 beta 4...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found