react-native-red5pro
react-native-red5pro copied to clipboard
'R5Streaming/R5Streaming.h' file not found
Hi,
I followed all instructions for iOS as per readme. I still unable to build successful in XCode. I am getting this file not found error.
Anyone has ideas?
Hi I have found same issue Have you able to resolve it
I had the same error but managed to fix it.
I don't know if it applies to you, but make sure to add the path to R5Streaming.framework
in the Framework Search Path for the R5VideoView
build target, not just for the top level project.

If you're using cocoapods you can use this post install script to set the framework path:
# Add framework search path to red5pro build config
post_install do |installer|
target = installer.pods_project.targets.find {|target| target.name == "R5VideoView"}
target.build_configurations.each do |configuration|
target.build_settings(configuration.name)["FRAMEWORK_SEARCH_PATHS"] = "$(PROJECT_DIR)/../Frameworks"
end
end
You'll need to edit "$(PROJECT_DIR)/../Frameworks"
to where ever you put the red5pro SDK.
/Users/salman/Documents/GitHub/react-native-red5pro/example/Red5ProVideoViewExample/node_modules/react-native-red5pro/ios/R5VideoView/R5VideoView/R5StreamSubscriber.m:10:9: 'R5Streaming/R5Streaming.h' file not found
above installer is not solving the error, even i have tried to run it's example and the implementation of my project which is running in android but not in ios because of this error.