Coder Social home page Coder Social logo

pod install error about mcplayerkit HOT 5 CLOSED

poholo avatar poholo commented on May 23, 2024
pod install error

from mcplayerkit.

Comments (5)

niunaruto avatar niunaruto commented on May 23, 2024

是什么问题啊

from mcplayerkit.

poholo avatar poholo commented on May 23, 2024

您是swift版本吧,用了podfile中用 use_frameworks这个参数吧 ?

from mcplayerkit.

niunaruto avatar niunaruto commented on May 23, 2024

加的有

from mcplayerkit.

poholo avatar poholo commented on May 23, 2024

嗯, 我也关注到了这个问题,主要是由于IJKMediaFramework.framework是静态库导致, 近期安排时间修复此问题. 若项目急切使用此模块,请按照下面的方式手动集成.

1. 下载IJKMediaFramework.framework(https://e.coding.net/lp_mr/MCIJKPlayer.git), 手动拖动到项目中, 并添加
#         AudioToolbox.framework
#         AVFoundation.framework
#         CoreGraphics.framework
#         CoreMedia.framework
#         CoreVideo.framework
#         libbz2.tbd
#         libz.tbd
#         MediaPlayer.framework
#         MobileCoreServices.framework
#         OpenGLES.framework
#         QuartzCore.framework
#         UIKit.framework
#         VideoToolbox.framework
2. pod中增加以下依赖库
   pod 'MCVersion'
   pod 'MCStyle'
   Pod 'MCBase'
   pod 'SDWebImage'
3. 手动把MCPlayerKit/SDK 复制到你项目中
   编译 修改一些类的引入头文件问题

4  通过xxxx-Bridging-Header.h 导入 
     #import “MCPlayerKitDef.h”
     #import “MCPlayerGeneralView.h”
5 swift 文件调用验证

from mcplayerkit.

poholo avatar poholo commented on May 23, 2024

pod 'MCPlayerKit/GeneralPlayerUI', '0.2.3'

from mcplayerkit.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.