Followed the steps given at :https://developer.jwplayer.com/sdk/ios/docs/developer-guide/intro/getting-started/ to import JWPlayer
For troubleshooting: https://developer.jwplayer.com/sdk/ios/docs/developer-guide/troubleshooting/troubleshooting/
Also installed cocoapods and in Podfile added: pod 'JWPlayer-SDK', '~> 2.4.3'
ran pod install command later.





What am I missing?
Not sure why, but after installing the SDK via cocoa pods, the import that ended up working for me was the following.
#import <JWPlayer_iOS_SDK/JWPlayerController.h>
By cocoa pod installation you must use below path to import:
#import <JWPlayer-SDK/JWPlayerController.h>
And by adding framework it is said at document this path:
#import <JWPlayer-iOS-SDK/JWPlayerController.h>
But I faced Not Found Error by adding framework to project
By pod installation app run without any error
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With