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

YYModel与主工程的YYKit冲突 #328

Closed
kaioser opened this issue Sep 6, 2020 · 9 comments
Closed

YYModel与主工程的YYKit冲突 #328

kaioser opened this issue Sep 6, 2020 · 9 comments
Labels

Comments

@kaioser
Copy link

kaioser commented Sep 6, 2020

你的新功能建议是否牵扯到某个常见的问题?
主项目用导入了YYKit,导入SJVideoPlayer时重复导入了YYModel

你希望达到的效果
希望规避冲突

你能考虑到的可选实现方案

@kaioser kaioser added the feature label Sep 6, 2020
@changsanjiang
Copy link
Owner

changsanjiang commented Sep 6, 2020

试试这个

pod 'SJUIKit/SQLite3', :podspec => 'https://gitee.com/changsanjiang/SJUIKit/raw/master/SJUIKit-YYKit.podspec'

@kaioser
Copy link
Author

kaioser commented Sep 6, 2020

试试这个

pod 'SJUIKit/SQLite3', :podspec => 'https://gitee.com/changsanjiang/SJUIKit/raw/master/SJUIKit-YYKit.podspec'

谢谢 解决啦!!
另外问一下,现在没有开放自动重播的接口是吧?如果想实现,目前的api哪种方法比较简单一点呢

@changsanjiang
Copy link
Owner

_player.playbackObserver.playbackDidFinishExeBlock = ^(__kindof SJBaseVideoPlayer * _Nonnull player) {
    [player replay];
};

@kaioser
Copy link
Author

kaioser commented Sep 7, 2020

_player.playbackObserver.playbackDidFinishExeBlock = ^(__kindof SJBaseVideoPlayer * _Nonnull player) {
[player replay];
};

嗯嗯 我现在就是这样弄的 谢谢大佬

@changsanjiang changsanjiang pinned this issue Jan 4, 2021
@LS502311932
Copy link

pod 'SJUIKit/SQLite3', :podspec => 'https://gitee.com/changsanjiang/SJUIKit/raw/master/SJUIKit-YYKit.podspec'
大佬 这个最近pod install 不成功 怎么解决

@PenguinAndy
Copy link

PenguinAndy commented Aug 30, 2021

pod 'SJUIKit/SQLite3', :podspec => 'https://gitee.com/changsanjiang/SJUIKit/raw/master/SJUIKit-YYKit.podspec'
大佬 这个最近pod install 不成功 怎么解决

first vim the Podfile:

   # pod 'SJUIKit/SQLite3', :podspec => 'https://gitee.com/changsanjiang/SJUIKit/raw/master/SJUIKit-YYKit.podspec'
   pod 'SJUIKit', '~> 0.0.0.58'

& pod install

then vim the Podfile:

  pod 'SJUIKit/SQLite3', :podspec => 'https://gitee.com/changsanjiang/SJUIKit/raw/master/SJUIKit-YYKit.podspec'
  # pod 'SJUIKit', '~> 0.0.0.58'

& pod install

@changsanjiang
Copy link
Owner

如果主项目引用了YYKit,podfile修改如下:

 # YYKit
 pod 'SJUIKit/SQLite3', :git => 'https://gitee.com/changsanjiang/sjuikit2'

@changsanjiang
Copy link
Owner

pod 'SJUIKit/SQLite3', :podspec => 'https://gitee.com/changsanjiang/SJUIKit/raw/master/SJUIKit-YYKit.podspec'
大佬 这个最近pod install 不成功 怎么解决

按这个来: #328 (comment)

@adampei
Copy link

adampei commented Sep 6, 2021

pod 'SJUIKit/SQLite3', :podspec => 'https://gitee.com/changsanjiang/SJUIKit/raw/master/SJUIKit-YYKit.podspec'
大佬 这个最近pod install 不成功 怎么解决

把demo中的这一行注释掉

#pod 'SJUIKit/PlaybackListController'

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

No branches or pull requests

5 participants