Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'R5Streaming/R5Streaming.h' file not found #80

Open
varmab opened this issue Dec 28, 2020 · 5 comments
Open

'R5Streaming/R5Streaming.h' file not found #80

varmab opened this issue Dec 28, 2020 · 5 comments

Comments

@varmab
Copy link

varmab commented Dec 28, 2020

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.

image

Anyone has ideas?

@varmab varmab changed the title File Not found 'R5Streaming/R5Streaming.h' file not found Dec 28, 2020
@RSRajendra
Copy link

Hi I have found same issue
Have you able to resolve it

@RSRajendra
Copy link

Screenshot 2021-02-24 at 1 06 57 AM

@askielboe
Copy link

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.

image

@askielboe
Copy link

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.

@VikasReactNative
Copy link

VikasReactNative commented Jan 15, 2022

/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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants