Skip to content

iOS Build failing because of worklets not found #824

@adilsaeed31

Description

@adilsaeed31

Description

Packages :

 "react": "19.1.1",
 "react-dom": "19.1.1",
 "react-native": "0.82.1",
 "react-native-audio-api": "^0.10.1",
 "react-native-worklets": "^0.6.1",
"react-native-reanimated": "^4.1.3"

I used this package because it has web compatibility; my React Native app also works on the web through react-native-web and a webpack configuration.

In babel configuration I''ve added this because of web support in plugins array. 'react-native-worklets/plugin',

and in metro configuration i've added audio api wrapper as mentioned in document

module.exports = wrapWithAudioAPIMetroConfig(
  withNativeWind(config, {input: './global.css'}),
)

Install 0.10.1 and build the iOS.

You will get an error

Image Image

Steps to reproduce

Install new package 0.10.1

And generate a build only.

You will get an error at the end of the build.

Snack or a link to a repository

I cannot share anything; the project is private

React Native Audio API version

0.10.1

React Native version

0.82.1

Platforms

iOS

JavaScript runtime

Hermes

Workflow

React Native

Architecture

Fabric (New Architecture)

Build type

Release app & production bundle

Device

iOS simulator

Device model

No response

Acknowledgements

Yes

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions