🛠️ (iOS) 5.0.6 Worklets build issue for Vision Camera
### Prerequisites
- [x] I have read and followed every applicable step in the [Nitro Modules Troubleshooting guide](https://nitro.margelo.com/docs/guides/troubleshooting).
- [x] I have read the [VisionCamera Troubleshooting guide](https://react-native-vision-camera.com/docs/guides/troubleshooting) and [Installation guide](https://react-native-vision-camera.com/docs/guides).
- [x] I did a clean build — deleted `node_modules`, `ios/Pods`, `ios/build`, and Xcode's DerivedData, then reinstalled.
- [x] I searched [existing build-error issues](https://github.com/mrousavy/react-native-vision-camera/issues?q=is%3Aissue+label%3A%22%F0%9F%9B%A0%EF%B8%8F+build-error%22) and found nothing matching.
### Full build error output
```shell
❌ (/Users/gauthamvijayan/Library/Developer/Xcode/DerivedData/apolloshot-fnudpymvasqwbnbxvnihsbuxvpvy/Build/Products/Debug-iphonesimulator/RNWorklets/worklets.framework/Headers/apple/WorkletsMessageThread.h:4:9)
2 |
3 | #import <Foundation/Foundation.h>
> 4 | #import <React/RCTMessageThread.h>
| ^ 'React/RCTMessageThread.h' file not found
5 |
6 | namespace facebook {
7 | namespace react {
❌ (node_modules/react-native-vision-camera-worklets/cpp/JSIConverter+AsyncQueue.hpp:12:10)
10 | #include <jsi/jsi.h>
11 | #if __has_include(<worklets/RunLoop/AsyncQueue.h>)
> 12 | #include <worklets/RunLoop/AsyncQueue.h>
| ^ could not build module 'worklets'
13 | #elif __has_include(<RNWorklets/worklets/RunLoop/AsyncQueue.h>)
14 | #include <RNWorklets/worklets/RunLoop/AsyncQueue.h>
15 | #else
```
### VisionCamera version
5.0.6
### React Native version
0.83.4
### React Native architecture
New Architecture (Fabric / bridgeless)
### Expo?
Expo (bare workflow with config plugins)
### Host macOS version
26.1
### Xcode version
16.1
### iOS Deployment Target
18.0
### CocoaPods version
1.15.2
### Ruby version
3.2.2
### Build target
Simulator
### Package manager
npm
### Reproduction repository (strongly encouraged)
https://github.com/Gautham495/reproducer
### Additional context
Works in Android - but fails in iOS for the worklets version, how much ever i try.
@riteshshukla04
### Submission
- [x] I pasted the full error output as text (not a screenshot).
- [x] I wrote this report in my own words. I did not paste AI-generated summaries of the error.
5 条评论