Before submitting a new issue
Bug summary
When integrating react-native-nitro-audio-manager, multiple build errors appear:
- Could not build Objective-C module 'AudioManager'
- Could not build module 'NitroModules'
- Could not build module 'jsi'
- 'folly/folly-config.h' file not found during build of NitroModules (via RCT-Folly dependency)
Error chain:
node_modules/react-native-nitro-audio-manager/nitrogen/generated/ios/swift/AudioSessionCategory.swift
Could not build Objective-C module 'AudioManager'
node_modules/react-native-nitro-audio-manager/nitrogen/generated/ios/swift/AudioSessionCategoryOptions.swift
Could not build Objective-C module 'AudioManager'
node_modules/react-native-nitro-audio-manager/nitrogen/generated/ios/swift/AudioSessionMode.swift
Could not build Objective-C module 'AudioManager'
node_modules/react-native-nitro-audio-manager/nitrogen/generated/shared/c++/AudioContentType.hpp:11:10
Could not build module 'NitroModules'
node_modules/react-native-nitro-modules/cpp/core/ArrayBuffer.hpp:12:10
Could not build module 'jsi'
ios/Pods/RCT-Folly/folly/portability/Config.h:20:10
'folly/folly-config.h' file not found
Did not find header 'folly-config.h' in framework 'folly' (loaded from 'DerivedData/.../Build/Products/Debug-iphonesimulator/RCT-Folly')
All paths reference files inside node_modules or Pods. Occurs on latest stable React Native and plugin versions.
Library version
0.1.8
Environment info
- React Native: ^0.75.x
- react-native-nitro-audio-manager: latest
- iOS Simulator (Debug build)
- macOS Sonoma / latest Xcode
- CocoaPods
- Issue occurs during iOS build with RCT-Folly and NitroModules dependencies
Steps to reproduce
- Install react-native-nitro-audio-manager following the README installation instructions
- Run
pod install in the iOS directory
- Attempt to build the project for iOS Simulator (Debug configuration)
- Observe build errors referencing:
- AudioManager module not building
- NitroModules module not building
- jsi module not building
- Missing folly-config.h header file
Reproducible example repository
N/A (private project, but errors triggered using RN 0.75.x and fresh install)
Before submitting a new issue
Bug summary
When integrating react-native-nitro-audio-manager, multiple build errors appear:
Error chain:
All paths reference files inside node_modules or Pods. Occurs on latest stable React Native and plugin versions.
Library version
0.1.8
Environment info
Steps to reproduce
pod installin the iOS directoryReproducible example repository
N/A (private project, but errors triggered using RN 0.75.x and fresh install)