Commit 8ad2dacd844829f524723839dd188f4cc3b83ad7
1 parent
df0a00e4
0.1.1 版本 Xcode 13报错处理
Showing
11 changed files
with
80 additions
and
44 deletions
CNLiveWitnessVideoModule.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveWitnessVideoModule' | 10 | s.name = 'CNLiveWitnessVideoModule' |
| 11 | - s.version = '0.1.0' | 11 | + s.version = '0.1.1' |
| 12 | s.summary = '目击者视频播放功能' | 12 | s.summary = '目击者视频播放功能' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 14 | # This description is used to generate tags and improve search results. |
| @@ -27,7 +27,7 @@ TODO: Add long description of the pod here. | @@ -27,7 +27,7 @@ TODO: Add long description of the pod here. | ||
| 27 | s.author = { 'dawanzi' => '1427945373@qq.com' } | 27 | s.author = { 'dawanzi' => '1427945373@qq.com' } |
| 28 | s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLiveWitnessVideoModule.git', :tag => s.version.to_s } | 28 | s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLiveWitnessVideoModule.git', :tag => s.version.to_s } |
| 29 | 29 | ||
| 30 | - s.ios.deployment_target = '9.0' | 30 | + s.ios.deployment_target = '10.0' |
| 31 | 31 | ||
| 32 | s.subspec 'Model' do |model| | 32 | s.subspec 'Model' do |model| |
| 33 | model.source_files = 'CNLiveWitnessVideoModule/Classes/Model/*.{h,m}' | 33 | model.source_files = 'CNLiveWitnessVideoModule/Classes/Model/*.{h,m}' |
| @@ -48,16 +48,21 @@ TODO: Add long description of the pod here. | @@ -48,16 +48,21 @@ TODO: Add long description of the pod here. | ||
| 48 | service.source_files = 'CNLiveWitnessVideoModule/Classes/Services/*.{h,m}' | 48 | service.source_files = 'CNLiveWitnessVideoModule/Classes/Services/*.{h,m}' |
| 49 | service.dependency 'CNLiveWitnessVideoModule/Controller' | 49 | service.dependency 'CNLiveWitnessVideoModule/Controller' |
| 50 | end | 50 | end |
| 51 | - s.dependency 'CNLiveTripartiteManagement/MJExtension' | ||
| 52 | - s.dependency 'CNLiveTripartiteManagement/YYKit' | ||
| 53 | - s.dependency 'CNLiveTripartiteManagement/AFNetworking' | ||
| 54 | - s.dependency 'CNLiveTripartiteManagement/Masonry' | ||
| 55 | - s.dependency 'CNLiveTripartiteManagement/QMUIKit' | ||
| 56 | - s.dependency 'CNLiveTripartiteManagement/SDWebImage' | 51 | + s.dependency 'CNLiveNewTripartiteManagement/MJExtension' |
| 52 | + s.dependency 'CNLiveNewTripartiteManagement/YYText' | ||
| 53 | + | ||
| 54 | + s.dependency 'CNLiveNewTripartiteManagement/YYCategories' | ||
| 55 | + s.dependency 'CNLiveNewTripartiteManagement/YYImage' | ||
| 56 | + | ||
| 57 | + s.dependency 'CNLiveNewTripartiteManagement/AFNetworking' | ||
| 58 | + s.dependency 'CNLiveNewTripartiteManagement/Masonry' | ||
| 59 | + s.dependency 'CNLiveNewTripartiteManagement/QMUIKit' | ||
| 60 | + s.dependency 'CNLiveNewTripartiteManagement/SDWebImage' | ||
| 57 | #基础业务库 | 61 | #基础业务库 |
| 58 | s.dependency 'CNLiveBusinessTools' | 62 | s.dependency 'CNLiveBusinessTools' |
| 59 | #基础库 | 63 | #基础库 |
| 60 | s.dependency 'CNLiveBaseKit' | 64 | s.dependency 'CNLiveBaseKit' |
| 65 | + s.dependency 'CNLiveUserManagement' | ||
| 61 | #环境库 | 66 | #环境库 |
| 62 | s.dependency 'CNLiveEnvironment' | 67 | s.dependency 'CNLiveEnvironment' |
| 63 | #基础类目库 | 68 | #基础类目库 |
CNLiveWitnessVideoModule/Classes/Controller/CNBWitnessListController.m
| @@ -8,17 +8,19 @@ | @@ -8,17 +8,19 @@ | ||
| 8 | #import "CNBWitnessListController.h" | 8 | #import "CNBWitnessListController.h" |
| 9 | #import "CNBWitnessPlayerManager.h" | 9 | #import "CNBWitnessPlayerManager.h" |
| 10 | #import "CNBWitnessListModel.h" | 10 | #import "CNBWitnessListModel.h" |
| 11 | -#import "MJExtension.h" | ||
| 12 | -#import "MJRefresh.h" | ||
| 13 | -#import "CNLiveRefreshHeader.h" | ||
| 14 | -#import "CNLiveBaseKit.h" | ||
| 15 | -#import <QMUIKit/QMUIKit.h> | ||
| 16 | -#import "CNBWitnessListViewModel.h" | ||
| 17 | -#import "CNEmptyView.h" | ||
| 18 | #import "CNBWitnessListCell.h" | 11 | #import "CNBWitnessListCell.h" |
| 19 | #import "CNBWitnessGetImage.h" | 12 | #import "CNBWitnessGetImage.h" |
| 20 | -#import "UIColor+CNLiveExtension.h" | ||
| 21 | -#import "CNLiveNetworking.h" | 13 | +#import "CNBWitnessListViewModel.h" |
| 14 | + | ||
| 15 | +#import <MJExtension/MJExtension.h> | ||
| 16 | +#import <MJRefresh/MJRefresh.h> | ||
| 17 | +#import <CNLiveCustomUI/CNLiveRefreshHeader.h> | ||
| 18 | +#import <CNLiveBaseKit/CNLiveBaseKit.h> | ||
| 19 | +#import <QMUIKit/QMUIKit.h> | ||
| 20 | +#import <CNLiveCustomUI/CNEmptyView.h> | ||
| 21 | +#import <CNLiveCommonCategory/UIColor+CNLiveExtension.h> | ||
| 22 | +#import <CNLiveRequestBastKit/CNLiveNetworking.h> | ||
| 23 | + | ||
| 22 | #define CNBWitnessAppKeyWindow ([UIApplication sharedApplication].delegate).window | 24 | #define CNBWitnessAppKeyWindow ([UIApplication sharedApplication].delegate).window |
| 23 | typedef NS_ENUM(NSUInteger,CNBWitnessVideoErrorType) { | 25 | typedef NS_ENUM(NSUInteger,CNBWitnessVideoErrorType) { |
| 24 | CNBWitnessVideoErrorTypeNoNet, //没网 | 26 | CNBWitnessVideoErrorTypeNoNet, //没网 |
CNLiveWitnessVideoModule/Classes/Model/CNBWitnessListModel.m
| @@ -6,7 +6,7 @@ | @@ -6,7 +6,7 @@ | ||
| 6 | // | 6 | // |
| 7 | 7 | ||
| 8 | #import "CNBWitnessListModel.h" | 8 | #import "CNBWitnessListModel.h" |
| 9 | -#import "MJExtension.h" | 9 | +#import <MJExtension/MJExtension.h> |
| 10 | @implementation CNBWitnessListModel | 10 | @implementation CNBWitnessListModel |
| 11 | MJCodingImplementation | 11 | MJCodingImplementation |
| 12 | + (NSDictionary *)mj_replacedKeyFromPropertyName | 12 | + (NSDictionary *)mj_replacedKeyFromPropertyName |
CNLiveWitnessVideoModule/Classes/Services/CNBWitnessVideoService.m
| @@ -6,9 +6,11 @@ | @@ -6,9 +6,11 @@ | ||
| 6 | // | 6 | // |
| 7 | 7 | ||
| 8 | #import "CNBWitnessVideoService.h" | 8 | #import "CNBWitnessVideoService.h" |
| 9 | -#import <CNLiveBeeHive/BeeHive.h> | ||
| 10 | #import "CNBWitnessListController.h" | 9 | #import "CNBWitnessListController.h" |
| 11 | #import "CNBWitnessVideoPlayProtocol.h" | 10 | #import "CNBWitnessVideoPlayProtocol.h" |
| 11 | + | ||
| 12 | +#import <CNLiveBeeHive/BeeHive.h> | ||
| 13 | + | ||
| 12 | @interface CNBWitnessVideoService () <CNBWitnessVideoPlayProtocol> | 14 | @interface CNBWitnessVideoService () <CNBWitnessVideoPlayProtocol> |
| 13 | 15 | ||
| 14 | @end | 16 | @end |
CNLiveWitnessVideoModule/Classes/View/CNBWitnessListCell.m
| @@ -6,15 +6,18 @@ | @@ -6,15 +6,18 @@ | ||
| 6 | // | 6 | // |
| 7 | 7 | ||
| 8 | #import "CNBWitnessListCell.h" | 8 | #import "CNBWitnessListCell.h" |
| 9 | -#import "UIColor+CNLiveExtension.h" | ||
| 10 | -#import "NSString+CNLiveExtension.h" | ||
| 11 | #import "CNBWitnessListModel.h" | 9 | #import "CNBWitnessListModel.h" |
| 12 | -#import <YYKit/YYKit.h> | 10 | + |
| 11 | +#import <CNLiveCommonCategory/UIColor+CNLiveExtension.h> | ||
| 12 | +#import <YYText/YYText.h> | ||
| 13 | +#import <YYCategories/YYCategories.h> | ||
| 14 | +#import <YYImage/YYImage.h> | ||
| 13 | #import <Masonry/Masonry.h> | 15 | #import <Masonry/Masonry.h> |
| 14 | -#import "CNLiveBaseKit.h" | 16 | +#import <CNLiveBaseKit/CNLiveBaseKit.h> |
| 15 | #import <SDWebImage/SDWebImage.h> | 17 | #import <SDWebImage/SDWebImage.h> |
| 16 | #import <QMUIKit/QMUIKit.h> | 18 | #import <QMUIKit/QMUIKit.h> |
| 17 | -#import "CNLiveQQEmotionManager.h" | 19 | +#import <CNLiveBusinessTools/CNLiveQQEmotionManager.h> |
| 20 | + | ||
| 18 | @interface CNBWitnessListCell () | 21 | @interface CNBWitnessListCell () |
| 19 | @property (nonatomic, strong) UIImageView *coverImageView; | 22 | @property (nonatomic, strong) UIImageView *coverImageView; |
| 20 | @property (nonatomic, strong) YYLabel *desc;//详情 | 23 | @property (nonatomic, strong) YYLabel *desc;//详情 |
| @@ -143,7 +146,7 @@ | @@ -143,7 +146,7 @@ | ||
| 143 | [self.tagButton setTitle:witnessModel.tagName forState:UIControlStateNormal]; | 146 | [self.tagButton setTitle:witnessModel.tagName forState:UIControlStateNormal]; |
| 144 | YYTextContainer *container = [YYTextContainer containerWithSize:CGSizeMake(MAXFLOAT,25)]; | 147 | YYTextContainer *container = [YYTextContainer containerWithSize:CGSizeMake(MAXFLOAT,25)]; |
| 145 | NSMutableAttributedString *tagStr = [[NSMutableAttributedString alloc]initWithString:witnessModel.tagName]; | 148 | NSMutableAttributedString *tagStr = [[NSMutableAttributedString alloc]initWithString:witnessModel.tagName]; |
| 146 | - tagStr.font = [UIFont systemFontOfSize:11]; | 149 | + tagStr.yy_font = [UIFont systemFontOfSize:11]; |
| 147 | YYTextLayout *layout = [YYTextLayout layoutWithContainer:container text:tagStr]; | 150 | YYTextLayout *layout = [YYTextLayout layoutWithContainer:container text:tagStr]; |
| 148 | CGFloat width = ceilf(layout.textBoundingSize.width); | 151 | CGFloat width = ceilf(layout.textBoundingSize.width); |
| 149 | if (width < 46) { | 152 | if (width < 46) { |
| @@ -212,14 +215,14 @@ | @@ -212,14 +215,14 @@ | ||
| 212 | YYAnimatedImageView *imageView = [[YYAnimatedImageView alloc] initWithImage:emojiArr[j].image]; | 215 | YYAnimatedImageView *imageView = [[YYAnimatedImageView alloc] initWithImage:emojiArr[j].image]; |
| 213 | imageView.width = 24*RATIO; | 216 | imageView.width = 24*RATIO; |
| 214 | imageView.height = 24*RATIO; | 217 | imageView.height = 24*RATIO; |
| 215 | - NSMutableAttributedString *attachText = [NSMutableAttributedString attachmentStringWithContent:imageView contentMode:UIViewContentModeCenter attachmentSize:imageView.size alignToFont:UIFontCNMake(contentLabelFontSize) alignment:YYTextVerticalAlignmentCenter]; | 218 | + NSMutableAttributedString *attachText = [NSMutableAttributedString yy_attachmentStringWithContent:imageView contentMode:UIViewContentModeCenter attachmentSize:imageView.size alignToFont:UIFontCNMake(contentLabelFontSize) alignment:YYTextVerticalAlignmentCenter]; |
| 216 | [attStr replaceCharactersInRange:result.range withAttributedString:attachText]; | 219 | [attStr replaceCharactersInRange:result.range withAttributedString:attachText]; |
| 217 | }); | 220 | }); |
| 218 | }else{ | 221 | }else{ |
| 219 | YYAnimatedImageView *imageView = [[YYAnimatedImageView alloc] initWithImage:emojiArr[j].image]; | 222 | YYAnimatedImageView *imageView = [[YYAnimatedImageView alloc] initWithImage:emojiArr[j].image]; |
| 220 | imageView.width = 24*RATIO; | 223 | imageView.width = 24*RATIO; |
| 221 | imageView.height = 24*RATIO; | 224 | imageView.height = 24*RATIO; |
| 222 | - NSMutableAttributedString *attachText = [NSMutableAttributedString attachmentStringWithContent:imageView contentMode:UIViewContentModeCenter attachmentSize:imageView.size alignToFont:UIFontCNMake(contentLabelFontSize) alignment:YYTextVerticalAlignmentCenter]; | 225 | + NSMutableAttributedString *attachText = [NSMutableAttributedString yy_attachmentStringWithContent:imageView contentMode:UIViewContentModeCenter attachmentSize:imageView.size alignToFont:UIFontCNMake(contentLabelFontSize) alignment:YYTextVerticalAlignmentCenter]; |
| 223 | 226 | ||
| 224 | [attStr replaceCharactersInRange:result.range withAttributedString:attachText]; | 227 | [attStr replaceCharactersInRange:result.range withAttributedString:attachText]; |
| 225 | } | 228 | } |
CNLiveWitnessVideoModule/Classes/View/CNBWitnessPlayerControlView.m
| @@ -6,9 +6,11 @@ | @@ -6,9 +6,11 @@ | ||
| 6 | // | 6 | // |
| 7 | 7 | ||
| 8 | #import "CNBWitnessPlayerControlView.h" | 8 | #import "CNBWitnessPlayerControlView.h" |
| 9 | -#import <Masonry/Masonry.h> | ||
| 10 | -#import "CNLiveBaseKit.h" | ||
| 11 | #import "CNBWitnessGetImage.h" | 9 | #import "CNBWitnessGetImage.h" |
| 10 | + | ||
| 11 | +#import <Masonry/Masonry.h> | ||
| 12 | +#import <CNLiveBaseKit/CNLiveBaseKit.h> | ||
| 13 | + | ||
| 12 | @interface CNBWitnessPlayerControlView () | 14 | @interface CNBWitnessPlayerControlView () |
| 13 | @property (nonatomic, strong) UIImageView *pauseIcon; | 15 | @property (nonatomic, strong) UIImageView *pauseIcon; |
| 14 | @property (nonatomic, strong) UIView *playerStatusBar; | 16 | @property (nonatomic, strong) UIView *playerStatusBar; |
CNLiveWitnessVideoModule/Classes/View/CNBWitnessPlayerManager.m
| @@ -6,10 +6,12 @@ | @@ -6,10 +6,12 @@ | ||
| 6 | // | 6 | // |
| 7 | 7 | ||
| 8 | #import "CNBWitnessPlayerManager.h" | 8 | #import "CNBWitnessPlayerManager.h" |
| 9 | -#import <AVFoundation/AVFoundation.h> | ||
| 10 | #import "CNBWitnessPlayerView.h" | 9 | #import "CNBWitnessPlayerView.h" |
| 11 | #import "CNBWitnessPlayerControlView.h" | 10 | #import "CNBWitnessPlayerControlView.h" |
| 12 | -#import "CNLiveNetworking.h" | 11 | + |
| 12 | +#import <AVFoundation/AVFoundation.h> | ||
| 13 | +#import <CNLiveRequestBastKit/CNLiveNetworking.h> | ||
| 14 | + | ||
| 13 | @interface CNBWitnessPlayerManager ()<CNWitnessPlayerDelegate> | 15 | @interface CNBWitnessPlayerManager ()<CNWitnessPlayerDelegate> |
| 14 | @property (nonatomic, strong) CNBWitnessPlayerView *playerView; | 16 | @property (nonatomic, strong) CNBWitnessPlayerView *playerView; |
| 15 | @property (nonatomic, strong) CNBWitnessPlayerModel *playerModel; | 17 | @property (nonatomic, strong) CNBWitnessPlayerModel *playerModel; |
CNLiveWitnessVideoModule/Classes/View/CNBWitnessPlayerView.m
| @@ -7,12 +7,14 @@ | @@ -7,12 +7,14 @@ | ||
| 7 | 7 | ||
| 8 | #import "CNBWitnessPlayerView.h" | 8 | #import "CNBWitnessPlayerView.h" |
| 9 | #import "CNBWitnessPlayerModel.h" | 9 | #import "CNBWitnessPlayerModel.h" |
| 10 | +#import "CNBWitnessPlayerControlView.h" | ||
| 11 | + | ||
| 10 | #import <AVFoundation/AVFoundation.h> | 12 | #import <AVFoundation/AVFoundation.h> |
| 11 | #import <MediaPlayer/MediaPlayer.h> | 13 | #import <MediaPlayer/MediaPlayer.h> |
| 12 | -#import "CNBWitnessPlayerControlView.h" | ||
| 13 | -#import "CNLiveNetworking.h" | 14 | +#import <CNLiveRequestBastKit/CNLiveNetworking.h> |
| 14 | #import <Masonry/Masonry.h> | 15 | #import <Masonry/Masonry.h> |
| 15 | #import <QMUIKit/QMUIKit.h> | 16 | #import <QMUIKit/QMUIKit.h> |
| 17 | + | ||
| 16 | #define CNBWitnessAppKeyWindow [UIApplication sharedApplication].delegate.window | 18 | #define CNBWitnessAppKeyWindow [UIApplication sharedApplication].delegate.window |
| 17 | @interface CNBWitnessPlayerView ()<UIAlertViewDelegate,FailBtnActionDelegate> | 19 | @interface CNBWitnessPlayerView ()<UIAlertViewDelegate,FailBtnActionDelegate> |
| 18 | /** 播放属性 */ | 20 | /** 播放属性 */ |
CNLiveWitnessVideoModule/Classes/ViewModel/CNBWitnessListViewModel.m
| @@ -6,13 +6,15 @@ | @@ -6,13 +6,15 @@ | ||
| 6 | // | 6 | // |
| 7 | 7 | ||
| 8 | #import "CNBWitnessListViewModel.h" | 8 | #import "CNBWitnessListViewModel.h" |
| 9 | -#import "CNLiveEnvironment.h" | ||
| 10 | -#import "NSString+CNLiveExtension.h" | ||
| 11 | -#import "CNLiveNetworking.h" | ||
| 12 | #import "CNBWitnessListModel.h" | 9 | #import "CNBWitnessListModel.h" |
| 13 | -#import "MJExtension.h" | 10 | + |
| 11 | +#import <CNLiveEnvironment/CNLiveEnvironment.h> | ||
| 12 | +#import <CNLiveBaseKit/NSString+CNLiveExtension.h> | ||
| 13 | +#import <CNLiveRequestBastKit/CNLiveNetworking.h> | ||
| 14 | +#import <MJExtension/MJExtension.h> | ||
| 14 | #import <QMUIKit/QMUIKit.h> | 15 | #import <QMUIKit/QMUIKit.h> |
| 15 | -#import "CNUserInfoManager.h" | 16 | +#import <CNLiveUserManagement/CNUserInfoManager.h> |
| 17 | + | ||
| 16 | #define CNBWitnessAppKeyWindow ([UIApplication sharedApplication].delegate).window | 18 | #define CNBWitnessAppKeyWindow ([UIApplication sharedApplication].delegate).window |
| 17 | @implementation CNBWitnessListViewModel | 19 | @implementation CNBWitnessListViewModel |
| 18 | + (void)getWitnessListDataTosid:(NSString *)toSid page:(NSInteger)page pageSize:(NSInteger)pageSize successBlock:(void(^)(NSMutableArray *dataArray,NSString *isHaveNext))successBlock failureBlock:(void (^)(NSError *error))failureBlock { | 20 | + (void)getWitnessListDataTosid:(NSString *)toSid page:(NSInteger)page pageSize:(NSInteger)pageSize successBlock:(void(^)(NSMutableArray *dataArray,NSString *isHaveNext))successBlock failureBlock:(void (^)(NSError *error))failureBlock { |
Example/CNLiveWitnessVideoModule.xcodeproj/project.pbxproj
| @@ -356,8 +356,8 @@ | @@ -356,8 +356,8 @@ | ||
| 356 | "${BUILT_PRODUCTS_DIR}/CNLiveCommonCategory/CNLiveCommonCategory.framework", | 356 | "${BUILT_PRODUCTS_DIR}/CNLiveCommonCategory/CNLiveCommonCategory.framework", |
| 357 | "${BUILT_PRODUCTS_DIR}/CNLiveCustomUI/CNLiveCustomUI.framework", | 357 | "${BUILT_PRODUCTS_DIR}/CNLiveCustomUI/CNLiveCustomUI.framework", |
| 358 | "${BUILT_PRODUCTS_DIR}/CNLiveEnvironment/CNLiveEnvironment.framework", | 358 | "${BUILT_PRODUCTS_DIR}/CNLiveEnvironment/CNLiveEnvironment.framework", |
| 359 | + "${BUILT_PRODUCTS_DIR}/CNLiveNewTripartiteManagement/CNLiveNewTripartiteManagement.framework", | ||
| 359 | "${BUILT_PRODUCTS_DIR}/CNLiveRequestBastKit/CNLiveRequestBastKit.framework", | 360 | "${BUILT_PRODUCTS_DIR}/CNLiveRequestBastKit/CNLiveRequestBastKit.framework", |
| 360 | - "${BUILT_PRODUCTS_DIR}/CNLiveTripartiteManagement/CNLiveTripartiteManagement.framework", | ||
| 361 | "${BUILT_PRODUCTS_DIR}/CNLiveUserManagement/CNLiveUserManagement.framework", | 361 | "${BUILT_PRODUCTS_DIR}/CNLiveUserManagement/CNLiveUserManagement.framework", |
| 362 | "${BUILT_PRODUCTS_DIR}/CNLiveWitnessVideoModule/CNLiveWitnessVideoModule.framework", | 362 | "${BUILT_PRODUCTS_DIR}/CNLiveWitnessVideoModule/CNLiveWitnessVideoModule.framework", |
| 363 | "${BUILT_PRODUCTS_DIR}/MJExtension/MJExtension.framework", | 363 | "${BUILT_PRODUCTS_DIR}/MJExtension/MJExtension.framework", |
| @@ -365,7 +365,15 @@ | @@ -365,7 +365,15 @@ | ||
| 365 | "${BUILT_PRODUCTS_DIR}/Masonry/Masonry.framework", | 365 | "${BUILT_PRODUCTS_DIR}/Masonry/Masonry.framework", |
| 366 | "${BUILT_PRODUCTS_DIR}/QMUIKit/QMUIKit.framework", | 366 | "${BUILT_PRODUCTS_DIR}/QMUIKit/QMUIKit.framework", |
| 367 | "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework", | 367 | "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework", |
| 368 | - "${BUILT_PRODUCTS_DIR}/YYKit/YYKit.framework", | 368 | + "${BUILT_PRODUCTS_DIR}/YYAsyncLayer/YYAsyncLayer.framework", |
| 369 | + "${BUILT_PRODUCTS_DIR}/YYCache/YYCache.framework", | ||
| 370 | + "${BUILT_PRODUCTS_DIR}/YYCategories/YYCategories.framework", | ||
| 371 | + "${BUILT_PRODUCTS_DIR}/YYDispatchQueuePool/YYDispatchQueuePool.framework", | ||
| 372 | + "${BUILT_PRODUCTS_DIR}/YYImage/YYImage.framework", | ||
| 373 | + "${BUILT_PRODUCTS_DIR}/YYKeyboardManager/YYKeyboardManager.framework", | ||
| 374 | + "${BUILT_PRODUCTS_DIR}/YYModel/YYModel.framework", | ||
| 375 | + "${BUILT_PRODUCTS_DIR}/YYText/YYText.framework", | ||
| 376 | + "${BUILT_PRODUCTS_DIR}/YYWebImage/YYWebImage.framework", | ||
| 369 | ); | 377 | ); |
| 370 | name = "[CP] Embed Pods Frameworks"; | 378 | name = "[CP] Embed Pods Frameworks"; |
| 371 | outputPaths = ( | 379 | outputPaths = ( |
| @@ -376,8 +384,8 @@ | @@ -376,8 +384,8 @@ | ||
| 376 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCommonCategory.framework", | 384 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCommonCategory.framework", |
| 377 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCustomUI.framework", | 385 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCustomUI.framework", |
| 378 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveEnvironment.framework", | 386 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveEnvironment.framework", |
| 387 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveNewTripartiteManagement.framework", | ||
| 379 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveRequestBastKit.framework", | 388 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveRequestBastKit.framework", |
| 380 | - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveTripartiteManagement.framework", | ||
| 381 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveUserManagement.framework", | 389 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveUserManagement.framework", |
| 382 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveWitnessVideoModule.framework", | 390 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveWitnessVideoModule.framework", |
| 383 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MJExtension.framework", | 391 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MJExtension.framework", |
| @@ -385,7 +393,15 @@ | @@ -385,7 +393,15 @@ | ||
| 385 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Masonry.framework", | 393 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Masonry.framework", |
| 386 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/QMUIKit.framework", | 394 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/QMUIKit.framework", |
| 387 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework", | 395 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework", |
| 388 | - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYKit.framework", | 396 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYAsyncLayer.framework", |
| 397 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYCache.framework", | ||
| 398 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYCategories.framework", | ||
| 399 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYDispatchQueuePool.framework", | ||
| 400 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYImage.framework", | ||
| 401 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYKeyboardManager.framework", | ||
| 402 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYModel.framework", | ||
| 403 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYText.framework", | ||
| 404 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYWebImage.framework", | ||
| 389 | ); | 405 | ); |
| 390 | runOnlyForDeploymentPostprocessing = 0; | 406 | runOnlyForDeploymentPostprocessing = 0; |
| 391 | shellPath = /bin/sh; | 407 | shellPath = /bin/sh; |
Example/Podfile
| 1 | use_frameworks! | 1 | use_frameworks! |
| 2 | -source 'https://github.com/CocoaPods/Specs.git' | 2 | +source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git' |
| 3 | source 'http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git' | 3 | source 'http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git' |
| 4 | -platform :ios, '9.0' | 4 | +platform :ios, '10.0' |
| 5 | 5 | ||
| 6 | target 'CNLiveWitnessVideoModule_Example' do | 6 | target 'CNLiveWitnessVideoModule_Example' do |
| 7 | pod 'CNLiveWitnessVideoModule', :path => '../' | 7 | pod 'CNLiveWitnessVideoModule', :path => '../' |