'JWPlayer-iOS-SDK/JWPlayerController.h' file not found

蹲街弑〆低调 提交于 2019-12-04 12:40:32

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

I faced the same issue with demo app. Simply removed the framework folder reference from the project (it wasn't there in the first place if you check the files in finder). Download the jwplayer framework. Drop it where the other files related to the app are and simply import it to your project in Xcode. After that just run the project. Voila it works.

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>

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!