Commit 31e8aad4d26c4ed57fd56746ffdd1ab0a1ce29e8
1 parent
12d3d5ef
0.0.1
Showing
61 changed files
with
3326 additions
and
1 deletions
.gitignore
0 → 100644
| 1 | +# OS X | ||
| 2 | +.DS_Store | ||
| 3 | + | ||
| 4 | +# Xcode | ||
| 5 | +build/ | ||
| 6 | +Products/ | ||
| 7 | +*.pbxuser | ||
| 8 | +!default.pbxuser | ||
| 9 | +*.mode1v3 | ||
| 10 | +!default.mode1v3 | ||
| 11 | +*.mode2v3 | ||
| 12 | +!default.mode2v3 | ||
| 13 | +*.perspectivev3 | ||
| 14 | +!default.perspectivev3 | ||
| 15 | +xcuserdata/ | ||
| 16 | +*.xccheckout | ||
| 17 | +profile | ||
| 18 | +*.moved-aside | ||
| 19 | +DerivedData | ||
| 20 | +*.hmap | ||
| 21 | +*.ipa | ||
| 22 | + | ||
| 23 | +# Bundler | ||
| 24 | +.bundle | ||
| 25 | + | ||
| 26 | +# Add this line if you want to avoid checking in source code from Carthage dependencies. | ||
| 27 | +# Carthage/Checkouts | ||
| 28 | + | ||
| 29 | +Carthage/Build | ||
| 30 | + | ||
| 31 | +# We recommend against adding the Pods directory to your .gitignore. However | ||
| 32 | +# you should judge for yourself, the pros and cons are mentioned at: | ||
| 33 | +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control | ||
| 34 | +# | ||
| 35 | +# Note: if you ignore the Pods directory, make sure to uncomment | ||
| 36 | +# `pod install` in .travis.yml | ||
| 37 | +# | ||
| 38 | +# Pods/ |
.travis.yml
0 → 100644
| 1 | +# references: | ||
| 2 | +# * https://www.objc.io/issues/6-build-tools/travis-ci/ | ||
| 3 | +# * https://github.com/supermarin/xcpretty#usage | ||
| 4 | + | ||
| 5 | +osx_image: xcode7.3 | ||
| 6 | +language: objective-c | ||
| 7 | +# cache: cocoapods | ||
| 8 | +# podfile: Example/Podfile | ||
| 9 | +# before_install: | ||
| 10 | +# - gem install cocoapods # Since Travis is not always on latest version | ||
| 11 | +# - pod install --project-directory=Example | ||
| 12 | +script: | ||
| 13 | +- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/CNLiveBaseTools.xcworkspace -scheme CNLiveBaseTools-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty | ||
| 14 | +- pod lib lint |
CNLiveBaseTools.podspec
0 → 100644
| 1 | + | ||
| 2 | +Pod::Spec.new do |s| | ||
| 3 | + s.name = 'CNLiveBaseTools' | ||
| 4 | + s.version = '0.1.0' | ||
| 5 | + s.summary = '基础工具库时间声音等工具' | ||
| 6 | + | ||
| 7 | + s.description = <<-DESC | ||
| 8 | +TODO: Add long description of the pod here. | ||
| 9 | + DESC | ||
| 10 | + | ||
| 11 | + s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLiveBaseTools' | ||
| 12 | + # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' | ||
| 13 | + s.license = { :type => 'MIT', :file => 'LICENSE' } | ||
| 14 | + s.author = { '殷巧娟' => '1427945373@qq.com' } | ||
| 15 | + s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLiveBaseTools.git', :tag => s.version.to_s } | ||
| 16 | + # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>' | ||
| 17 | + | ||
| 18 | + s.ios.deployment_target = '9.0' | ||
| 19 | + | ||
| 20 | + s.source_files = 'CNLiveBaseTools/Classes/**/*' | ||
| 21 | + | ||
| 22 | + # s.resource_bundles = { | ||
| 23 | + # 'CNLiveBaseTools' => ['CNLiveBaseTools/Assets/*.png'] | ||
| 24 | + # } | ||
| 25 | + | ||
| 26 | + # s.public_header_files = 'Pod/Classes/**/*.h' | ||
| 27 | + s.frameworks = 'UIKit', 'Foundation' | ||
| 28 | + # s.dependency 'AFNetworking', '~> 2.3' | ||
| 29 | +end |
CNLiveBaseTools/Classes/CNLiveTimeTools.h
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveTimeTools.h | ||
| 3 | +// CNLiveNetAdd | ||
| 4 | +// | ||
| 5 | +// Created by 殷巧娟 on 2019/1/16. | ||
| 6 | +// Copyright © 2019年 cnlive. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import <Foundation/Foundation.h> | ||
| 10 | + | ||
| 11 | +NS_ASSUME_NONNULL_BEGIN | ||
| 12 | + | ||
| 13 | +@interface CNLiveTimeTools : NSObject | ||
| 14 | + | ||
| 15 | ++ (instancetype)manager; | ||
| 16 | +//项目中没有用到 | ||
| 17 | ++ (NSString *)getTimestamp:(NSDate *)date; | ||
| 18 | +// 当前的10位时间戳 | ||
| 19 | ++ (NSInteger)getNowTimestamp; | ||
| 20 | +// 获得当前时间 格式yyyy/MM/dd | ||
| 21 | ++ (NSString *_Nullable)getyyMMdd; | ||
| 22 | +// 获得一个 时间戳+八位随机数 (项目中没有用到) | ||
| 23 | ++ (NSString *_Nullable)getRandTimeStr; | ||
| 24 | +/** 根据ts转换为时间text */ | ||
| 25 | ++ (NSString *_Nullable)MomentCellTimeWithTs:(NSInteger)ts; | ||
| 26 | +//获取当前时间 2018-03-26 20:34:50 | ||
| 27 | ++ (NSString *)getNowTimeYYMMdd; | ||
| 28 | +//获取当前时间 2018-03-26 20:34 | ||
| 29 | ++ (NSString *)getNowTimeYYMMddHHmm; | ||
| 30 | + | ||
| 31 | +// 获取当前时间 2018_03_26 | ||
| 32 | ++ (NSString *)getyyMMddLine; | ||
| 33 | +//获得一个 13时间戳+八位随机数 | ||
| 34 | ++ (NSString *)get13tsRandTimeStr; | ||
| 35 | +//获取当前13位时间戳 | ||
| 36 | ++ (NSInteger)getNow13NumTimestamp; | ||
| 37 | +//转化为10位时间戳 | ||
| 38 | ++ (NSInteger)getNow10NumTimestamp; | ||
| 39 | +//根据时间戳返回时间 | ||
| 40 | ++ (NSString *)getDateByTimeStamp:(NSString *)timeStampString; | ||
| 41 | +//获得系统当前时间 | ||
| 42 | ++ (NSString *_Nullable)getyyMMddStr; | ||
| 43 | + | ||
| 44 | +@end | ||
| 45 | + | ||
| 46 | +NS_ASSUME_NONNULL_END |
CNLiveBaseTools/Classes/CNLiveTimeTools.m
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveTimeTools.m | ||
| 3 | +// CNLiveNetAdd | ||
| 4 | +// | ||
| 5 | +// Created by 殷巧娟 on 2019/1/16. | ||
| 6 | +// Copyright © 2019年 cnlive. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import "CNLiveTimeTools.h" | ||
| 10 | + | ||
| 11 | +@implementation CNLiveTimeTools | ||
| 12 | + | ||
| 13 | ++ (instancetype)manager { | ||
| 14 | + static CNLiveTimeTools *manager; | ||
| 15 | + static dispatch_once_t onceToken; | ||
| 16 | + dispatch_once(&onceToken, ^{ | ||
| 17 | + manager = [[self alloc] init]; | ||
| 18 | + }); | ||
| 19 | + return manager; | ||
| 20 | +} | ||
| 21 | + | ||
| 22 | ++ (NSString *)getTimestamp:(NSDate *)date{ | ||
| 23 | + NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; | ||
| 24 | + [formatter setDateStyle:NSDateFormatterMediumStyle]; | ||
| 25 | + [formatter setTimeStyle:NSDateFormatterShortStyle]; | ||
| 26 | + [formatter setDateFormat:@"YYYY-MM-dd HH:mm:ss"]; // ----------设置你想要的格式,hh与HH的区别:分别表示12小时制,24小时制 | ||
| 27 | + //设置时区,这个对于时间的处理有时很重要 | ||
| 28 | + NSTimeZone* timeZone = [NSTimeZone timeZoneWithName:@"Asia/Beijing"]; | ||
| 29 | + [formatter setTimeZone:timeZone]; | ||
| 30 | + //时间转时间戳的方法: | ||
| 31 | + NSInteger timeSp = [[NSNumber numberWithDouble:[date timeIntervalSince1970]] integerValue]; | ||
| 32 | + return [NSString stringWithFormat:@"%ld",(long)timeSp]; | ||
| 33 | +} | ||
| 34 | + | ||
| 35 | +#pragma mark --当前的10位时间戳 | ||
| 36 | ++ (NSInteger)getNowTimestamp{ | ||
| 37 | + NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; | ||
| 38 | + [formatter setDateStyle:NSDateFormatterMediumStyle]; | ||
| 39 | + [formatter setTimeStyle:NSDateFormatterShortStyle]; | ||
| 40 | + [formatter setDateFormat:@"YYYY-MM-dd HH:mm:ss"]; // ----------设置你想要的格式,hh与HH的区别:分别表示12小时制,24小时制 | ||
| 41 | + //设置时区,这个对于时间的处理有时很重要 | ||
| 42 | + NSTimeZone* timeZone = [NSTimeZone timeZoneWithName:@"Asia/Beijing"]; | ||
| 43 | + [formatter setTimeZone:timeZone]; | ||
| 44 | + NSDate *datenow = [NSDate date];//现在时间 | ||
| 45 | + // NSLog(@"设备当前的时间:%@",[formatter stringFromDate:datenow]); | ||
| 46 | + //时间转时间戳的方法: | ||
| 47 | + NSInteger timeSp = [[NSNumber numberWithDouble:[datenow timeIntervalSince1970]] integerValue]; | ||
| 48 | + // NSLog(@"设备当前的10位时间戳:%ld",(long)timeSp); //时间戳的值 | ||
| 49 | + return timeSp; | ||
| 50 | +} | ||
| 51 | + | ||
| 52 | +#pragma mark --获得当前时间 格式yyyy/MM/dd | ||
| 53 | + | ||
| 54 | ++ (NSString *)getyyMMdd | ||
| 55 | +{ | ||
| 56 | + //实例化一个NSDateFormatter对象 | ||
| 57 | + NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; | ||
| 58 | + //设定时间格式,这里可以设置成自己需要的格式 | ||
| 59 | + [dateFormatter setDateFormat:@"yyyy/MM/dd"]; | ||
| 60 | + //用[NSDate date]可以获取系统当前时间 | ||
| 61 | + NSString *currentDateStr = [dateFormatter stringFromDate:[NSDate date]]; | ||
| 62 | + return currentDateStr; | ||
| 63 | +} | ||
| 64 | + | ||
| 65 | +#pragma mark 获得一个 时间戳+八位随机数 | ||
| 66 | ++ (NSString *)getRandTimeStr | ||
| 67 | +{ | ||
| 68 | + NSString *str1 = [NSString stringWithFormat:@"%d",arc4random() % 10]; | ||
| 69 | + NSString *str2 = [NSString stringWithFormat:@"%d",arc4random() % 10]; | ||
| 70 | + NSString *str3 = [NSString stringWithFormat:@"%d",arc4random() % 10]; | ||
| 71 | + NSString *str4 = [NSString stringWithFormat:@"%d",arc4random() % 10]; | ||
| 72 | + NSString *str5 = [NSString stringWithFormat:@"%d",arc4random() % 10]; | ||
| 73 | + NSString *str6 = [NSString stringWithFormat:@"%d",arc4random() % 10]; | ||
| 74 | + NSString *str7 = [NSString stringWithFormat:@"%d",arc4random() % 10]; | ||
| 75 | + NSString *str8 = [NSString stringWithFormat:@"%d",arc4random() % 10]; | ||
| 76 | + | ||
| 77 | + NSString *timeStamp = [NSString stringWithFormat:@"%ld",[self getNowTimestamp]]; | ||
| 78 | + | ||
| 79 | + NSString *randTimeStr = [NSString stringWithFormat:@"%@%@%@%@%@%@%@%@%@",timeStamp,str1,str2,str3,str4,str5,str6,str7,str8]; | ||
| 80 | + return randTimeStr; | ||
| 81 | +} | ||
| 82 | +#pragma mark - 根据ts转换为时间text | ||
| 83 | ++ (NSString *)MomentCellTimeWithTs:(NSInteger)ts | ||
| 84 | +{ | ||
| 85 | + NSDate *date = [NSDate date]; | ||
| 86 | + NSTimeZone *zone = [NSTimeZone systemTimeZone]; | ||
| 87 | + NSInteger interval = [zone secondsFromGMTForDate: date]; | ||
| 88 | + NSDate *localeDate = [date dateByAddingTimeInterval: interval]; | ||
| 89 | + NSDate *beforeDate = [NSDate dateWithTimeIntervalSince1970:ts/1000+28800]; | ||
| 90 | + NSTimeInterval timeInterval = [localeDate timeIntervalSinceDate:beforeDate]; | ||
| 91 | + float days = timeInterval / (3600.0*24); | ||
| 92 | + float hours=timeInterval /3600.0; | ||
| 93 | + float minutes = timeInterval / 60; | ||
| 94 | + NSString *time=nil; | ||
| 95 | + if (days >7) | ||
| 96 | + { | ||
| 97 | + time = [NSString stringWithFormat:@"一周前"]; | ||
| 98 | + } | ||
| 99 | + else if (days>=1) | ||
| 100 | + { | ||
| 101 | + time = [NSString stringWithFormat:@"%d天前",(int)days]; | ||
| 102 | + } | ||
| 103 | + else if (hours>=1) | ||
| 104 | + { | ||
| 105 | + time = [NSString stringWithFormat:@"%d小时前",(int)hours]; | ||
| 106 | + } | ||
| 107 | + else | ||
| 108 | + { | ||
| 109 | + time = [NSString stringWithFormat:@"%d分钟前",(int)minutes]; | ||
| 110 | + } | ||
| 111 | + return time; | ||
| 112 | +} | ||
| 113 | +#pragma mark -获取当前时间 格式2018-03-26 20:34:50 | ||
| 114 | ++ (NSString *)getNowTimeYYMMdd{ | ||
| 115 | + NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; | ||
| 116 | + [formatter setDateStyle:NSDateFormatterMediumStyle]; | ||
| 117 | + [formatter setTimeStyle:NSDateFormatterShortStyle]; | ||
| 118 | + [formatter setDateFormat:@"YYYY-MM-dd HH:mm:ss"]; // ----------设置你想要的格式,hh与HH的区别:分别表示12小时制,24小时制 | ||
| 119 | + //设置时区,这个对于时间的处理有时很重要 | ||
| 120 | + NSTimeZone* timeZone = [NSTimeZone timeZoneWithName:@"Asia/Beijing"]; | ||
| 121 | + [formatter setTimeZone:timeZone]; | ||
| 122 | + NSDate *datenow = [NSDate date];//现在时间 | ||
| 123 | + NSString *currTime = [formatter stringFromDate:datenow]; | ||
| 124 | + // NSLog(@"设备当前的时间:%@",[formatter stringFromDate:datenow]); | ||
| 125 | + //时间转时间戳的方法: | ||
| 126 | + return currTime; | ||
| 127 | +} | ||
| 128 | +#pragma mark -获取当前时间 格式2018-03-26 20:34 | ||
| 129 | ++ (NSString *)getNowTimeYYMMddHHmm{ | ||
| 130 | + NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; | ||
| 131 | + [formatter setDateStyle:NSDateFormatterMediumStyle]; | ||
| 132 | + [formatter setTimeStyle:NSDateFormatterShortStyle]; | ||
| 133 | + [formatter setDateFormat:@"YYYY-MM-dd HH:mm"]; // ----------设置你想要的格式,hh与HH的区别:分别表示12小时制,24小时制 | ||
| 134 | + //设置时区,这个对于时间的处理有时很重要 | ||
| 135 | + NSTimeZone* timeZone = [NSTimeZone timeZoneWithName:@"Asia/Beijing"]; | ||
| 136 | + [formatter setTimeZone:timeZone]; | ||
| 137 | + NSDate *datenow = [NSDate date];//现在时间 | ||
| 138 | + NSString *currTime = [formatter stringFromDate:datenow]; | ||
| 139 | + // NSLog(@"设备当前的时间:%@",[formatter stringFromDate:datenow]); | ||
| 140 | + //时间转时间戳的方法: | ||
| 141 | + return currTime; | ||
| 142 | +} | ||
| 143 | +#pragma mark -获取当前时间 格式2018_03_26 | ||
| 144 | ++ (NSString *)getyyMMddLine | ||
| 145 | +{ | ||
| 146 | + //实例化一个NSDateFormatter对象 | ||
| 147 | + NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; | ||
| 148 | + //设定时间格式,这里可以设置成自己需要的格式 | ||
| 149 | + [dateFormatter setDateFormat:@"yyyyMMdd"]; | ||
| 150 | + //用[NSDate date]可以获取系统当前时间 | ||
| 151 | + NSString *currentDateStr = [dateFormatter stringFromDate:[NSDate date]]; | ||
| 152 | + return currentDateStr; | ||
| 153 | +} | ||
| 154 | + | ||
| 155 | +#pragma mark -获得一个 13时间戳+八位随机数 | ||
| 156 | ++ (NSString *)get13tsRandTimeStr | ||
| 157 | +{ | ||
| 158 | + NSString *str1 = [NSString stringWithFormat:@"%d",arc4random() % 10]; | ||
| 159 | + NSString *str2 = [NSString stringWithFormat:@"%d",arc4random() % 10]; | ||
| 160 | + NSString *str3 = [NSString stringWithFormat:@"%d",arc4random() % 10]; | ||
| 161 | + NSString *str4 = [NSString stringWithFormat:@"%d",arc4random() % 10]; | ||
| 162 | + NSString *str5 = [NSString stringWithFormat:@"%d",arc4random() % 10]; | ||
| 163 | + NSString *str6 = [NSString stringWithFormat:@"%d",arc4random() % 10]; | ||
| 164 | + NSString *str7 = [NSString stringWithFormat:@"%d",arc4random() % 10]; | ||
| 165 | + NSString *str8 = [NSString stringWithFormat:@"%d",arc4random() % 10]; | ||
| 166 | + | ||
| 167 | + NSString *timeStamp = [NSString stringWithFormat:@"%ld",[self getNow13NumTimestamp]]; | ||
| 168 | + | ||
| 169 | + NSString *randTimeStr = [NSString stringWithFormat:@"%@%@%@%@%@%@%@%@%@",timeStamp,str1,str2,str3,str4,str5,str6,str7,str8]; | ||
| 170 | + return randTimeStr; | ||
| 171 | +} | ||
| 172 | +#pragma mark - 获取当前13位时间戳 | ||
| 173 | ++ (NSInteger)getNow13NumTimestamp{ | ||
| 174 | + NSInteger timeStamp10 = [self getNowTimestamp]; | ||
| 175 | + // NSLog(@"设备当前的13位时间戳:%ld",(long)timeSp); //时间戳的值 | ||
| 176 | + return timeStamp10* 1000; | ||
| 177 | +} | ||
| 178 | +#pragma mark -转化为10位时间戳 | ||
| 179 | ++ (NSInteger)getNow10NumTimestamp{ | ||
| 180 | + NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; | ||
| 181 | + [formatter setDateStyle:NSDateFormatterMediumStyle]; | ||
| 182 | + [formatter setTimeStyle:NSDateFormatterShortStyle]; | ||
| 183 | + [formatter setDateFormat:@"YYYY-MM-dd HH:mm:ss"]; // ----------设置你想要的格式,hh与HH的区别:分别表示12小时制,24小时制 | ||
| 184 | + //设置时区,这个对于时间的处理有时很重要 | ||
| 185 | + NSTimeZone* timeZone = [NSTimeZone timeZoneWithName:@"Asia/Beijing"]; | ||
| 186 | + [formatter setTimeZone:timeZone]; | ||
| 187 | + NSDate *datenow = [NSDate date];//现在时间 | ||
| 188 | + // NSLog(@"设备当前的时间:%@",[formatter stringFromDate:datenow]); | ||
| 189 | + //时间转时间戳的方法: | ||
| 190 | + NSInteger timeSp = [[NSNumber numberWithDouble:[datenow timeIntervalSince1970]] integerValue]; | ||
| 191 | + // NSLog(@"设备当前的时间戳:%ld",(long)timeSp); //时间戳的值 | ||
| 192 | + return timeSp; | ||
| 193 | +} | ||
| 194 | +#pragma mark - 根据时间戳返回时间 | ||
| 195 | ++ (NSString *)getDateByTimeStamp:(NSString *)timeStampString | ||
| 196 | +{ | ||
| 197 | + | ||
| 198 | + // iOS 生成的时间戳是10位 | ||
| 199 | + NSTimeInterval interval =[timeStampString doubleValue] / 1000.0; | ||
| 200 | + NSDate *date = [NSDate dateWithTimeIntervalSince1970:interval]; | ||
| 201 | + | ||
| 202 | + NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; | ||
| 203 | + [formatter setDateFormat:@"yyyy-MM-dd HH:mm:ss"]; | ||
| 204 | + NSString *dateString = [formatter stringFromDate: date]; | ||
| 205 | + return dateString; | ||
| 206 | +} | ||
| 207 | +#pragma mark -获取系统当前时间 | ||
| 208 | ++ (NSString *)getyyMMddStr | ||
| 209 | +{ | ||
| 210 | + //实例化一个NSDateFormatter对象 | ||
| 211 | + NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; | ||
| 212 | + //设定时间格式,这里可以设置成自己需要的格式 | ||
| 213 | + [dateFormatter setDateFormat:@"yyyyMMdd"]; | ||
| 214 | + //用[NSDate date]可以获取系统当前时间 | ||
| 215 | + NSString *currentDateStr = [dateFormatter stringFromDate:[NSDate date]]; | ||
| 216 | + return currentDateStr; | ||
| 217 | +} | ||
| 218 | +@end |
CNLiveBaseTools/Classes/CNLiveVoiceTools.h
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveVoiceTools.h | ||
| 3 | +// CNLiveNetAdd | ||
| 4 | +// | ||
| 5 | +// Created by 殷巧娟 on 2019/1/17. | ||
| 6 | +// Copyright © 2019年 cnlive. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import <Foundation/Foundation.h> | ||
| 10 | + | ||
| 11 | +NS_ASSUME_NONNULL_BEGIN | ||
| 12 | + | ||
| 13 | +@interface CNLiveVoiceTools : NSObject | ||
| 14 | +//检测耳机 | ||
| 15 | ++ (BOOL)isHeadsetPluggedIn; | ||
| 16 | +//系统震动 | ||
| 17 | ++ (void)systemSoundID_Vibrate; | ||
| 18 | +@end | ||
| 19 | + | ||
| 20 | +NS_ASSUME_NONNULL_END |
CNLiveBaseTools/Classes/CNLiveVoiceTools.m
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveVoiceTools.m | ||
| 3 | +// CNLiveNetAdd | ||
| 4 | +// | ||
| 5 | +// Created by 殷巧娟 on 2019/1/17. | ||
| 6 | +// Copyright © 2019年 cnlive. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import "CNLiveVoiceTools.h" | ||
| 10 | +#import <AVFoundation/AVFoundation.h> | ||
| 11 | +@implementation CNLiveVoiceTools | ||
| 12 | + | ||
| 13 | +#pragma mark - 检测耳机 | ||
| 14 | ++ (BOOL)isHeadsetPluggedIn { | ||
| 15 | + AVAudioSessionRouteDescription* route = [[AVAudioSession sharedInstance] currentRoute]; | ||
| 16 | + for (AVAudioSessionPortDescription* desc in [route outputs]) { | ||
| 17 | + if ([[desc portType] isEqualToString:AVAudioSessionPortHeadphones]) | ||
| 18 | + return YES; | ||
| 19 | + } | ||
| 20 | + return NO; | ||
| 21 | +} | ||
| 22 | +#pragma mark - 系统震动 | ||
| 23 | ++ (void)systemSoundID_Vibrate | ||
| 24 | +{ | ||
| 25 | + if (@available(iOS 9.0, *)) {//应用内收到消息震动 | ||
| 26 | + AudioServicesPlaySystemSoundWithCompletion(kSystemSoundID_Vibrate, ^{ | ||
| 27 | + | ||
| 28 | + }); | ||
| 29 | + } else { | ||
| 30 | + // Fallback on earlier versions | ||
| 31 | + } | ||
| 32 | +} | ||
| 33 | +@end |
Example/CNLiveBaseTools.xcodeproj/project.pbxproj
0 → 100644
| 1 | +// !$*UTF8*$! | ||
| 2 | +{ | ||
| 3 | + archiveVersion = 1; | ||
| 4 | + classes = { | ||
| 5 | + }; | ||
| 6 | + objectVersion = 46; | ||
| 7 | + objects = { | ||
| 8 | + | ||
| 9 | +/* Begin PBXBuildFile section */ | ||
| 10 | + 4A1C5764892F3772DB1BC0FA /* Pods_CNLiveBaseTools_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 30EBFFB403ADBCF7372F102C /* Pods_CNLiveBaseTools_Tests.framework */; }; | ||
| 11 | + 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; | ||
| 12 | + 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; | ||
| 13 | + 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; | ||
| 14 | + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; | ||
| 15 | + 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; | ||
| 16 | + 6003F59E195388D20070C39A /* CNLiveAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* CNLiveAppDelegate.m */; }; | ||
| 17 | + 6003F5A7195388D20070C39A /* CNLiveViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* CNLiveViewController.m */; }; | ||
| 18 | + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; | ||
| 19 | + 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; | ||
| 20 | + 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; | ||
| 21 | + 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; | ||
| 22 | + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; | ||
| 23 | + 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; | ||
| 24 | + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */; }; | ||
| 25 | + 83B6D11335579090EACC712E /* Pods_CNLiveBaseTools_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 35DDD35853901065714DBDCE /* Pods_CNLiveBaseTools_Example.framework */; }; | ||
| 26 | + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; | ||
| 27 | +/* End PBXBuildFile section */ | ||
| 28 | + | ||
| 29 | +/* Begin PBXContainerItemProxy section */ | ||
| 30 | + 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { | ||
| 31 | + isa = PBXContainerItemProxy; | ||
| 32 | + containerPortal = 6003F582195388D10070C39A /* Project object */; | ||
| 33 | + proxyType = 1; | ||
| 34 | + remoteGlobalIDString = 6003F589195388D20070C39A; | ||
| 35 | + remoteInfo = CNLiveBaseTools; | ||
| 36 | + }; | ||
| 37 | +/* End PBXContainerItemProxy section */ | ||
| 38 | + | ||
| 39 | +/* Begin PBXFileReference section */ | ||
| 40 | + 30EBFFB403ADBCF7372F102C /* Pods_CNLiveBaseTools_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveBaseTools_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
| 41 | + 343C02ECB62DC97B331F61EA /* Pods-CNLiveBaseTools_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveBaseTools_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CNLiveBaseTools_Tests/Pods-CNLiveBaseTools_Tests.debug.xcconfig"; sourceTree = "<group>"; }; | ||
| 42 | + 35DDD35853901065714DBDCE /* Pods_CNLiveBaseTools_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveBaseTools_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
| 43 | + 4984FF53638ED216DEA100FC /* CNLiveBaseTools.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = CNLiveBaseTools.podspec; path = ../CNLiveBaseTools.podspec; sourceTree = "<group>"; }; | ||
| 44 | + 6003F58A195388D20070C39A /* CNLiveBaseTools_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CNLiveBaseTools_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
| 45 | + 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; | ||
| 46 | + 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; | ||
| 47 | + 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; | ||
| 48 | + 6003F595195388D20070C39A /* CNLiveBaseTools-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "CNLiveBaseTools-Info.plist"; sourceTree = "<group>"; }; | ||
| 49 | + 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | ||
| 50 | + 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; | ||
| 51 | + 6003F59B195388D20070C39A /* CNLiveBaseTools-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CNLiveBaseTools-Prefix.pch"; sourceTree = "<group>"; }; | ||
| 52 | + 6003F59C195388D20070C39A /* CNLiveAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNLiveAppDelegate.h; sourceTree = "<group>"; }; | ||
| 53 | + 6003F59D195388D20070C39A /* CNLiveAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CNLiveAppDelegate.m; sourceTree = "<group>"; }; | ||
| 54 | + 6003F5A5195388D20070C39A /* CNLiveViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNLiveViewController.h; sourceTree = "<group>"; }; | ||
| 55 | + 6003F5A6195388D20070C39A /* CNLiveViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CNLiveViewController.m; sourceTree = "<group>"; }; | ||
| 56 | + 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; }; | ||
| 57 | + 6003F5AE195388D20070C39A /* CNLiveBaseTools_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CNLiveBaseTools_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
| 58 | + 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; | ||
| 59 | + 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = "<group>"; }; | ||
| 60 | + 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | ||
| 61 | + 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = "<group>"; }; | ||
| 62 | + 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = "<group>"; }; | ||
| 63 | + 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; | ||
| 64 | + 775105512AF49730C481ED7A /* Pods-CNLiveBaseTools_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveBaseTools_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-CNLiveBaseTools_Tests/Pods-CNLiveBaseTools_Tests.release.xcconfig"; sourceTree = "<group>"; }; | ||
| 65 | + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; | ||
| 66 | + 9494F116CF2152752D3A99C8 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; }; | ||
| 67 | + 96676F03F306FE4E9230497E /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; }; | ||
| 68 | + D6B8BAE000FCD669B6DBDC7A /* Pods-CNLiveBaseTools_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveBaseTools_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-CNLiveBaseTools_Example/Pods-CNLiveBaseTools_Example.release.xcconfig"; sourceTree = "<group>"; }; | ||
| 69 | + E99F8259F99F21E31465646D /* Pods-CNLiveBaseTools_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveBaseTools_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CNLiveBaseTools_Example/Pods-CNLiveBaseTools_Example.debug.xcconfig"; sourceTree = "<group>"; }; | ||
| 70 | +/* End PBXFileReference section */ | ||
| 71 | + | ||
| 72 | +/* Begin PBXFrameworksBuildPhase section */ | ||
| 73 | + 6003F587195388D20070C39A /* Frameworks */ = { | ||
| 74 | + isa = PBXFrameworksBuildPhase; | ||
| 75 | + buildActionMask = 2147483647; | ||
| 76 | + files = ( | ||
| 77 | + 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, | ||
| 78 | + 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, | ||
| 79 | + 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, | ||
| 80 | + 83B6D11335579090EACC712E /* Pods_CNLiveBaseTools_Example.framework in Frameworks */, | ||
| 81 | + ); | ||
| 82 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 83 | + }; | ||
| 84 | + 6003F5AB195388D20070C39A /* Frameworks */ = { | ||
| 85 | + isa = PBXFrameworksBuildPhase; | ||
| 86 | + buildActionMask = 2147483647; | ||
| 87 | + files = ( | ||
| 88 | + 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, | ||
| 89 | + 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, | ||
| 90 | + 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, | ||
| 91 | + 4A1C5764892F3772DB1BC0FA /* Pods_CNLiveBaseTools_Tests.framework in Frameworks */, | ||
| 92 | + ); | ||
| 93 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 94 | + }; | ||
| 95 | +/* End PBXFrameworksBuildPhase section */ | ||
| 96 | + | ||
| 97 | +/* Begin PBXGroup section */ | ||
| 98 | + 6003F581195388D10070C39A = { | ||
| 99 | + isa = PBXGroup; | ||
| 100 | + children = ( | ||
| 101 | + 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, | ||
| 102 | + 6003F593195388D20070C39A /* Example for CNLiveBaseTools */, | ||
| 103 | + 6003F5B5195388D20070C39A /* Tests */, | ||
| 104 | + 6003F58C195388D20070C39A /* Frameworks */, | ||
| 105 | + 6003F58B195388D20070C39A /* Products */, | ||
| 106 | + 7DB36399799EC3CDE7A83239 /* Pods */, | ||
| 107 | + ); | ||
| 108 | + sourceTree = "<group>"; | ||
| 109 | + }; | ||
| 110 | + 6003F58B195388D20070C39A /* Products */ = { | ||
| 111 | + isa = PBXGroup; | ||
| 112 | + children = ( | ||
| 113 | + 6003F58A195388D20070C39A /* CNLiveBaseTools_Example.app */, | ||
| 114 | + 6003F5AE195388D20070C39A /* CNLiveBaseTools_Tests.xctest */, | ||
| 115 | + ); | ||
| 116 | + name = Products; | ||
| 117 | + sourceTree = "<group>"; | ||
| 118 | + }; | ||
| 119 | + 6003F58C195388D20070C39A /* Frameworks */ = { | ||
| 120 | + isa = PBXGroup; | ||
| 121 | + children = ( | ||
| 122 | + 6003F58D195388D20070C39A /* Foundation.framework */, | ||
| 123 | + 6003F58F195388D20070C39A /* CoreGraphics.framework */, | ||
| 124 | + 6003F591195388D20070C39A /* UIKit.framework */, | ||
| 125 | + 6003F5AF195388D20070C39A /* XCTest.framework */, | ||
| 126 | + 35DDD35853901065714DBDCE /* Pods_CNLiveBaseTools_Example.framework */, | ||
| 127 | + 30EBFFB403ADBCF7372F102C /* Pods_CNLiveBaseTools_Tests.framework */, | ||
| 128 | + ); | ||
| 129 | + name = Frameworks; | ||
| 130 | + sourceTree = "<group>"; | ||
| 131 | + }; | ||
| 132 | + 6003F593195388D20070C39A /* Example for CNLiveBaseTools */ = { | ||
| 133 | + isa = PBXGroup; | ||
| 134 | + children = ( | ||
| 135 | + 6003F59C195388D20070C39A /* CNLiveAppDelegate.h */, | ||
| 136 | + 6003F59D195388D20070C39A /* CNLiveAppDelegate.m */, | ||
| 137 | + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, | ||
| 138 | + 6003F5A5195388D20070C39A /* CNLiveViewController.h */, | ||
| 139 | + 6003F5A6195388D20070C39A /* CNLiveViewController.m */, | ||
| 140 | + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */, | ||
| 141 | + 6003F5A8195388D20070C39A /* Images.xcassets */, | ||
| 142 | + 6003F594195388D20070C39A /* Supporting Files */, | ||
| 143 | + ); | ||
| 144 | + name = "Example for CNLiveBaseTools"; | ||
| 145 | + path = CNLiveBaseTools; | ||
| 146 | + sourceTree = "<group>"; | ||
| 147 | + }; | ||
| 148 | + 6003F594195388D20070C39A /* Supporting Files */ = { | ||
| 149 | + isa = PBXGroup; | ||
| 150 | + children = ( | ||
| 151 | + 6003F595195388D20070C39A /* CNLiveBaseTools-Info.plist */, | ||
| 152 | + 6003F596195388D20070C39A /* InfoPlist.strings */, | ||
| 153 | + 6003F599195388D20070C39A /* main.m */, | ||
| 154 | + 6003F59B195388D20070C39A /* CNLiveBaseTools-Prefix.pch */, | ||
| 155 | + ); | ||
| 156 | + name = "Supporting Files"; | ||
| 157 | + sourceTree = "<group>"; | ||
| 158 | + }; | ||
| 159 | + 6003F5B5195388D20070C39A /* Tests */ = { | ||
| 160 | + isa = PBXGroup; | ||
| 161 | + children = ( | ||
| 162 | + 6003F5BB195388D20070C39A /* Tests.m */, | ||
| 163 | + 6003F5B6195388D20070C39A /* Supporting Files */, | ||
| 164 | + ); | ||
| 165 | + path = Tests; | ||
| 166 | + sourceTree = "<group>"; | ||
| 167 | + }; | ||
| 168 | + 6003F5B6195388D20070C39A /* Supporting Files */ = { | ||
| 169 | + isa = PBXGroup; | ||
| 170 | + children = ( | ||
| 171 | + 6003F5B7195388D20070C39A /* Tests-Info.plist */, | ||
| 172 | + 6003F5B8195388D20070C39A /* InfoPlist.strings */, | ||
| 173 | + 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, | ||
| 174 | + ); | ||
| 175 | + name = "Supporting Files"; | ||
| 176 | + sourceTree = "<group>"; | ||
| 177 | + }; | ||
| 178 | + 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { | ||
| 179 | + isa = PBXGroup; | ||
| 180 | + children = ( | ||
| 181 | + 4984FF53638ED216DEA100FC /* CNLiveBaseTools.podspec */, | ||
| 182 | + 9494F116CF2152752D3A99C8 /* README.md */, | ||
| 183 | + 96676F03F306FE4E9230497E /* LICENSE */, | ||
| 184 | + ); | ||
| 185 | + name = "Podspec Metadata"; | ||
| 186 | + sourceTree = "<group>"; | ||
| 187 | + }; | ||
| 188 | + 7DB36399799EC3CDE7A83239 /* Pods */ = { | ||
| 189 | + isa = PBXGroup; | ||
| 190 | + children = ( | ||
| 191 | + E99F8259F99F21E31465646D /* Pods-CNLiveBaseTools_Example.debug.xcconfig */, | ||
| 192 | + D6B8BAE000FCD669B6DBDC7A /* Pods-CNLiveBaseTools_Example.release.xcconfig */, | ||
| 193 | + 343C02ECB62DC97B331F61EA /* Pods-CNLiveBaseTools_Tests.debug.xcconfig */, | ||
| 194 | + 775105512AF49730C481ED7A /* Pods-CNLiveBaseTools_Tests.release.xcconfig */, | ||
| 195 | + ); | ||
| 196 | + name = Pods; | ||
| 197 | + sourceTree = "<group>"; | ||
| 198 | + }; | ||
| 199 | +/* End PBXGroup section */ | ||
| 200 | + | ||
| 201 | +/* Begin PBXNativeTarget section */ | ||
| 202 | + 6003F589195388D20070C39A /* CNLiveBaseTools_Example */ = { | ||
| 203 | + isa = PBXNativeTarget; | ||
| 204 | + buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveBaseTools_Example" */; | ||
| 205 | + buildPhases = ( | ||
| 206 | + 5E57D5032F20B71B3920DD5E /* [CP] Check Pods Manifest.lock */, | ||
| 207 | + 6003F586195388D20070C39A /* Sources */, | ||
| 208 | + 6003F587195388D20070C39A /* Frameworks */, | ||
| 209 | + 6003F588195388D20070C39A /* Resources */, | ||
| 210 | + A2A2DAEDDFF1C2D41B7DA75F /* [CP] Embed Pods Frameworks */, | ||
| 211 | + ); | ||
| 212 | + buildRules = ( | ||
| 213 | + ); | ||
| 214 | + dependencies = ( | ||
| 215 | + ); | ||
| 216 | + name = CNLiveBaseTools_Example; | ||
| 217 | + productName = CNLiveBaseTools; | ||
| 218 | + productReference = 6003F58A195388D20070C39A /* CNLiveBaseTools_Example.app */; | ||
| 219 | + productType = "com.apple.product-type.application"; | ||
| 220 | + }; | ||
| 221 | + 6003F5AD195388D20070C39A /* CNLiveBaseTools_Tests */ = { | ||
| 222 | + isa = PBXNativeTarget; | ||
| 223 | + buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveBaseTools_Tests" */; | ||
| 224 | + buildPhases = ( | ||
| 225 | + 9418C9FF1A87E391D8174854 /* [CP] Check Pods Manifest.lock */, | ||
| 226 | + 6003F5AA195388D20070C39A /* Sources */, | ||
| 227 | + 6003F5AB195388D20070C39A /* Frameworks */, | ||
| 228 | + 6003F5AC195388D20070C39A /* Resources */, | ||
| 229 | + ); | ||
| 230 | + buildRules = ( | ||
| 231 | + ); | ||
| 232 | + dependencies = ( | ||
| 233 | + 6003F5B4195388D20070C39A /* PBXTargetDependency */, | ||
| 234 | + ); | ||
| 235 | + name = CNLiveBaseTools_Tests; | ||
| 236 | + productName = CNLiveBaseToolsTests; | ||
| 237 | + productReference = 6003F5AE195388D20070C39A /* CNLiveBaseTools_Tests.xctest */; | ||
| 238 | + productType = "com.apple.product-type.bundle.unit-test"; | ||
| 239 | + }; | ||
| 240 | +/* End PBXNativeTarget section */ | ||
| 241 | + | ||
| 242 | +/* Begin PBXProject section */ | ||
| 243 | + 6003F582195388D10070C39A /* Project object */ = { | ||
| 244 | + isa = PBXProject; | ||
| 245 | + attributes = { | ||
| 246 | + CLASSPREFIX = CNLive; | ||
| 247 | + LastUpgradeCheck = 0720; | ||
| 248 | + ORGANIZATIONNAME = "殷巧娟"; | ||
| 249 | + TargetAttributes = { | ||
| 250 | + 6003F589195388D20070C39A = { | ||
| 251 | + DevelopmentTeam = 94X49GG3ZW; | ||
| 252 | + }; | ||
| 253 | + 6003F5AD195388D20070C39A = { | ||
| 254 | + TestTargetID = 6003F589195388D20070C39A; | ||
| 255 | + }; | ||
| 256 | + }; | ||
| 257 | + }; | ||
| 258 | + buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveBaseTools" */; | ||
| 259 | + compatibilityVersion = "Xcode 3.2"; | ||
| 260 | + developmentRegion = English; | ||
| 261 | + hasScannedForEncodings = 0; | ||
| 262 | + knownRegions = ( | ||
| 263 | + en, | ||
| 264 | + Base, | ||
| 265 | + ); | ||
| 266 | + mainGroup = 6003F581195388D10070C39A; | ||
| 267 | + productRefGroup = 6003F58B195388D20070C39A /* Products */; | ||
| 268 | + projectDirPath = ""; | ||
| 269 | + projectRoot = ""; | ||
| 270 | + targets = ( | ||
| 271 | + 6003F589195388D20070C39A /* CNLiveBaseTools_Example */, | ||
| 272 | + 6003F5AD195388D20070C39A /* CNLiveBaseTools_Tests */, | ||
| 273 | + ); | ||
| 274 | + }; | ||
| 275 | +/* End PBXProject section */ | ||
| 276 | + | ||
| 277 | +/* Begin PBXResourcesBuildPhase section */ | ||
| 278 | + 6003F588195388D20070C39A /* Resources */ = { | ||
| 279 | + isa = PBXResourcesBuildPhase; | ||
| 280 | + buildActionMask = 2147483647; | ||
| 281 | + files = ( | ||
| 282 | + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, | ||
| 283 | + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */, | ||
| 284 | + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, | ||
| 285 | + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, | ||
| 286 | + ); | ||
| 287 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 288 | + }; | ||
| 289 | + 6003F5AC195388D20070C39A /* Resources */ = { | ||
| 290 | + isa = PBXResourcesBuildPhase; | ||
| 291 | + buildActionMask = 2147483647; | ||
| 292 | + files = ( | ||
| 293 | + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, | ||
| 294 | + ); | ||
| 295 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 296 | + }; | ||
| 297 | +/* End PBXResourcesBuildPhase section */ | ||
| 298 | + | ||
| 299 | +/* Begin PBXShellScriptBuildPhase section */ | ||
| 300 | + 5E57D5032F20B71B3920DD5E /* [CP] Check Pods Manifest.lock */ = { | ||
| 301 | + isa = PBXShellScriptBuildPhase; | ||
| 302 | + buildActionMask = 2147483647; | ||
| 303 | + files = ( | ||
| 304 | + ); | ||
| 305 | + inputFileListPaths = ( | ||
| 306 | + ); | ||
| 307 | + inputPaths = ( | ||
| 308 | + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", | ||
| 309 | + "${PODS_ROOT}/Manifest.lock", | ||
| 310 | + ); | ||
| 311 | + name = "[CP] Check Pods Manifest.lock"; | ||
| 312 | + outputFileListPaths = ( | ||
| 313 | + ); | ||
| 314 | + outputPaths = ( | ||
| 315 | + "$(DERIVED_FILE_DIR)/Pods-CNLiveBaseTools_Example-checkManifestLockResult.txt", | ||
| 316 | + ); | ||
| 317 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 318 | + shellPath = /bin/sh; | ||
| 319 | + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; | ||
| 320 | + showEnvVarsInLog = 0; | ||
| 321 | + }; | ||
| 322 | + 9418C9FF1A87E391D8174854 /* [CP] Check Pods Manifest.lock */ = { | ||
| 323 | + isa = PBXShellScriptBuildPhase; | ||
| 324 | + buildActionMask = 2147483647; | ||
| 325 | + files = ( | ||
| 326 | + ); | ||
| 327 | + inputFileListPaths = ( | ||
| 328 | + ); | ||
| 329 | + inputPaths = ( | ||
| 330 | + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", | ||
| 331 | + "${PODS_ROOT}/Manifest.lock", | ||
| 332 | + ); | ||
| 333 | + name = "[CP] Check Pods Manifest.lock"; | ||
| 334 | + outputFileListPaths = ( | ||
| 335 | + ); | ||
| 336 | + outputPaths = ( | ||
| 337 | + "$(DERIVED_FILE_DIR)/Pods-CNLiveBaseTools_Tests-checkManifestLockResult.txt", | ||
| 338 | + ); | ||
| 339 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 340 | + shellPath = /bin/sh; | ||
| 341 | + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; | ||
| 342 | + showEnvVarsInLog = 0; | ||
| 343 | + }; | ||
| 344 | + A2A2DAEDDFF1C2D41B7DA75F /* [CP] Embed Pods Frameworks */ = { | ||
| 345 | + isa = PBXShellScriptBuildPhase; | ||
| 346 | + buildActionMask = 2147483647; | ||
| 347 | + files = ( | ||
| 348 | + ); | ||
| 349 | + inputFileListPaths = ( | ||
| 350 | + ); | ||
| 351 | + inputPaths = ( | ||
| 352 | + "${SRCROOT}/Pods/Target Support Files/Pods-CNLiveBaseTools_Example/Pods-CNLiveBaseTools_Example-frameworks.sh", | ||
| 353 | + "${BUILT_PRODUCTS_DIR}/CNLiveBaseTools/CNLiveBaseTools.framework", | ||
| 354 | + ); | ||
| 355 | + name = "[CP] Embed Pods Frameworks"; | ||
| 356 | + outputFileListPaths = ( | ||
| 357 | + ); | ||
| 358 | + outputPaths = ( | ||
| 359 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseTools.framework", | ||
| 360 | + ); | ||
| 361 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 362 | + shellPath = /bin/sh; | ||
| 363 | + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CNLiveBaseTools_Example/Pods-CNLiveBaseTools_Example-frameworks.sh\"\n"; | ||
| 364 | + showEnvVarsInLog = 0; | ||
| 365 | + }; | ||
| 366 | +/* End PBXShellScriptBuildPhase section */ | ||
| 367 | + | ||
| 368 | +/* Begin PBXSourcesBuildPhase section */ | ||
| 369 | + 6003F586195388D20070C39A /* Sources */ = { | ||
| 370 | + isa = PBXSourcesBuildPhase; | ||
| 371 | + buildActionMask = 2147483647; | ||
| 372 | + files = ( | ||
| 373 | + 6003F59E195388D20070C39A /* CNLiveAppDelegate.m in Sources */, | ||
| 374 | + 6003F5A7195388D20070C39A /* CNLiveViewController.m in Sources */, | ||
| 375 | + 6003F59A195388D20070C39A /* main.m in Sources */, | ||
| 376 | + ); | ||
| 377 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 378 | + }; | ||
| 379 | + 6003F5AA195388D20070C39A /* Sources */ = { | ||
| 380 | + isa = PBXSourcesBuildPhase; | ||
| 381 | + buildActionMask = 2147483647; | ||
| 382 | + files = ( | ||
| 383 | + 6003F5BC195388D20070C39A /* Tests.m in Sources */, | ||
| 384 | + ); | ||
| 385 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 386 | + }; | ||
| 387 | +/* End PBXSourcesBuildPhase section */ | ||
| 388 | + | ||
| 389 | +/* Begin PBXTargetDependency section */ | ||
| 390 | + 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { | ||
| 391 | + isa = PBXTargetDependency; | ||
| 392 | + target = 6003F589195388D20070C39A /* CNLiveBaseTools_Example */; | ||
| 393 | + targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; | ||
| 394 | + }; | ||
| 395 | +/* End PBXTargetDependency section */ | ||
| 396 | + | ||
| 397 | +/* Begin PBXVariantGroup section */ | ||
| 398 | + 6003F596195388D20070C39A /* InfoPlist.strings */ = { | ||
| 399 | + isa = PBXVariantGroup; | ||
| 400 | + children = ( | ||
| 401 | + 6003F597195388D20070C39A /* en */, | ||
| 402 | + ); | ||
| 403 | + name = InfoPlist.strings; | ||
| 404 | + sourceTree = "<group>"; | ||
| 405 | + }; | ||
| 406 | + 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { | ||
| 407 | + isa = PBXVariantGroup; | ||
| 408 | + children = ( | ||
| 409 | + 6003F5B9195388D20070C39A /* en */, | ||
| 410 | + ); | ||
| 411 | + name = InfoPlist.strings; | ||
| 412 | + sourceTree = "<group>"; | ||
| 413 | + }; | ||
| 414 | + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = { | ||
| 415 | + isa = PBXVariantGroup; | ||
| 416 | + children = ( | ||
| 417 | + 71719F9E1E33DC2100824A3D /* Base */, | ||
| 418 | + ); | ||
| 419 | + name = LaunchScreen.storyboard; | ||
| 420 | + sourceTree = "<group>"; | ||
| 421 | + }; | ||
| 422 | +/* End PBXVariantGroup section */ | ||
| 423 | + | ||
| 424 | +/* Begin XCBuildConfiguration section */ | ||
| 425 | + 6003F5BD195388D20070C39A /* Debug */ = { | ||
| 426 | + isa = XCBuildConfiguration; | ||
| 427 | + buildSettings = { | ||
| 428 | + ALWAYS_SEARCH_USER_PATHS = NO; | ||
| 429 | + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||
| 430 | + CLANG_CXX_LIBRARY = "libc++"; | ||
| 431 | + CLANG_ENABLE_MODULES = YES; | ||
| 432 | + CLANG_ENABLE_OBJC_ARC = YES; | ||
| 433 | + CLANG_WARN_BOOL_CONVERSION = YES; | ||
| 434 | + CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
| 435 | + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
| 436 | + CLANG_WARN_EMPTY_BODY = YES; | ||
| 437 | + CLANG_WARN_ENUM_CONVERSION = YES; | ||
| 438 | + CLANG_WARN_INT_CONVERSION = YES; | ||
| 439 | + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
| 440 | + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
| 441 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | ||
| 442 | + COPY_PHASE_STRIP = NO; | ||
| 443 | + ENABLE_TESTABILITY = YES; | ||
| 444 | + GCC_C_LANGUAGE_STANDARD = gnu99; | ||
| 445 | + GCC_DYNAMIC_NO_PIC = NO; | ||
| 446 | + GCC_OPTIMIZATION_LEVEL = 0; | ||
| 447 | + GCC_PREPROCESSOR_DEFINITIONS = ( | ||
| 448 | + "DEBUG=1", | ||
| 449 | + "$(inherited)", | ||
| 450 | + ); | ||
| 451 | + GCC_SYMBOLS_PRIVATE_EXTERN = NO; | ||
| 452 | + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
| 453 | + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
| 454 | + GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
| 455 | + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
| 456 | + GCC_WARN_UNUSED_FUNCTION = YES; | ||
| 457 | + GCC_WARN_UNUSED_VARIABLE = YES; | ||
| 458 | + IPHONEOS_DEPLOYMENT_TARGET = 9.3; | ||
| 459 | + ONLY_ACTIVE_ARCH = YES; | ||
| 460 | + SDKROOT = iphoneos; | ||
| 461 | + TARGETED_DEVICE_FAMILY = "1,2"; | ||
| 462 | + }; | ||
| 463 | + name = Debug; | ||
| 464 | + }; | ||
| 465 | + 6003F5BE195388D20070C39A /* Release */ = { | ||
| 466 | + isa = XCBuildConfiguration; | ||
| 467 | + buildSettings = { | ||
| 468 | + ALWAYS_SEARCH_USER_PATHS = NO; | ||
| 469 | + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||
| 470 | + CLANG_CXX_LIBRARY = "libc++"; | ||
| 471 | + CLANG_ENABLE_MODULES = YES; | ||
| 472 | + CLANG_ENABLE_OBJC_ARC = YES; | ||
| 473 | + CLANG_WARN_BOOL_CONVERSION = YES; | ||
| 474 | + CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
| 475 | + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
| 476 | + CLANG_WARN_EMPTY_BODY = YES; | ||
| 477 | + CLANG_WARN_ENUM_CONVERSION = YES; | ||
| 478 | + CLANG_WARN_INT_CONVERSION = YES; | ||
| 479 | + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
| 480 | + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
| 481 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | ||
| 482 | + COPY_PHASE_STRIP = YES; | ||
| 483 | + ENABLE_NS_ASSERTIONS = NO; | ||
| 484 | + GCC_C_LANGUAGE_STANDARD = gnu99; | ||
| 485 | + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
| 486 | + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
| 487 | + GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
| 488 | + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
| 489 | + GCC_WARN_UNUSED_FUNCTION = YES; | ||
| 490 | + GCC_WARN_UNUSED_VARIABLE = YES; | ||
| 491 | + IPHONEOS_DEPLOYMENT_TARGET = 9.3; | ||
| 492 | + SDKROOT = iphoneos; | ||
| 493 | + TARGETED_DEVICE_FAMILY = "1,2"; | ||
| 494 | + VALIDATE_PRODUCT = YES; | ||
| 495 | + }; | ||
| 496 | + name = Release; | ||
| 497 | + }; | ||
| 498 | + 6003F5C0195388D20070C39A /* Debug */ = { | ||
| 499 | + isa = XCBuildConfiguration; | ||
| 500 | + baseConfigurationReference = E99F8259F99F21E31465646D /* Pods-CNLiveBaseTools_Example.debug.xcconfig */; | ||
| 501 | + buildSettings = { | ||
| 502 | + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
| 503 | + DEVELOPMENT_TEAM = 94X49GG3ZW; | ||
| 504 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
| 505 | + GCC_PREFIX_HEADER = "CNLiveBaseTools/CNLiveBaseTools-Prefix.pch"; | ||
| 506 | + INFOPLIST_FILE = "CNLiveBaseTools/CNLiveBaseTools-Info.plist"; | ||
| 507 | + IPHONEOS_DEPLOYMENT_TARGET = 9.0; | ||
| 508 | + MODULE_NAME = ExampleApp; | ||
| 509 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | ||
| 510 | + PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| 511 | + WRAPPER_EXTENSION = app; | ||
| 512 | + }; | ||
| 513 | + name = Debug; | ||
| 514 | + }; | ||
| 515 | + 6003F5C1195388D20070C39A /* Release */ = { | ||
| 516 | + isa = XCBuildConfiguration; | ||
| 517 | + baseConfigurationReference = D6B8BAE000FCD669B6DBDC7A /* Pods-CNLiveBaseTools_Example.release.xcconfig */; | ||
| 518 | + buildSettings = { | ||
| 519 | + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
| 520 | + DEVELOPMENT_TEAM = 94X49GG3ZW; | ||
| 521 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
| 522 | + GCC_PREFIX_HEADER = "CNLiveBaseTools/CNLiveBaseTools-Prefix.pch"; | ||
| 523 | + INFOPLIST_FILE = "CNLiveBaseTools/CNLiveBaseTools-Info.plist"; | ||
| 524 | + IPHONEOS_DEPLOYMENT_TARGET = 9.0; | ||
| 525 | + MODULE_NAME = ExampleApp; | ||
| 526 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | ||
| 527 | + PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| 528 | + WRAPPER_EXTENSION = app; | ||
| 529 | + }; | ||
| 530 | + name = Release; | ||
| 531 | + }; | ||
| 532 | + 6003F5C3195388D20070C39A /* Debug */ = { | ||
| 533 | + isa = XCBuildConfiguration; | ||
| 534 | + baseConfigurationReference = 343C02ECB62DC97B331F61EA /* Pods-CNLiveBaseTools_Tests.debug.xcconfig */; | ||
| 535 | + buildSettings = { | ||
| 536 | + BUNDLE_LOADER = "$(TEST_HOST)"; | ||
| 537 | + FRAMEWORK_SEARCH_PATHS = ( | ||
| 538 | + "$(SDKROOT)/Developer/Library/Frameworks", | ||
| 539 | + "$(inherited)", | ||
| 540 | + "$(DEVELOPER_FRAMEWORKS_DIR)", | ||
| 541 | + ); | ||
| 542 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
| 543 | + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; | ||
| 544 | + GCC_PREPROCESSOR_DEFINITIONS = ( | ||
| 545 | + "DEBUG=1", | ||
| 546 | + "$(inherited)", | ||
| 547 | + ); | ||
| 548 | + INFOPLIST_FILE = "Tests/Tests-Info.plist"; | ||
| 549 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | ||
| 550 | + PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| 551 | + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveBaseTools_Example.app/CNLiveBaseTools_Example"; | ||
| 552 | + WRAPPER_EXTENSION = xctest; | ||
| 553 | + }; | ||
| 554 | + name = Debug; | ||
| 555 | + }; | ||
| 556 | + 6003F5C4195388D20070C39A /* Release */ = { | ||
| 557 | + isa = XCBuildConfiguration; | ||
| 558 | + baseConfigurationReference = 775105512AF49730C481ED7A /* Pods-CNLiveBaseTools_Tests.release.xcconfig */; | ||
| 559 | + buildSettings = { | ||
| 560 | + BUNDLE_LOADER = "$(TEST_HOST)"; | ||
| 561 | + FRAMEWORK_SEARCH_PATHS = ( | ||
| 562 | + "$(SDKROOT)/Developer/Library/Frameworks", | ||
| 563 | + "$(inherited)", | ||
| 564 | + "$(DEVELOPER_FRAMEWORKS_DIR)", | ||
| 565 | + ); | ||
| 566 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
| 567 | + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; | ||
| 568 | + INFOPLIST_FILE = "Tests/Tests-Info.plist"; | ||
| 569 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | ||
| 570 | + PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| 571 | + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveBaseTools_Example.app/CNLiveBaseTools_Example"; | ||
| 572 | + WRAPPER_EXTENSION = xctest; | ||
| 573 | + }; | ||
| 574 | + name = Release; | ||
| 575 | + }; | ||
| 576 | +/* End XCBuildConfiguration section */ | ||
| 577 | + | ||
| 578 | +/* Begin XCConfigurationList section */ | ||
| 579 | + 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveBaseTools" */ = { | ||
| 580 | + isa = XCConfigurationList; | ||
| 581 | + buildConfigurations = ( | ||
| 582 | + 6003F5BD195388D20070C39A /* Debug */, | ||
| 583 | + 6003F5BE195388D20070C39A /* Release */, | ||
| 584 | + ); | ||
| 585 | + defaultConfigurationIsVisible = 0; | ||
| 586 | + defaultConfigurationName = Release; | ||
| 587 | + }; | ||
| 588 | + 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveBaseTools_Example" */ = { | ||
| 589 | + isa = XCConfigurationList; | ||
| 590 | + buildConfigurations = ( | ||
| 591 | + 6003F5C0195388D20070C39A /* Debug */, | ||
| 592 | + 6003F5C1195388D20070C39A /* Release */, | ||
| 593 | + ); | ||
| 594 | + defaultConfigurationIsVisible = 0; | ||
| 595 | + defaultConfigurationName = Release; | ||
| 596 | + }; | ||
| 597 | + 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveBaseTools_Tests" */ = { | ||
| 598 | + isa = XCConfigurationList; | ||
| 599 | + buildConfigurations = ( | ||
| 600 | + 6003F5C3195388D20070C39A /* Debug */, | ||
| 601 | + 6003F5C4195388D20070C39A /* Release */, | ||
| 602 | + ); | ||
| 603 | + defaultConfigurationIsVisible = 0; | ||
| 604 | + defaultConfigurationName = Release; | ||
| 605 | + }; | ||
| 606 | +/* End XCConfigurationList section */ | ||
| 607 | + }; | ||
| 608 | + rootObject = 6003F582195388D10070C39A /* Project object */; | ||
| 609 | +} |
Example/CNLiveBaseTools.xcodeproj/project.xcworkspace/contents.xcworkspacedata
0 → 100644
Example/CNLiveBaseTools.xcodeproj/xcshareddata/xcschemes/CNLiveBaseTools-Example.xcscheme
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<Scheme | ||
| 3 | + LastUpgradeVersion = "0720" | ||
| 4 | + version = "1.3"> | ||
| 5 | + <BuildAction | ||
| 6 | + parallelizeBuildables = "YES" | ||
| 7 | + buildImplicitDependencies = "YES"> | ||
| 8 | + <BuildActionEntries> | ||
| 9 | + <BuildActionEntry | ||
| 10 | + buildForTesting = "YES" | ||
| 11 | + buildForRunning = "YES" | ||
| 12 | + buildForProfiling = "YES" | ||
| 13 | + buildForArchiving = "YES" | ||
| 14 | + buildForAnalyzing = "YES"> | ||
| 15 | + <BuildableReference | ||
| 16 | + BuildableIdentifier = "primary" | ||
| 17 | + BlueprintIdentifier = "6003F589195388D20070C39A" | ||
| 18 | + BuildableName = "CNLiveBaseTools_Example.app" | ||
| 19 | + BlueprintName = "CNLiveBaseTools_Example" | ||
| 20 | + ReferencedContainer = "container:CNLiveBaseTools.xcodeproj"> | ||
| 21 | + </BuildableReference> | ||
| 22 | + </BuildActionEntry> | ||
| 23 | + </BuildActionEntries> | ||
| 24 | + </BuildAction> | ||
| 25 | + <TestAction | ||
| 26 | + buildConfiguration = "Debug" | ||
| 27 | + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| 28 | + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| 29 | + shouldUseLaunchSchemeArgsEnv = "YES"> | ||
| 30 | + <Testables> | ||
| 31 | + <TestableReference | ||
| 32 | + skipped = "NO"> | ||
| 33 | + <BuildableReference | ||
| 34 | + BuildableIdentifier = "primary" | ||
| 35 | + BlueprintIdentifier = "6003F5AD195388D20070C39A" | ||
| 36 | + BuildableName = "CNLiveBaseTools_Tests.xctest" | ||
| 37 | + BlueprintName = "CNLiveBaseTools_Tests" | ||
| 38 | + ReferencedContainer = "container:CNLiveBaseTools.xcodeproj"> | ||
| 39 | + </BuildableReference> | ||
| 40 | + </TestableReference> | ||
| 41 | + </Testables> | ||
| 42 | + <MacroExpansion> | ||
| 43 | + <BuildableReference | ||
| 44 | + BuildableIdentifier = "primary" | ||
| 45 | + BlueprintIdentifier = "6003F589195388D20070C39A" | ||
| 46 | + BuildableName = "CNLiveBaseTools_Example.app" | ||
| 47 | + BlueprintName = "CNLiveBaseTools_Example" | ||
| 48 | + ReferencedContainer = "container:CNLiveBaseTools.xcodeproj"> | ||
| 49 | + </BuildableReference> | ||
| 50 | + </MacroExpansion> | ||
| 51 | + <AdditionalOptions> | ||
| 52 | + </AdditionalOptions> | ||
| 53 | + </TestAction> | ||
| 54 | + <LaunchAction | ||
| 55 | + buildConfiguration = "Debug" | ||
| 56 | + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| 57 | + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| 58 | + launchStyle = "0" | ||
| 59 | + useCustomWorkingDirectory = "NO" | ||
| 60 | + ignoresPersistentStateOnLaunch = "NO" | ||
| 61 | + debugDocumentVersioning = "YES" | ||
| 62 | + debugServiceExtension = "internal" | ||
| 63 | + allowLocationSimulation = "YES"> | ||
| 64 | + <BuildableProductRunnable | ||
| 65 | + runnableDebuggingMode = "0"> | ||
| 66 | + <BuildableReference | ||
| 67 | + BuildableIdentifier = "primary" | ||
| 68 | + BlueprintIdentifier = "6003F589195388D20070C39A" | ||
| 69 | + BuildableName = "CNLiveBaseTools_Example.app" | ||
| 70 | + BlueprintName = "CNLiveBaseTools_Example" | ||
| 71 | + ReferencedContainer = "container:CNLiveBaseTools.xcodeproj"> | ||
| 72 | + </BuildableReference> | ||
| 73 | + </BuildableProductRunnable> | ||
| 74 | + <AdditionalOptions> | ||
| 75 | + </AdditionalOptions> | ||
| 76 | + </LaunchAction> | ||
| 77 | + <ProfileAction | ||
| 78 | + buildConfiguration = "Release" | ||
| 79 | + shouldUseLaunchSchemeArgsEnv = "YES" | ||
| 80 | + savedToolIdentifier = "" | ||
| 81 | + useCustomWorkingDirectory = "NO" | ||
| 82 | + debugDocumentVersioning = "YES"> | ||
| 83 | + <BuildableProductRunnable | ||
| 84 | + runnableDebuggingMode = "0"> | ||
| 85 | + <BuildableReference | ||
| 86 | + BuildableIdentifier = "primary" | ||
| 87 | + BlueprintIdentifier = "6003F589195388D20070C39A" | ||
| 88 | + BuildableName = "CNLiveBaseTools_Example.app" | ||
| 89 | + BlueprintName = "CNLiveBaseTools_Example" | ||
| 90 | + ReferencedContainer = "container:CNLiveBaseTools.xcodeproj"> | ||
| 91 | + </BuildableReference> | ||
| 92 | + </BuildableProductRunnable> | ||
| 93 | + </ProfileAction> | ||
| 94 | + <AnalyzeAction | ||
| 95 | + buildConfiguration = "Debug"> | ||
| 96 | + </AnalyzeAction> | ||
| 97 | + <ArchiveAction | ||
| 98 | + buildConfiguration = "Release" | ||
| 99 | + revealArchiveInOrganizer = "YES"> | ||
| 100 | + </ArchiveAction> | ||
| 101 | +</Scheme> |
Example/CNLiveBaseTools.xcworkspace/contents.xcworkspacedata
0 → 100644
Example/CNLiveBaseTools.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
0 → 100644
Example/CNLiveBaseTools/Base.lproj/LaunchScreen.storyboard
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM"> | ||
| 3 | + <device id="retina4_7" orientation="portrait"> | ||
| 4 | + <adaptation id="fullscreen"/> | ||
| 5 | + </device> | ||
| 6 | + <dependencies> | ||
| 7 | + <deployment identifier="iOS"/> | ||
| 8 | + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/> | ||
| 9 | + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | ||
| 10 | + </dependencies> | ||
| 11 | + <scenes> | ||
| 12 | + <!--View Controller--> | ||
| 13 | + <scene sceneID="EHf-IW-A2E"> | ||
| 14 | + <objects> | ||
| 15 | + <viewController id="01J-lp-oVM" sceneMemberID="viewController"> | ||
| 16 | + <layoutGuides> | ||
| 17 | + <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/> | ||
| 18 | + <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/> | ||
| 19 | + </layoutGuides> | ||
| 20 | + <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3"> | ||
| 21 | + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
| 22 | + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
| 23 | + <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
| 24 | + </view> | ||
| 25 | + </viewController> | ||
| 26 | + <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
| 27 | + </objects> | ||
| 28 | + <point key="canvasLocation" x="53" y="375"/> | ||
| 29 | + </scene> | ||
| 30 | + </scenes> | ||
| 31 | +</document> |
Example/CNLiveBaseTools/Base.lproj/Main.storyboard
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="whP-gf-Uak"> | ||
| 3 | + <device id="retina4_7" orientation="portrait"> | ||
| 4 | + <adaptation id="fullscreen"/> | ||
| 5 | + </device> | ||
| 6 | + <dependencies> | ||
| 7 | + <deployment identifier="iOS"/> | ||
| 8 | + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/> | ||
| 9 | + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | ||
| 10 | + </dependencies> | ||
| 11 | + <scenes> | ||
| 12 | + <!--View Controller--> | ||
| 13 | + <scene sceneID="wQg-tq-qST"> | ||
| 14 | + <objects> | ||
| 15 | + <viewController id="whP-gf-Uak" customClass="CNLiveViewController" sceneMemberID="viewController"> | ||
| 16 | + <layoutGuides> | ||
| 17 | + <viewControllerLayoutGuide type="top" id="uEw-UM-LJ8"/> | ||
| 18 | + <viewControllerLayoutGuide type="bottom" id="Mvr-aV-6Um"/> | ||
| 19 | + </layoutGuides> | ||
| 20 | + <view key="view" contentMode="scaleToFill" id="TpU-gO-2f1"> | ||
| 21 | + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
| 22 | + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
| 23 | + <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
| 24 | + </view> | ||
| 25 | + </viewController> | ||
| 26 | + <placeholder placeholderIdentifier="IBFirstResponder" id="tc2-Qw-aMS" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
| 27 | + </objects> | ||
| 28 | + <point key="canvasLocation" x="305" y="433"/> | ||
| 29 | + </scene> | ||
| 30 | + </scenes> | ||
| 31 | +</document> |
Example/CNLiveBaseTools/CNLiveAppDelegate.h
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveAppDelegate.h | ||
| 3 | +// CNLiveBaseTools | ||
| 4 | +// | ||
| 5 | +// Created by 殷巧娟 on 01/18/2019. | ||
| 6 | +// Copyright (c) 2019 殷巧娟. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +@import UIKit; | ||
| 10 | + | ||
| 11 | +@interface CNLiveAppDelegate : UIResponder <UIApplicationDelegate> | ||
| 12 | + | ||
| 13 | +@property (strong, nonatomic) UIWindow *window; | ||
| 14 | + | ||
| 15 | +@end |
Example/CNLiveBaseTools/CNLiveAppDelegate.m
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveAppDelegate.m | ||
| 3 | +// CNLiveBaseTools | ||
| 4 | +// | ||
| 5 | +// Created by 殷巧娟 on 01/18/2019. | ||
| 6 | +// Copyright (c) 2019 殷巧娟. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import "CNLiveAppDelegate.h" | ||
| 10 | + | ||
| 11 | +@implementation CNLiveAppDelegate | ||
| 12 | + | ||
| 13 | +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | ||
| 14 | +{ | ||
| 15 | + // Override point for customization after application launch. | ||
| 16 | + return YES; | ||
| 17 | +} | ||
| 18 | + | ||
| 19 | +- (void)applicationWillResignActive:(UIApplication *)application | ||
| 20 | +{ | ||
| 21 | + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. | ||
| 22 | + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. | ||
| 23 | +} | ||
| 24 | + | ||
| 25 | +- (void)applicationDidEnterBackground:(UIApplication *)application | ||
| 26 | +{ | ||
| 27 | + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. | ||
| 28 | + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. | ||
| 29 | +} | ||
| 30 | + | ||
| 31 | +- (void)applicationWillEnterForeground:(UIApplication *)application | ||
| 32 | +{ | ||
| 33 | + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. | ||
| 34 | +} | ||
| 35 | + | ||
| 36 | +- (void)applicationDidBecomeActive:(UIApplication *)application | ||
| 37 | +{ | ||
| 38 | + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. | ||
| 39 | +} | ||
| 40 | + | ||
| 41 | +- (void)applicationWillTerminate:(UIApplication *)application | ||
| 42 | +{ | ||
| 43 | + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. | ||
| 44 | +} | ||
| 45 | + | ||
| 46 | +@end |
Example/CNLiveBaseTools/CNLiveBaseTools-Info.plist
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | +<plist version="1.0"> | ||
| 4 | +<dict> | ||
| 5 | + <key>CFBundleDevelopmentRegion</key> | ||
| 6 | + <string>en</string> | ||
| 7 | + <key>CFBundleDisplayName</key> | ||
| 8 | + <string>${PRODUCT_NAME}</string> | ||
| 9 | + <key>CFBundleExecutable</key> | ||
| 10 | + <string>${EXECUTABLE_NAME}</string> | ||
| 11 | + <key>CFBundleIdentifier</key> | ||
| 12 | + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
| 13 | + <key>CFBundleInfoDictionaryVersion</key> | ||
| 14 | + <string>6.0</string> | ||
| 15 | + <key>CFBundleName</key> | ||
| 16 | + <string>${PRODUCT_NAME}</string> | ||
| 17 | + <key>CFBundlePackageType</key> | ||
| 18 | + <string>APPL</string> | ||
| 19 | + <key>CFBundleShortVersionString</key> | ||
| 20 | + <string>1.0</string> | ||
| 21 | + <key>CFBundleSignature</key> | ||
| 22 | + <string>????</string> | ||
| 23 | + <key>CFBundleVersion</key> | ||
| 24 | + <string>1.0</string> | ||
| 25 | + <key>LSRequiresIPhoneOS</key> | ||
| 26 | + <true/> | ||
| 27 | + <key>UILaunchStoryboardName</key> | ||
| 28 | + <string>LaunchScreen</string> | ||
| 29 | + <key>UIMainStoryboardFile</key> | ||
| 30 | + <string>Main</string> | ||
| 31 | + <key>UIRequiredDeviceCapabilities</key> | ||
| 32 | + <array> | ||
| 33 | + <string>armv7</string> | ||
| 34 | + </array> | ||
| 35 | + <key>UISupportedInterfaceOrientations</key> | ||
| 36 | + <array> | ||
| 37 | + <string>UIInterfaceOrientationPortrait</string> | ||
| 38 | + <string>UIInterfaceOrientationLandscapeLeft</string> | ||
| 39 | + <string>UIInterfaceOrientationLandscapeRight</string> | ||
| 40 | + </array> | ||
| 41 | + <key>UISupportedInterfaceOrientations~ipad</key> | ||
| 42 | + <array> | ||
| 43 | + <string>UIInterfaceOrientationPortrait</string> | ||
| 44 | + <string>UIInterfaceOrientationPortraitUpsideDown</string> | ||
| 45 | + <string>UIInterfaceOrientationLandscapeLeft</string> | ||
| 46 | + <string>UIInterfaceOrientationLandscapeRight</string> | ||
| 47 | + </array> | ||
| 48 | +</dict> | ||
| 49 | +</plist> |
Example/CNLiveBaseTools/CNLiveBaseTools-Prefix.pch
0 → 100644
| 1 | +// | ||
| 2 | +// Prefix header | ||
| 3 | +// | ||
| 4 | +// The contents of this file are implicitly included at the beginning of every source file. | ||
| 5 | +// | ||
| 6 | + | ||
| 7 | +#import <Availability.h> | ||
| 8 | + | ||
| 9 | +#ifndef __IPHONE_5_0 | ||
| 10 | +#warning "This project uses features only available in iOS SDK 5.0 and later." | ||
| 11 | +#endif | ||
| 12 | + | ||
| 13 | +#ifdef __OBJC__ | ||
| 14 | + @import UIKit; | ||
| 15 | + @import Foundation; | ||
| 16 | +#endif |
Example/CNLiveBaseTools/CNLiveViewController.h
0 → 100644
Example/CNLiveBaseTools/CNLiveViewController.m
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveViewController.m | ||
| 3 | +// CNLiveBaseTools | ||
| 4 | +// | ||
| 5 | +// Created by 殷巧娟 on 01/18/2019. | ||
| 6 | +// Copyright (c) 2019 殷巧娟. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import "CNLiveViewController.h" | ||
| 10 | + | ||
| 11 | +@interface CNLiveViewController () | ||
| 12 | + | ||
| 13 | +@end | ||
| 14 | + | ||
| 15 | +@implementation CNLiveViewController | ||
| 16 | + | ||
| 17 | +- (void)viewDidLoad | ||
| 18 | +{ | ||
| 19 | + [super viewDidLoad]; | ||
| 20 | + // Do any additional setup after loading the view, typically from a nib. | ||
| 21 | +} | ||
| 22 | + | ||
| 23 | +- (void)didReceiveMemoryWarning | ||
| 24 | +{ | ||
| 25 | + [super didReceiveMemoryWarning]; | ||
| 26 | + // Dispose of any resources that can be recreated. | ||
| 27 | +} | ||
| 28 | + | ||
| 29 | +@end |
Example/CNLiveBaseTools/Images.xcassets/AppIcon.appiconset/Contents.json
0 → 100644
| 1 | +{ | ||
| 2 | + "images" : [ | ||
| 3 | + { | ||
| 4 | + "idiom" : "iphone", | ||
| 5 | + "size" : "20x20", | ||
| 6 | + "scale" : "2x" | ||
| 7 | + }, | ||
| 8 | + { | ||
| 9 | + "idiom" : "iphone", | ||
| 10 | + "size" : "20x20", | ||
| 11 | + "scale" : "3x" | ||
| 12 | + }, | ||
| 13 | + { | ||
| 14 | + "idiom" : "iphone", | ||
| 15 | + "size" : "29x29", | ||
| 16 | + "scale" : "2x" | ||
| 17 | + }, | ||
| 18 | + { | ||
| 19 | + "idiom" : "iphone", | ||
| 20 | + "size" : "29x29", | ||
| 21 | + "scale" : "3x" | ||
| 22 | + }, | ||
| 23 | + { | ||
| 24 | + "idiom" : "iphone", | ||
| 25 | + "size" : "40x40", | ||
| 26 | + "scale" : "2x" | ||
| 27 | + }, | ||
| 28 | + { | ||
| 29 | + "idiom" : "iphone", | ||
| 30 | + "size" : "40x40", | ||
| 31 | + "scale" : "3x" | ||
| 32 | + }, | ||
| 33 | + { | ||
| 34 | + "idiom" : "iphone", | ||
| 35 | + "size" : "60x60", | ||
| 36 | + "scale" : "2x" | ||
| 37 | + }, | ||
| 38 | + { | ||
| 39 | + "idiom" : "iphone", | ||
| 40 | + "size" : "60x60", | ||
| 41 | + "scale" : "3x" | ||
| 42 | + }, | ||
| 43 | + { | ||
| 44 | + "idiom" : "ipad", | ||
| 45 | + "size" : "20x20", | ||
| 46 | + "scale" : "1x" | ||
| 47 | + }, | ||
| 48 | + { | ||
| 49 | + "idiom" : "ipad", | ||
| 50 | + "size" : "20x20", | ||
| 51 | + "scale" : "2x" | ||
| 52 | + }, | ||
| 53 | + { | ||
| 54 | + "idiom" : "ipad", | ||
| 55 | + "size" : "29x29", | ||
| 56 | + "scale" : "1x" | ||
| 57 | + }, | ||
| 58 | + { | ||
| 59 | + "idiom" : "ipad", | ||
| 60 | + "size" : "29x29", | ||
| 61 | + "scale" : "2x" | ||
| 62 | + }, | ||
| 63 | + { | ||
| 64 | + "idiom" : "ipad", | ||
| 65 | + "size" : "40x40", | ||
| 66 | + "scale" : "1x" | ||
| 67 | + }, | ||
| 68 | + { | ||
| 69 | + "idiom" : "ipad", | ||
| 70 | + "size" : "40x40", | ||
| 71 | + "scale" : "2x" | ||
| 72 | + }, | ||
| 73 | + { | ||
| 74 | + "idiom" : "ipad", | ||
| 75 | + "size" : "76x76", | ||
| 76 | + "scale" : "1x" | ||
| 77 | + }, | ||
| 78 | + { | ||
| 79 | + "idiom" : "ipad", | ||
| 80 | + "size" : "76x76", | ||
| 81 | + "scale" : "2x" | ||
| 82 | + }, | ||
| 83 | + { | ||
| 84 | + "idiom" : "ipad", | ||
| 85 | + "size" : "83.5x83.5", | ||
| 86 | + "scale" : "2x" | ||
| 87 | + }, | ||
| 88 | + { | ||
| 89 | + "idiom" : "ios-marketing", | ||
| 90 | + "size" : "1024x1024", | ||
| 91 | + "scale" : "1x" | ||
| 92 | + } | ||
| 93 | + ], | ||
| 94 | + "info" : { | ||
| 95 | + "version" : 1, | ||
| 96 | + "author" : "xcode" | ||
| 97 | + } | ||
| 98 | +} |
Example/CNLiveBaseTools/en.lproj/InfoPlist.strings
0 → 100644
Example/CNLiveBaseTools/main.m
0 → 100644
| 1 | +// | ||
| 2 | +// main.m | ||
| 3 | +// CNLiveBaseTools | ||
| 4 | +// | ||
| 5 | +// Created by 殷巧娟 on 01/18/2019. | ||
| 6 | +// Copyright (c) 2019 殷巧娟. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +@import UIKit; | ||
| 10 | +#import "CNLiveAppDelegate.h" | ||
| 11 | + | ||
| 12 | +int main(int argc, char * argv[]) | ||
| 13 | +{ | ||
| 14 | + @autoreleasepool { | ||
| 15 | + return UIApplicationMain(argc, argv, nil, NSStringFromClass([CNLiveAppDelegate class])); | ||
| 16 | + } | ||
| 17 | +} |
Example/Podfile
0 → 100644
Example/Podfile.lock
0 → 100644
| 1 | +PODS: | ||
| 2 | + - CNLiveBaseTools (0.1.0) | ||
| 3 | + | ||
| 4 | +DEPENDENCIES: | ||
| 5 | + - CNLiveBaseTools (from `../`) | ||
| 6 | + | ||
| 7 | +EXTERNAL SOURCES: | ||
| 8 | + CNLiveBaseTools: | ||
| 9 | + :path: "../" | ||
| 10 | + | ||
| 11 | +SPEC CHECKSUMS: | ||
| 12 | + CNLiveBaseTools: fdaa990ec0d2e0eb8517f1e4e89a4e8e2f39af4f | ||
| 13 | + | ||
| 14 | +PODFILE CHECKSUM: d6face71e3b70b71c5b143a67dd4f471cd45159d | ||
| 15 | + | ||
| 16 | +COCOAPODS: 1.5.3 |
Example/Pods/Local Podspecs/CNLiveBaseTools.podspec.json
0 → 100644
| 1 | +{ | ||
| 2 | + "name": "CNLiveBaseTools", | ||
| 3 | + "version": "0.1.0", | ||
| 4 | + "summary": "基础工具库时间声音等工具", | ||
| 5 | + "description": "TODO: Add long description of the pod here.", | ||
| 6 | + "homepage": "http://bj.gitlab.cnlive.com/ios-team/CNLiveBaseTools", | ||
| 7 | + "license": { | ||
| 8 | + "type": "MIT", | ||
| 9 | + "file": "LICENSE" | ||
| 10 | + }, | ||
| 11 | + "authors": { | ||
| 12 | + "殷巧娟": "1427945373@qq.com" | ||
| 13 | + }, | ||
| 14 | + "source": { | ||
| 15 | + "git": "http://bj.gitlab.cnlive.com/ios-team/CNLiveBaseTools.git", | ||
| 16 | + "tag": "0.1.0" | ||
| 17 | + }, | ||
| 18 | + "platforms": { | ||
| 19 | + "ios": "9.0" | ||
| 20 | + }, | ||
| 21 | + "source_files": "CNLiveBaseTools/Classes/**/*", | ||
| 22 | + "frameworks": [ | ||
| 23 | + "UIKit", | ||
| 24 | + "Foundation" | ||
| 25 | + ] | ||
| 26 | +} |
Example/Pods/Manifest.lock
0 → 100644
| 1 | +PODS: | ||
| 2 | + - CNLiveBaseTools (0.1.0) | ||
| 3 | + | ||
| 4 | +DEPENDENCIES: | ||
| 5 | + - CNLiveBaseTools (from `../`) | ||
| 6 | + | ||
| 7 | +EXTERNAL SOURCES: | ||
| 8 | + CNLiveBaseTools: | ||
| 9 | + :path: "../" | ||
| 10 | + | ||
| 11 | +SPEC CHECKSUMS: | ||
| 12 | + CNLiveBaseTools: fdaa990ec0d2e0eb8517f1e4e89a4e8e2f39af4f | ||
| 13 | + | ||
| 14 | +PODFILE CHECKSUM: d6face71e3b70b71c5b143a67dd4f471cd45159d | ||
| 15 | + | ||
| 16 | +COCOAPODS: 1.5.3 |
Example/Pods/Pods.xcodeproj/project.pbxproj
0 → 100644
| 1 | +// !$*UTF8*$! | ||
| 2 | +{ | ||
| 3 | + archiveVersion = 1; | ||
| 4 | + classes = { | ||
| 5 | + }; | ||
| 6 | + objectVersion = 46; | ||
| 7 | + objects = { | ||
| 8 | + | ||
| 9 | +/* Begin PBXBuildFile section */ | ||
| 10 | + 0CB9A0A738B3C3151944B24347E1D8B1 /* CNLiveBaseTools-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5373FA128B1EDFCFCC8ED3F51DF6B819 /* CNLiveBaseTools-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; | ||
| 11 | + 1CBB7EDA82CA9E4AE5EA465A27F83804 /* CNLiveVoiceTools.h in Headers */ = {isa = PBXBuildFile; fileRef = F4E465DEE3418EB43EEC6F8BC6FF8C91 /* CNLiveVoiceTools.h */; settings = {ATTRIBUTES = (Public, ); }; }; | ||
| 12 | + 2EBE7AD02A56C0ACD2B3AA4E1B400A25 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 74E404AA6957590324067E330E0EC533 /* UIKit.framework */; }; | ||
| 13 | + 33EC927DED5CBE207FA1F991412CC672 /* CNLiveBaseTools-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A1C2B131A95849590ECCF4B659F1F494 /* CNLiveBaseTools-dummy.m */; }; | ||
| 14 | + 4FA743B73831B26EA4D08EC651C783AF /* Pods-CNLiveBaseTools_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DC11C82F3498690320CC619481A8E811 /* Pods-CNLiveBaseTools_Example-dummy.m */; }; | ||
| 15 | + 5F42B852E84A33407D393030F01A2DFF /* Pods-CNLiveBaseTools_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D02C7DB6D7C40E0A76B994BB4751CF6D /* Pods-CNLiveBaseTools_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; | ||
| 16 | + 61E1C402F25E297A9D578B4BB4A72551 /* Pods-CNLiveBaseTools_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 19223E757CE06BBA9FA95EFED2880FEF /* Pods-CNLiveBaseTools_Tests-dummy.m */; }; | ||
| 17 | + 8731A5DE51B3DB4DCA6FFFC5B7F00250 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2EFB40531CB700ADF867FEEE78561E78 /* Foundation.framework */; }; | ||
| 18 | + 92EF17457A8E46B2F6524FDC51A61183 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2EFB40531CB700ADF867FEEE78561E78 /* Foundation.framework */; }; | ||
| 19 | + A7150E3844E5382723E3FB22725C851A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2EFB40531CB700ADF867FEEE78561E78 /* Foundation.framework */; }; | ||
| 20 | + CD17F0B30AAD140F7F998FE9394DF452 /* CNLiveTimeTools.h in Headers */ = {isa = PBXBuildFile; fileRef = F6A78FD488EBDCB8011C45A5730911B8 /* CNLiveTimeTools.h */; settings = {ATTRIBUTES = (Public, ); }; }; | ||
| 21 | + D2D7CBF83E2982FC4564511B2761B265 /* CNLiveTimeTools.m in Sources */ = {isa = PBXBuildFile; fileRef = C852AB68DEBF20B780284851E5C50142 /* CNLiveTimeTools.m */; }; | ||
| 22 | + D5700A66B62157F85C18BF354D70C677 /* Pods-CNLiveBaseTools_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 20192C745988ACC952A43560564B4741 /* Pods-CNLiveBaseTools_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; | ||
| 23 | + D6D9CD3C14B1FC1153E50BE3F25095AF /* CNLiveVoiceTools.m in Sources */ = {isa = PBXBuildFile; fileRef = 442A16CF826C11E232C0F28B1007A6D7 /* CNLiveVoiceTools.m */; }; | ||
| 24 | +/* End PBXBuildFile section */ | ||
| 25 | + | ||
| 26 | +/* Begin PBXContainerItemProxy section */ | ||
| 27 | + 42AA47DDC0D04D02356D69A76CF3A1E8 /* PBXContainerItemProxy */ = { | ||
| 28 | + isa = PBXContainerItemProxy; | ||
| 29 | + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; | ||
| 30 | + proxyType = 1; | ||
| 31 | + remoteGlobalIDString = C6D6EAD96A20E0C7397CF1BF8200EBB8; | ||
| 32 | + remoteInfo = CNLiveBaseTools; | ||
| 33 | + }; | ||
| 34 | + 5537DDB9308F5CFC983156F9EFE0B8E2 /* PBXContainerItemProxy */ = { | ||
| 35 | + isa = PBXContainerItemProxy; | ||
| 36 | + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; | ||
| 37 | + proxyType = 1; | ||
| 38 | + remoteGlobalIDString = BA4B2F2A6571D7E488C7FC1038A4D052; | ||
| 39 | + remoteInfo = "Pods-CNLiveBaseTools_Example"; | ||
| 40 | + }; | ||
| 41 | +/* End PBXContainerItemProxy section */ | ||
| 42 | + | ||
| 43 | +/* Begin PBXFileReference section */ | ||
| 44 | + 079885D91DF603DAC10CE4C38EB360D0 /* Pods-CNLiveBaseTools_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-CNLiveBaseTools_Tests-acknowledgements.plist"; sourceTree = "<group>"; }; | ||
| 45 | + 08C0397C0487BE199D8C882BDDA24415 /* Pods-CNLiveBaseTools_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-CNLiveBaseTools_Tests-resources.sh"; sourceTree = "<group>"; }; | ||
| 46 | + 0BF67CC1199147B52C8A42AA38C946D2 /* CNLiveBaseTools.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = CNLiveBaseTools.modulemap; sourceTree = "<group>"; }; | ||
| 47 | + 0CA6B6B13373CC3AD218F548F456401E /* Pods-CNLiveBaseTools_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-CNLiveBaseTools_Tests-acknowledgements.markdown"; sourceTree = "<group>"; }; | ||
| 48 | + 0EBDC3857DEC799FBF96088C4D4913CE /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = "<group>"; }; | ||
| 49 | + 0F6F5625CCE639F611C56C8A63AFE352 /* Pods-CNLiveBaseTools_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-CNLiveBaseTools_Example-resources.sh"; sourceTree = "<group>"; }; | ||
| 50 | + 126948091064245E2482AADBF6552ABB /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; | ||
| 51 | + 19223E757CE06BBA9FA95EFED2880FEF /* Pods-CNLiveBaseTools_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-CNLiveBaseTools_Tests-dummy.m"; sourceTree = "<group>"; }; | ||
| 52 | + 20192C745988ACC952A43560564B4741 /* Pods-CNLiveBaseTools_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-CNLiveBaseTools_Tests-umbrella.h"; sourceTree = "<group>"; }; | ||
| 53 | + 29D49B36EB5F7DCBC9A72324A0CCDF83 /* CNLiveBaseTools.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; path = CNLiveBaseTools.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; | ||
| 54 | + 2EFB40531CB700ADF867FEEE78561E78 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; | ||
| 55 | + 30E5E40772A923ACAC17925B1ECBF40D /* Pods_CNLiveBaseTools_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_CNLiveBaseTools_Example.framework; path = "Pods-CNLiveBaseTools_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
| 56 | + 442A16CF826C11E232C0F28B1007A6D7 /* CNLiveVoiceTools.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = CNLiveVoiceTools.m; path = CNLiveBaseTools/Classes/CNLiveVoiceTools.m; sourceTree = "<group>"; }; | ||
| 57 | + 468AD360F2603144033041EEF5C68898 /* Pods-CNLiveBaseTools_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CNLiveBaseTools_Tests.release.xcconfig"; sourceTree = "<group>"; }; | ||
| 58 | + 4AE213A630A6E1AE7D7485C659419433 /* Pods-CNLiveBaseTools_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-CNLiveBaseTools_Example-frameworks.sh"; sourceTree = "<group>"; }; | ||
| 59 | + 5373FA128B1EDFCFCC8ED3F51DF6B819 /* CNLiveBaseTools-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CNLiveBaseTools-umbrella.h"; sourceTree = "<group>"; }; | ||
| 60 | + 58F42972661AF7D741286859D94A68DB /* Pods-CNLiveBaseTools_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-CNLiveBaseTools_Tests.modulemap"; sourceTree = "<group>"; }; | ||
| 61 | + 5A2BD2854C6ADD6C52CB26D0001401CD /* Pods-CNLiveBaseTools_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-CNLiveBaseTools_Example.modulemap"; sourceTree = "<group>"; }; | ||
| 62 | + 5C566AD80619B2337109CDFB3616B3D0 /* Pods-CNLiveBaseTools_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-CNLiveBaseTools_Example-acknowledgements.markdown"; sourceTree = "<group>"; }; | ||
| 63 | + 74E404AA6957590324067E330E0EC533 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; | ||
| 64 | + 7C7DDCC2E2DAA5C6164B9D6926E6C43A /* CNLiveBaseTools-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CNLiveBaseTools-prefix.pch"; sourceTree = "<group>"; }; | ||
| 65 | + 8EE3CCB004C78CC47C455C2D3D833FA2 /* Pods-CNLiveBaseTools_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CNLiveBaseTools_Example.debug.xcconfig"; sourceTree = "<group>"; }; | ||
| 66 | + 8F59FFC1D8AFE64A7C283FC49AC11217 /* Pods-CNLiveBaseTools_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-CNLiveBaseTools_Example-acknowledgements.plist"; sourceTree = "<group>"; }; | ||
| 67 | + 91ACAB33F8ADDC43E7CF47EB6B8AB223 /* Pods-CNLiveBaseTools_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CNLiveBaseTools_Tests.debug.xcconfig"; sourceTree = "<group>"; }; | ||
| 68 | + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; | ||
| 69 | + A1C2B131A95849590ECCF4B659F1F494 /* CNLiveBaseTools-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "CNLiveBaseTools-dummy.m"; sourceTree = "<group>"; }; | ||
| 70 | + A2ED64F7670B049C744837CC6D258927 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = "<group>"; }; | ||
| 71 | + C852AB68DEBF20B780284851E5C50142 /* CNLiveTimeTools.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = CNLiveTimeTools.m; path = CNLiveBaseTools/Classes/CNLiveTimeTools.m; sourceTree = "<group>"; }; | ||
| 72 | + D02C7DB6D7C40E0A76B994BB4751CF6D /* Pods-CNLiveBaseTools_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-CNLiveBaseTools_Example-umbrella.h"; sourceTree = "<group>"; }; | ||
| 73 | + D7C1165C887848EB3684E324C38BF109 /* Pods_CNLiveBaseTools_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_CNLiveBaseTools_Tests.framework; path = "Pods-CNLiveBaseTools_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
| 74 | + D864D4FEB7AE26B10D19DC14378FA15F /* Pods-CNLiveBaseTools_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-CNLiveBaseTools_Tests-frameworks.sh"; sourceTree = "<group>"; }; | ||
| 75 | + DAD2205FCB4AD2B7485B2C8B0E1AC7C1 /* CNLiveBaseTools.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = CNLiveBaseTools.framework; path = CNLiveBaseTools.framework; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
| 76 | + DC11C82F3498690320CC619481A8E811 /* Pods-CNLiveBaseTools_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-CNLiveBaseTools_Example-dummy.m"; sourceTree = "<group>"; }; | ||
| 77 | + DC825D7A055CEC63C5AF56833B5FD34A /* CNLiveBaseTools.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = CNLiveBaseTools.xcconfig; sourceTree = "<group>"; }; | ||
| 78 | + E571A7124D23F01709B447D2EDCED277 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; | ||
| 79 | + E6C26C79C407C9DE60CE58787126CB2F /* Pods-CNLiveBaseTools_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CNLiveBaseTools_Example.release.xcconfig"; sourceTree = "<group>"; }; | ||
| 80 | + EB1100F9E38B0BF775AA55BB9A777C40 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; | ||
| 81 | + F4E465DEE3418EB43EEC6F8BC6FF8C91 /* CNLiveVoiceTools.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CNLiveVoiceTools.h; path = CNLiveBaseTools/Classes/CNLiveVoiceTools.h; sourceTree = "<group>"; }; | ||
| 82 | + F6A78FD488EBDCB8011C45A5730911B8 /* CNLiveTimeTools.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CNLiveTimeTools.h; path = CNLiveBaseTools/Classes/CNLiveTimeTools.h; sourceTree = "<group>"; }; | ||
| 83 | +/* End PBXFileReference section */ | ||
| 84 | + | ||
| 85 | +/* Begin PBXFrameworksBuildPhase section */ | ||
| 86 | + B8A215A7F51AAACD6BA21B9375175A13 /* Frameworks */ = { | ||
| 87 | + isa = PBXFrameworksBuildPhase; | ||
| 88 | + buildActionMask = 2147483647; | ||
| 89 | + files = ( | ||
| 90 | + 92EF17457A8E46B2F6524FDC51A61183 /* Foundation.framework in Frameworks */, | ||
| 91 | + ); | ||
| 92 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 93 | + }; | ||
| 94 | + C70915555180EE80CFC4BFC6715C932F /* Frameworks */ = { | ||
| 95 | + isa = PBXFrameworksBuildPhase; | ||
| 96 | + buildActionMask = 2147483647; | ||
| 97 | + files = ( | ||
| 98 | + A7150E3844E5382723E3FB22725C851A /* Foundation.framework in Frameworks */, | ||
| 99 | + ); | ||
| 100 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 101 | + }; | ||
| 102 | + CFB8819DD70E7FB6C8F34ABF362B21FF /* Frameworks */ = { | ||
| 103 | + isa = PBXFrameworksBuildPhase; | ||
| 104 | + buildActionMask = 2147483647; | ||
| 105 | + files = ( | ||
| 106 | + 8731A5DE51B3DB4DCA6FFFC5B7F00250 /* Foundation.framework in Frameworks */, | ||
| 107 | + 2EBE7AD02A56C0ACD2B3AA4E1B400A25 /* UIKit.framework in Frameworks */, | ||
| 108 | + ); | ||
| 109 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 110 | + }; | ||
| 111 | +/* End PBXFrameworksBuildPhase section */ | ||
| 112 | + | ||
| 113 | +/* Begin PBXGroup section */ | ||
| 114 | + 05B078B3A7443B144835BF3A292B879F /* Targets Support Files */ = { | ||
| 115 | + isa = PBXGroup; | ||
| 116 | + children = ( | ||
| 117 | + 1878C58BC5B172D667BE336114EEA4E7 /* Pods-CNLiveBaseTools_Example */, | ||
| 118 | + 0797B02FDBB804B42803035A0C34C926 /* Pods-CNLiveBaseTools_Tests */, | ||
| 119 | + ); | ||
| 120 | + name = "Targets Support Files"; | ||
| 121 | + sourceTree = "<group>"; | ||
| 122 | + }; | ||
| 123 | + 06CDD10DE71306278CF89108B3036DFD /* iOS */ = { | ||
| 124 | + isa = PBXGroup; | ||
| 125 | + children = ( | ||
| 126 | + 2EFB40531CB700ADF867FEEE78561E78 /* Foundation.framework */, | ||
| 127 | + 74E404AA6957590324067E330E0EC533 /* UIKit.framework */, | ||
| 128 | + ); | ||
| 129 | + name = iOS; | ||
| 130 | + sourceTree = "<group>"; | ||
| 131 | + }; | ||
| 132 | + 0797B02FDBB804B42803035A0C34C926 /* Pods-CNLiveBaseTools_Tests */ = { | ||
| 133 | + isa = PBXGroup; | ||
| 134 | + children = ( | ||
| 135 | + EB1100F9E38B0BF775AA55BB9A777C40 /* Info.plist */, | ||
| 136 | + 58F42972661AF7D741286859D94A68DB /* Pods-CNLiveBaseTools_Tests.modulemap */, | ||
| 137 | + 0CA6B6B13373CC3AD218F548F456401E /* Pods-CNLiveBaseTools_Tests-acknowledgements.markdown */, | ||
| 138 | + 079885D91DF603DAC10CE4C38EB360D0 /* Pods-CNLiveBaseTools_Tests-acknowledgements.plist */, | ||
| 139 | + 19223E757CE06BBA9FA95EFED2880FEF /* Pods-CNLiveBaseTools_Tests-dummy.m */, | ||
| 140 | + D864D4FEB7AE26B10D19DC14378FA15F /* Pods-CNLiveBaseTools_Tests-frameworks.sh */, | ||
| 141 | + 08C0397C0487BE199D8C882BDDA24415 /* Pods-CNLiveBaseTools_Tests-resources.sh */, | ||
| 142 | + 20192C745988ACC952A43560564B4741 /* Pods-CNLiveBaseTools_Tests-umbrella.h */, | ||
| 143 | + 91ACAB33F8ADDC43E7CF47EB6B8AB223 /* Pods-CNLiveBaseTools_Tests.debug.xcconfig */, | ||
| 144 | + 468AD360F2603144033041EEF5C68898 /* Pods-CNLiveBaseTools_Tests.release.xcconfig */, | ||
| 145 | + ); | ||
| 146 | + name = "Pods-CNLiveBaseTools_Tests"; | ||
| 147 | + path = "Target Support Files/Pods-CNLiveBaseTools_Tests"; | ||
| 148 | + sourceTree = "<group>"; | ||
| 149 | + }; | ||
| 150 | + 1878C58BC5B172D667BE336114EEA4E7 /* Pods-CNLiveBaseTools_Example */ = { | ||
| 151 | + isa = PBXGroup; | ||
| 152 | + children = ( | ||
| 153 | + E571A7124D23F01709B447D2EDCED277 /* Info.plist */, | ||
| 154 | + 5A2BD2854C6ADD6C52CB26D0001401CD /* Pods-CNLiveBaseTools_Example.modulemap */, | ||
| 155 | + 5C566AD80619B2337109CDFB3616B3D0 /* Pods-CNLiveBaseTools_Example-acknowledgements.markdown */, | ||
| 156 | + 8F59FFC1D8AFE64A7C283FC49AC11217 /* Pods-CNLiveBaseTools_Example-acknowledgements.plist */, | ||
| 157 | + DC11C82F3498690320CC619481A8E811 /* Pods-CNLiveBaseTools_Example-dummy.m */, | ||
| 158 | + 4AE213A630A6E1AE7D7485C659419433 /* Pods-CNLiveBaseTools_Example-frameworks.sh */, | ||
| 159 | + 0F6F5625CCE639F611C56C8A63AFE352 /* Pods-CNLiveBaseTools_Example-resources.sh */, | ||
| 160 | + D02C7DB6D7C40E0A76B994BB4751CF6D /* Pods-CNLiveBaseTools_Example-umbrella.h */, | ||
| 161 | + 8EE3CCB004C78CC47C455C2D3D833FA2 /* Pods-CNLiveBaseTools_Example.debug.xcconfig */, | ||
| 162 | + E6C26C79C407C9DE60CE58787126CB2F /* Pods-CNLiveBaseTools_Example.release.xcconfig */, | ||
| 163 | + ); | ||
| 164 | + name = "Pods-CNLiveBaseTools_Example"; | ||
| 165 | + path = "Target Support Files/Pods-CNLiveBaseTools_Example"; | ||
| 166 | + sourceTree = "<group>"; | ||
| 167 | + }; | ||
| 168 | + 42CF29018A626A080122EEFDA2269F7C /* Products */ = { | ||
| 169 | + isa = PBXGroup; | ||
| 170 | + children = ( | ||
| 171 | + DAD2205FCB4AD2B7485B2C8B0E1AC7C1 /* CNLiveBaseTools.framework */, | ||
| 172 | + 30E5E40772A923ACAC17925B1ECBF40D /* Pods_CNLiveBaseTools_Example.framework */, | ||
| 173 | + D7C1165C887848EB3684E324C38BF109 /* Pods_CNLiveBaseTools_Tests.framework */, | ||
| 174 | + ); | ||
| 175 | + name = Products; | ||
| 176 | + sourceTree = "<group>"; | ||
| 177 | + }; | ||
| 178 | + 433CD3331B6C3787F473C941B61FC68F /* Frameworks */ = { | ||
| 179 | + isa = PBXGroup; | ||
| 180 | + children = ( | ||
| 181 | + 06CDD10DE71306278CF89108B3036DFD /* iOS */, | ||
| 182 | + ); | ||
| 183 | + name = Frameworks; | ||
| 184 | + sourceTree = "<group>"; | ||
| 185 | + }; | ||
| 186 | + 54C4B6B39C6C076A1C7218908F3488A6 /* Development Pods */ = { | ||
| 187 | + isa = PBXGroup; | ||
| 188 | + children = ( | ||
| 189 | + B9C2BE8BD8F5D28840C544BBF0793A43 /* CNLiveBaseTools */, | ||
| 190 | + ); | ||
| 191 | + name = "Development Pods"; | ||
| 192 | + sourceTree = "<group>"; | ||
| 193 | + }; | ||
| 194 | + 7DB346D0F39D3F0E887471402A8071AB = { | ||
| 195 | + isa = PBXGroup; | ||
| 196 | + children = ( | ||
| 197 | + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, | ||
| 198 | + 54C4B6B39C6C076A1C7218908F3488A6 /* Development Pods */, | ||
| 199 | + 433CD3331B6C3787F473C941B61FC68F /* Frameworks */, | ||
| 200 | + 42CF29018A626A080122EEFDA2269F7C /* Products */, | ||
| 201 | + 05B078B3A7443B144835BF3A292B879F /* Targets Support Files */, | ||
| 202 | + ); | ||
| 203 | + sourceTree = "<group>"; | ||
| 204 | + }; | ||
| 205 | + A0B439DE52E60156082E3369AFCB9AD5 /* Support Files */ = { | ||
| 206 | + isa = PBXGroup; | ||
| 207 | + children = ( | ||
| 208 | + 0BF67CC1199147B52C8A42AA38C946D2 /* CNLiveBaseTools.modulemap */, | ||
| 209 | + DC825D7A055CEC63C5AF56833B5FD34A /* CNLiveBaseTools.xcconfig */, | ||
| 210 | + A1C2B131A95849590ECCF4B659F1F494 /* CNLiveBaseTools-dummy.m */, | ||
| 211 | + 7C7DDCC2E2DAA5C6164B9D6926E6C43A /* CNLiveBaseTools-prefix.pch */, | ||
| 212 | + 5373FA128B1EDFCFCC8ED3F51DF6B819 /* CNLiveBaseTools-umbrella.h */, | ||
| 213 | + 126948091064245E2482AADBF6552ABB /* Info.plist */, | ||
| 214 | + ); | ||
| 215 | + name = "Support Files"; | ||
| 216 | + path = "Example/Pods/Target Support Files/CNLiveBaseTools"; | ||
| 217 | + sourceTree = "<group>"; | ||
| 218 | + }; | ||
| 219 | + B9C2BE8BD8F5D28840C544BBF0793A43 /* CNLiveBaseTools */ = { | ||
| 220 | + isa = PBXGroup; | ||
| 221 | + children = ( | ||
| 222 | + F6A78FD488EBDCB8011C45A5730911B8 /* CNLiveTimeTools.h */, | ||
| 223 | + C852AB68DEBF20B780284851E5C50142 /* CNLiveTimeTools.m */, | ||
| 224 | + F4E465DEE3418EB43EEC6F8BC6FF8C91 /* CNLiveVoiceTools.h */, | ||
| 225 | + 442A16CF826C11E232C0F28B1007A6D7 /* CNLiveVoiceTools.m */, | ||
| 226 | + D2FE33B1022E4112107D9A684E3B9768 /* Pod */, | ||
| 227 | + A0B439DE52E60156082E3369AFCB9AD5 /* Support Files */, | ||
| 228 | + ); | ||
| 229 | + name = CNLiveBaseTools; | ||
| 230 | + path = ../..; | ||
| 231 | + sourceTree = "<group>"; | ||
| 232 | + }; | ||
| 233 | + D2FE33B1022E4112107D9A684E3B9768 /* Pod */ = { | ||
| 234 | + isa = PBXGroup; | ||
| 235 | + children = ( | ||
| 236 | + 29D49B36EB5F7DCBC9A72324A0CCDF83 /* CNLiveBaseTools.podspec */, | ||
| 237 | + A2ED64F7670B049C744837CC6D258927 /* LICENSE */, | ||
| 238 | + 0EBDC3857DEC799FBF96088C4D4913CE /* README.md */, | ||
| 239 | + ); | ||
| 240 | + name = Pod; | ||
| 241 | + sourceTree = "<group>"; | ||
| 242 | + }; | ||
| 243 | +/* End PBXGroup section */ | ||
| 244 | + | ||
| 245 | +/* Begin PBXHeadersBuildPhase section */ | ||
| 246 | + 72BEE290348E589F24A2050402268672 /* Headers */ = { | ||
| 247 | + isa = PBXHeadersBuildPhase; | ||
| 248 | + buildActionMask = 2147483647; | ||
| 249 | + files = ( | ||
| 250 | + D5700A66B62157F85C18BF354D70C677 /* Pods-CNLiveBaseTools_Tests-umbrella.h in Headers */, | ||
| 251 | + ); | ||
| 252 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 253 | + }; | ||
| 254 | + B42B0752A79310BE8E96A39A353EDB58 /* Headers */ = { | ||
| 255 | + isa = PBXHeadersBuildPhase; | ||
| 256 | + buildActionMask = 2147483647; | ||
| 257 | + files = ( | ||
| 258 | + 0CB9A0A738B3C3151944B24347E1D8B1 /* CNLiveBaseTools-umbrella.h in Headers */, | ||
| 259 | + CD17F0B30AAD140F7F998FE9394DF452 /* CNLiveTimeTools.h in Headers */, | ||
| 260 | + 1CBB7EDA82CA9E4AE5EA465A27F83804 /* CNLiveVoiceTools.h in Headers */, | ||
| 261 | + ); | ||
| 262 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 263 | + }; | ||
| 264 | + FB08D9583CCCEA5FF5CB16AED3E134D6 /* Headers */ = { | ||
| 265 | + isa = PBXHeadersBuildPhase; | ||
| 266 | + buildActionMask = 2147483647; | ||
| 267 | + files = ( | ||
| 268 | + 5F42B852E84A33407D393030F01A2DFF /* Pods-CNLiveBaseTools_Example-umbrella.h in Headers */, | ||
| 269 | + ); | ||
| 270 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 271 | + }; | ||
| 272 | +/* End PBXHeadersBuildPhase section */ | ||
| 273 | + | ||
| 274 | +/* Begin PBXNativeTarget section */ | ||
| 275 | + BA4B2F2A6571D7E488C7FC1038A4D052 /* Pods-CNLiveBaseTools_Example */ = { | ||
| 276 | + isa = PBXNativeTarget; | ||
| 277 | + buildConfigurationList = B380DBA7D3915AE97EA5D67A6BC67B0B /* Build configuration list for PBXNativeTarget "Pods-CNLiveBaseTools_Example" */; | ||
| 278 | + buildPhases = ( | ||
| 279 | + FB08D9583CCCEA5FF5CB16AED3E134D6 /* Headers */, | ||
| 280 | + 7716FAAAD2E56D0FE8100ADF3C3364FA /* Sources */, | ||
| 281 | + C70915555180EE80CFC4BFC6715C932F /* Frameworks */, | ||
| 282 | + 63EECA8AC8564850FBD659E4AF49ABF2 /* Resources */, | ||
| 283 | + ); | ||
| 284 | + buildRules = ( | ||
| 285 | + ); | ||
| 286 | + dependencies = ( | ||
| 287 | + 72B5E5A858D2FCFACACCBCCD6FEC2DF3 /* PBXTargetDependency */, | ||
| 288 | + ); | ||
| 289 | + name = "Pods-CNLiveBaseTools_Example"; | ||
| 290 | + productName = "Pods-CNLiveBaseTools_Example"; | ||
| 291 | + productReference = 30E5E40772A923ACAC17925B1ECBF40D /* Pods_CNLiveBaseTools_Example.framework */; | ||
| 292 | + productType = "com.apple.product-type.framework"; | ||
| 293 | + }; | ||
| 294 | + C6D6EAD96A20E0C7397CF1BF8200EBB8 /* CNLiveBaseTools */ = { | ||
| 295 | + isa = PBXNativeTarget; | ||
| 296 | + buildConfigurationList = 3FA07A9B5E0A3BBE30B22F6C07B62AB0 /* Build configuration list for PBXNativeTarget "CNLiveBaseTools" */; | ||
| 297 | + buildPhases = ( | ||
| 298 | + B42B0752A79310BE8E96A39A353EDB58 /* Headers */, | ||
| 299 | + 6B26150153CF99B496BDF0592EEF7D62 /* Sources */, | ||
| 300 | + CFB8819DD70E7FB6C8F34ABF362B21FF /* Frameworks */, | ||
| 301 | + E01A3A28A31B019271C0E842F75A064A /* Resources */, | ||
| 302 | + ); | ||
| 303 | + buildRules = ( | ||
| 304 | + ); | ||
| 305 | + dependencies = ( | ||
| 306 | + ); | ||
| 307 | + name = CNLiveBaseTools; | ||
| 308 | + productName = CNLiveBaseTools; | ||
| 309 | + productReference = DAD2205FCB4AD2B7485B2C8B0E1AC7C1 /* CNLiveBaseTools.framework */; | ||
| 310 | + productType = "com.apple.product-type.framework"; | ||
| 311 | + }; | ||
| 312 | + D18565061439A14CDC56F6FC62B563C8 /* Pods-CNLiveBaseTools_Tests */ = { | ||
| 313 | + isa = PBXNativeTarget; | ||
| 314 | + buildConfigurationList = 31F1177A43848868EFEA296BCDD89928 /* Build configuration list for PBXNativeTarget "Pods-CNLiveBaseTools_Tests" */; | ||
| 315 | + buildPhases = ( | ||
| 316 | + 72BEE290348E589F24A2050402268672 /* Headers */, | ||
| 317 | + A73C48199774069A81EF1CCBB81AD54E /* Sources */, | ||
| 318 | + B8A215A7F51AAACD6BA21B9375175A13 /* Frameworks */, | ||
| 319 | + 045A7665D43E7B8BD4CA71CB8EC3DC24 /* Resources */, | ||
| 320 | + ); | ||
| 321 | + buildRules = ( | ||
| 322 | + ); | ||
| 323 | + dependencies = ( | ||
| 324 | + 9A2A3A1C3D9BE618A9682FBA14B13207 /* PBXTargetDependency */, | ||
| 325 | + ); | ||
| 326 | + name = "Pods-CNLiveBaseTools_Tests"; | ||
| 327 | + productName = "Pods-CNLiveBaseTools_Tests"; | ||
| 328 | + productReference = D7C1165C887848EB3684E324C38BF109 /* Pods_CNLiveBaseTools_Tests.framework */; | ||
| 329 | + productType = "com.apple.product-type.framework"; | ||
| 330 | + }; | ||
| 331 | +/* End PBXNativeTarget section */ | ||
| 332 | + | ||
| 333 | +/* Begin PBXProject section */ | ||
| 334 | + D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { | ||
| 335 | + isa = PBXProject; | ||
| 336 | + attributes = { | ||
| 337 | + LastSwiftUpdateCheck = 0930; | ||
| 338 | + LastUpgradeCheck = 0930; | ||
| 339 | + }; | ||
| 340 | + buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; | ||
| 341 | + compatibilityVersion = "Xcode 3.2"; | ||
| 342 | + developmentRegion = English; | ||
| 343 | + hasScannedForEncodings = 0; | ||
| 344 | + knownRegions = ( | ||
| 345 | + en, | ||
| 346 | + ); | ||
| 347 | + mainGroup = 7DB346D0F39D3F0E887471402A8071AB; | ||
| 348 | + productRefGroup = 42CF29018A626A080122EEFDA2269F7C /* Products */; | ||
| 349 | + projectDirPath = ""; | ||
| 350 | + projectRoot = ""; | ||
| 351 | + targets = ( | ||
| 352 | + C6D6EAD96A20E0C7397CF1BF8200EBB8 /* CNLiveBaseTools */, | ||
| 353 | + BA4B2F2A6571D7E488C7FC1038A4D052 /* Pods-CNLiveBaseTools_Example */, | ||
| 354 | + D18565061439A14CDC56F6FC62B563C8 /* Pods-CNLiveBaseTools_Tests */, | ||
| 355 | + ); | ||
| 356 | + }; | ||
| 357 | +/* End PBXProject section */ | ||
| 358 | + | ||
| 359 | +/* Begin PBXResourcesBuildPhase section */ | ||
| 360 | + 045A7665D43E7B8BD4CA71CB8EC3DC24 /* Resources */ = { | ||
| 361 | + isa = PBXResourcesBuildPhase; | ||
| 362 | + buildActionMask = 2147483647; | ||
| 363 | + files = ( | ||
| 364 | + ); | ||
| 365 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 366 | + }; | ||
| 367 | + 63EECA8AC8564850FBD659E4AF49ABF2 /* Resources */ = { | ||
| 368 | + isa = PBXResourcesBuildPhase; | ||
| 369 | + buildActionMask = 2147483647; | ||
| 370 | + files = ( | ||
| 371 | + ); | ||
| 372 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 373 | + }; | ||
| 374 | + E01A3A28A31B019271C0E842F75A064A /* Resources */ = { | ||
| 375 | + isa = PBXResourcesBuildPhase; | ||
| 376 | + buildActionMask = 2147483647; | ||
| 377 | + files = ( | ||
| 378 | + ); | ||
| 379 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 380 | + }; | ||
| 381 | +/* End PBXResourcesBuildPhase section */ | ||
| 382 | + | ||
| 383 | +/* Begin PBXSourcesBuildPhase section */ | ||
| 384 | + 6B26150153CF99B496BDF0592EEF7D62 /* Sources */ = { | ||
| 385 | + isa = PBXSourcesBuildPhase; | ||
| 386 | + buildActionMask = 2147483647; | ||
| 387 | + files = ( | ||
| 388 | + 33EC927DED5CBE207FA1F991412CC672 /* CNLiveBaseTools-dummy.m in Sources */, | ||
| 389 | + D2D7CBF83E2982FC4564511B2761B265 /* CNLiveTimeTools.m in Sources */, | ||
| 390 | + D6D9CD3C14B1FC1153E50BE3F25095AF /* CNLiveVoiceTools.m in Sources */, | ||
| 391 | + ); | ||
| 392 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 393 | + }; | ||
| 394 | + 7716FAAAD2E56D0FE8100ADF3C3364FA /* Sources */ = { | ||
| 395 | + isa = PBXSourcesBuildPhase; | ||
| 396 | + buildActionMask = 2147483647; | ||
| 397 | + files = ( | ||
| 398 | + 4FA743B73831B26EA4D08EC651C783AF /* Pods-CNLiveBaseTools_Example-dummy.m in Sources */, | ||
| 399 | + ); | ||
| 400 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 401 | + }; | ||
| 402 | + A73C48199774069A81EF1CCBB81AD54E /* Sources */ = { | ||
| 403 | + isa = PBXSourcesBuildPhase; | ||
| 404 | + buildActionMask = 2147483647; | ||
| 405 | + files = ( | ||
| 406 | + 61E1C402F25E297A9D578B4BB4A72551 /* Pods-CNLiveBaseTools_Tests-dummy.m in Sources */, | ||
| 407 | + ); | ||
| 408 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 409 | + }; | ||
| 410 | +/* End PBXSourcesBuildPhase section */ | ||
| 411 | + | ||
| 412 | +/* Begin PBXTargetDependency section */ | ||
| 413 | + 72B5E5A858D2FCFACACCBCCD6FEC2DF3 /* PBXTargetDependency */ = { | ||
| 414 | + isa = PBXTargetDependency; | ||
| 415 | + name = CNLiveBaseTools; | ||
| 416 | + target = C6D6EAD96A20E0C7397CF1BF8200EBB8 /* CNLiveBaseTools */; | ||
| 417 | + targetProxy = 42AA47DDC0D04D02356D69A76CF3A1E8 /* PBXContainerItemProxy */; | ||
| 418 | + }; | ||
| 419 | + 9A2A3A1C3D9BE618A9682FBA14B13207 /* PBXTargetDependency */ = { | ||
| 420 | + isa = PBXTargetDependency; | ||
| 421 | + name = "Pods-CNLiveBaseTools_Example"; | ||
| 422 | + target = BA4B2F2A6571D7E488C7FC1038A4D052 /* Pods-CNLiveBaseTools_Example */; | ||
| 423 | + targetProxy = 5537DDB9308F5CFC983156F9EFE0B8E2 /* PBXContainerItemProxy */; | ||
| 424 | + }; | ||
| 425 | +/* End PBXTargetDependency section */ | ||
| 426 | + | ||
| 427 | +/* Begin XCBuildConfiguration section */ | ||
| 428 | + 1C4D8552E1CB3E7566653E928EF7F53C /* Release */ = { | ||
| 429 | + isa = XCBuildConfiguration; | ||
| 430 | + baseConfigurationReference = DC825D7A055CEC63C5AF56833B5FD34A /* CNLiveBaseTools.xcconfig */; | ||
| 431 | + buildSettings = { | ||
| 432 | + CODE_SIGN_IDENTITY = ""; | ||
| 433 | + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; | ||
| 434 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; | ||
| 435 | + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; | ||
| 436 | + CURRENT_PROJECT_VERSION = 1; | ||
| 437 | + DEFINES_MODULE = YES; | ||
| 438 | + DYLIB_COMPATIBILITY_VERSION = 1; | ||
| 439 | + DYLIB_CURRENT_VERSION = 1; | ||
| 440 | + DYLIB_INSTALL_NAME_BASE = "@rpath"; | ||
| 441 | + GCC_PREFIX_HEADER = "Target Support Files/CNLiveBaseTools/CNLiveBaseTools-prefix.pch"; | ||
| 442 | + INFOPLIST_FILE = "Target Support Files/CNLiveBaseTools/Info.plist"; | ||
| 443 | + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; | ||
| 444 | + IPHONEOS_DEPLOYMENT_TARGET = 9.0; | ||
| 445 | + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; | ||
| 446 | + MODULEMAP_FILE = "Target Support Files/CNLiveBaseTools/CNLiveBaseTools.modulemap"; | ||
| 447 | + PRODUCT_MODULE_NAME = CNLiveBaseTools; | ||
| 448 | + PRODUCT_NAME = CNLiveBaseTools; | ||
| 449 | + SDKROOT = iphoneos; | ||
| 450 | + SKIP_INSTALL = YES; | ||
| 451 | + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; | ||
| 452 | + TARGETED_DEVICE_FAMILY = "1,2"; | ||
| 453 | + VALIDATE_PRODUCT = YES; | ||
| 454 | + VERSIONING_SYSTEM = "apple-generic"; | ||
| 455 | + VERSION_INFO_PREFIX = ""; | ||
| 456 | + }; | ||
| 457 | + name = Release; | ||
| 458 | + }; | ||
| 459 | + 32A22D512CFF1972868AD9027A969CE1 /* Debug */ = { | ||
| 460 | + isa = XCBuildConfiguration; | ||
| 461 | + baseConfigurationReference = 91ACAB33F8ADDC43E7CF47EB6B8AB223 /* Pods-CNLiveBaseTools_Tests.debug.xcconfig */; | ||
| 462 | + buildSettings = { | ||
| 463 | + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; | ||
| 464 | + CODE_SIGN_IDENTITY = ""; | ||
| 465 | + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; | ||
| 466 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; | ||
| 467 | + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; | ||
| 468 | + CURRENT_PROJECT_VERSION = 1; | ||
| 469 | + DEFINES_MODULE = YES; | ||
| 470 | + DYLIB_COMPATIBILITY_VERSION = 1; | ||
| 471 | + DYLIB_CURRENT_VERSION = 1; | ||
| 472 | + DYLIB_INSTALL_NAME_BASE = "@rpath"; | ||
| 473 | + INFOPLIST_FILE = "Target Support Files/Pods-CNLiveBaseTools_Tests/Info.plist"; | ||
| 474 | + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; | ||
| 475 | + IPHONEOS_DEPLOYMENT_TARGET = 9.0; | ||
| 476 | + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; | ||
| 477 | + MACH_O_TYPE = staticlib; | ||
| 478 | + MODULEMAP_FILE = "Target Support Files/Pods-CNLiveBaseTools_Tests/Pods-CNLiveBaseTools_Tests.modulemap"; | ||
| 479 | + OTHER_LDFLAGS = ""; | ||
| 480 | + OTHER_LIBTOOLFLAGS = ""; | ||
| 481 | + PODS_ROOT = "$(SRCROOT)"; | ||
| 482 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; | ||
| 483 | + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; | ||
| 484 | + SDKROOT = iphoneos; | ||
| 485 | + SKIP_INSTALL = YES; | ||
| 486 | + TARGETED_DEVICE_FAMILY = "1,2"; | ||
| 487 | + VERSIONING_SYSTEM = "apple-generic"; | ||
| 488 | + VERSION_INFO_PREFIX = ""; | ||
| 489 | + }; | ||
| 490 | + name = Debug; | ||
| 491 | + }; | ||
| 492 | + 5DE19CECB206ACCCACF04D62F93FFDA6 /* Release */ = { | ||
| 493 | + isa = XCBuildConfiguration; | ||
| 494 | + buildSettings = { | ||
| 495 | + ALWAYS_SEARCH_USER_PATHS = NO; | ||
| 496 | + CLANG_ANALYZER_NONNULL = YES; | ||
| 497 | + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; | ||
| 498 | + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; | ||
| 499 | + CLANG_CXX_LIBRARY = "libc++"; | ||
| 500 | + CLANG_ENABLE_MODULES = YES; | ||
| 501 | + CLANG_ENABLE_OBJC_ARC = YES; | ||
| 502 | + CLANG_ENABLE_OBJC_WEAK = YES; | ||
| 503 | + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; | ||
| 504 | + CLANG_WARN_BOOL_CONVERSION = YES; | ||
| 505 | + CLANG_WARN_COMMA = YES; | ||
| 506 | + CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
| 507 | + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; | ||
| 508 | + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
| 509 | + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; | ||
| 510 | + CLANG_WARN_EMPTY_BODY = YES; | ||
| 511 | + CLANG_WARN_ENUM_CONVERSION = YES; | ||
| 512 | + CLANG_WARN_INFINITE_RECURSION = YES; | ||
| 513 | + CLANG_WARN_INT_CONVERSION = YES; | ||
| 514 | + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; | ||
| 515 | + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; | ||
| 516 | + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; | ||
| 517 | + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
| 518 | + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; | ||
| 519 | + CLANG_WARN_STRICT_PROTOTYPES = YES; | ||
| 520 | + CLANG_WARN_SUSPICIOUS_MOVE = YES; | ||
| 521 | + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; | ||
| 522 | + CLANG_WARN_UNREACHABLE_CODE = YES; | ||
| 523 | + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
| 524 | + CODE_SIGNING_ALLOWED = NO; | ||
| 525 | + CODE_SIGNING_REQUIRED = NO; | ||
| 526 | + COPY_PHASE_STRIP = NO; | ||
| 527 | + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||
| 528 | + ENABLE_NS_ASSERTIONS = NO; | ||
| 529 | + ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
| 530 | + GCC_C_LANGUAGE_STANDARD = gnu11; | ||
| 531 | + GCC_NO_COMMON_BLOCKS = YES; | ||
| 532 | + GCC_PREPROCESSOR_DEFINITIONS = ( | ||
| 533 | + "POD_CONFIGURATION_RELEASE=1", | ||
| 534 | + "$(inherited)", | ||
| 535 | + ); | ||
| 536 | + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
| 537 | + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
| 538 | + GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
| 539 | + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
| 540 | + GCC_WARN_UNUSED_FUNCTION = YES; | ||
| 541 | + GCC_WARN_UNUSED_VARIABLE = YES; | ||
| 542 | + IPHONEOS_DEPLOYMENT_TARGET = 9.0; | ||
| 543 | + MTL_ENABLE_DEBUG_INFO = NO; | ||
| 544 | + MTL_FAST_MATH = YES; | ||
| 545 | + PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| 546 | + STRIP_INSTALLED_PRODUCT = NO; | ||
| 547 | + SWIFT_COMPILATION_MODE = wholemodule; | ||
| 548 | + SWIFT_OPTIMIZATION_LEVEL = "-O"; | ||
| 549 | + SWIFT_VERSION = 4.2; | ||
| 550 | + SYMROOT = "${SRCROOT}/../build"; | ||
| 551 | + }; | ||
| 552 | + name = Release; | ||
| 553 | + }; | ||
| 554 | + 858D01EEFE984249A9581D18DBEA53F1 /* Debug */ = { | ||
| 555 | + isa = XCBuildConfiguration; | ||
| 556 | + buildSettings = { | ||
| 557 | + ALWAYS_SEARCH_USER_PATHS = NO; | ||
| 558 | + CLANG_ANALYZER_NONNULL = YES; | ||
| 559 | + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; | ||
| 560 | + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; | ||
| 561 | + CLANG_CXX_LIBRARY = "libc++"; | ||
| 562 | + CLANG_ENABLE_MODULES = YES; | ||
| 563 | + CLANG_ENABLE_OBJC_ARC = YES; | ||
| 564 | + CLANG_ENABLE_OBJC_WEAK = YES; | ||
| 565 | + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; | ||
| 566 | + CLANG_WARN_BOOL_CONVERSION = YES; | ||
| 567 | + CLANG_WARN_COMMA = YES; | ||
| 568 | + CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
| 569 | + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; | ||
| 570 | + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
| 571 | + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; | ||
| 572 | + CLANG_WARN_EMPTY_BODY = YES; | ||
| 573 | + CLANG_WARN_ENUM_CONVERSION = YES; | ||
| 574 | + CLANG_WARN_INFINITE_RECURSION = YES; | ||
| 575 | + CLANG_WARN_INT_CONVERSION = YES; | ||
| 576 | + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; | ||
| 577 | + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; | ||
| 578 | + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; | ||
| 579 | + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
| 580 | + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; | ||
| 581 | + CLANG_WARN_STRICT_PROTOTYPES = YES; | ||
| 582 | + CLANG_WARN_SUSPICIOUS_MOVE = YES; | ||
| 583 | + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; | ||
| 584 | + CLANG_WARN_UNREACHABLE_CODE = YES; | ||
| 585 | + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
| 586 | + CODE_SIGNING_ALLOWED = NO; | ||
| 587 | + CODE_SIGNING_REQUIRED = NO; | ||
| 588 | + COPY_PHASE_STRIP = NO; | ||
| 589 | + DEBUG_INFORMATION_FORMAT = dwarf; | ||
| 590 | + ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
| 591 | + ENABLE_TESTABILITY = YES; | ||
| 592 | + GCC_C_LANGUAGE_STANDARD = gnu11; | ||
| 593 | + GCC_DYNAMIC_NO_PIC = NO; | ||
| 594 | + GCC_NO_COMMON_BLOCKS = YES; | ||
| 595 | + GCC_OPTIMIZATION_LEVEL = 0; | ||
| 596 | + GCC_PREPROCESSOR_DEFINITIONS = ( | ||
| 597 | + "POD_CONFIGURATION_DEBUG=1", | ||
| 598 | + "DEBUG=1", | ||
| 599 | + "$(inherited)", | ||
| 600 | + ); | ||
| 601 | + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
| 602 | + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
| 603 | + GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
| 604 | + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
| 605 | + GCC_WARN_UNUSED_FUNCTION = YES; | ||
| 606 | + GCC_WARN_UNUSED_VARIABLE = YES; | ||
| 607 | + IPHONEOS_DEPLOYMENT_TARGET = 9.0; | ||
| 608 | + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; | ||
| 609 | + MTL_FAST_MATH = YES; | ||
| 610 | + ONLY_ACTIVE_ARCH = YES; | ||
| 611 | + PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| 612 | + STRIP_INSTALLED_PRODUCT = NO; | ||
| 613 | + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; | ||
| 614 | + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; | ||
| 615 | + SWIFT_VERSION = 4.2; | ||
| 616 | + SYMROOT = "${SRCROOT}/../build"; | ||
| 617 | + }; | ||
| 618 | + name = Debug; | ||
| 619 | + }; | ||
| 620 | + B89377003B5EBCE170B589CF019417DB /* Debug */ = { | ||
| 621 | + isa = XCBuildConfiguration; | ||
| 622 | + baseConfigurationReference = 8EE3CCB004C78CC47C455C2D3D833FA2 /* Pods-CNLiveBaseTools_Example.debug.xcconfig */; | ||
| 623 | + buildSettings = { | ||
| 624 | + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; | ||
| 625 | + CODE_SIGN_IDENTITY = ""; | ||
| 626 | + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; | ||
| 627 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; | ||
| 628 | + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; | ||
| 629 | + CURRENT_PROJECT_VERSION = 1; | ||
| 630 | + DEFINES_MODULE = YES; | ||
| 631 | + DYLIB_COMPATIBILITY_VERSION = 1; | ||
| 632 | + DYLIB_CURRENT_VERSION = 1; | ||
| 633 | + DYLIB_INSTALL_NAME_BASE = "@rpath"; | ||
| 634 | + INFOPLIST_FILE = "Target Support Files/Pods-CNLiveBaseTools_Example/Info.plist"; | ||
| 635 | + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; | ||
| 636 | + IPHONEOS_DEPLOYMENT_TARGET = 9.0; | ||
| 637 | + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; | ||
| 638 | + MACH_O_TYPE = staticlib; | ||
| 639 | + MODULEMAP_FILE = "Target Support Files/Pods-CNLiveBaseTools_Example/Pods-CNLiveBaseTools_Example.modulemap"; | ||
| 640 | + OTHER_LDFLAGS = ""; | ||
| 641 | + OTHER_LIBTOOLFLAGS = ""; | ||
| 642 | + PODS_ROOT = "$(SRCROOT)"; | ||
| 643 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; | ||
| 644 | + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; | ||
| 645 | + SDKROOT = iphoneos; | ||
| 646 | + SKIP_INSTALL = YES; | ||
| 647 | + TARGETED_DEVICE_FAMILY = "1,2"; | ||
| 648 | + VERSIONING_SYSTEM = "apple-generic"; | ||
| 649 | + VERSION_INFO_PREFIX = ""; | ||
| 650 | + }; | ||
| 651 | + name = Debug; | ||
| 652 | + }; | ||
| 653 | + C2E919FF5AF5BCBAB09362ABA5CFE689 /* Release */ = { | ||
| 654 | + isa = XCBuildConfiguration; | ||
| 655 | + baseConfigurationReference = 468AD360F2603144033041EEF5C68898 /* Pods-CNLiveBaseTools_Tests.release.xcconfig */; | ||
| 656 | + buildSettings = { | ||
| 657 | + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; | ||
| 658 | + CODE_SIGN_IDENTITY = ""; | ||
| 659 | + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; | ||
| 660 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; | ||
| 661 | + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; | ||
| 662 | + CURRENT_PROJECT_VERSION = 1; | ||
| 663 | + DEFINES_MODULE = YES; | ||
| 664 | + DYLIB_COMPATIBILITY_VERSION = 1; | ||
| 665 | + DYLIB_CURRENT_VERSION = 1; | ||
| 666 | + DYLIB_INSTALL_NAME_BASE = "@rpath"; | ||
| 667 | + INFOPLIST_FILE = "Target Support Files/Pods-CNLiveBaseTools_Tests/Info.plist"; | ||
| 668 | + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; | ||
| 669 | + IPHONEOS_DEPLOYMENT_TARGET = 9.0; | ||
| 670 | + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; | ||
| 671 | + MACH_O_TYPE = staticlib; | ||
| 672 | + MODULEMAP_FILE = "Target Support Files/Pods-CNLiveBaseTools_Tests/Pods-CNLiveBaseTools_Tests.modulemap"; | ||
| 673 | + OTHER_LDFLAGS = ""; | ||
| 674 | + OTHER_LIBTOOLFLAGS = ""; | ||
| 675 | + PODS_ROOT = "$(SRCROOT)"; | ||
| 676 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; | ||
| 677 | + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; | ||
| 678 | + SDKROOT = iphoneos; | ||
| 679 | + SKIP_INSTALL = YES; | ||
| 680 | + TARGETED_DEVICE_FAMILY = "1,2"; | ||
| 681 | + VALIDATE_PRODUCT = YES; | ||
| 682 | + VERSIONING_SYSTEM = "apple-generic"; | ||
| 683 | + VERSION_INFO_PREFIX = ""; | ||
| 684 | + }; | ||
| 685 | + name = Release; | ||
| 686 | + }; | ||
| 687 | + CD464B0467AB93E0D9238F74A40E8F3A /* Release */ = { | ||
| 688 | + isa = XCBuildConfiguration; | ||
| 689 | + baseConfigurationReference = E6C26C79C407C9DE60CE58787126CB2F /* Pods-CNLiveBaseTools_Example.release.xcconfig */; | ||
| 690 | + buildSettings = { | ||
| 691 | + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; | ||
| 692 | + CODE_SIGN_IDENTITY = ""; | ||
| 693 | + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; | ||
| 694 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; | ||
| 695 | + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; | ||
| 696 | + CURRENT_PROJECT_VERSION = 1; | ||
| 697 | + DEFINES_MODULE = YES; | ||
| 698 | + DYLIB_COMPATIBILITY_VERSION = 1; | ||
| 699 | + DYLIB_CURRENT_VERSION = 1; | ||
| 700 | + DYLIB_INSTALL_NAME_BASE = "@rpath"; | ||
| 701 | + INFOPLIST_FILE = "Target Support Files/Pods-CNLiveBaseTools_Example/Info.plist"; | ||
| 702 | + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; | ||
| 703 | + IPHONEOS_DEPLOYMENT_TARGET = 9.0; | ||
| 704 | + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; | ||
| 705 | + MACH_O_TYPE = staticlib; | ||
| 706 | + MODULEMAP_FILE = "Target Support Files/Pods-CNLiveBaseTools_Example/Pods-CNLiveBaseTools_Example.modulemap"; | ||
| 707 | + OTHER_LDFLAGS = ""; | ||
| 708 | + OTHER_LIBTOOLFLAGS = ""; | ||
| 709 | + PODS_ROOT = "$(SRCROOT)"; | ||
| 710 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; | ||
| 711 | + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; | ||
| 712 | + SDKROOT = iphoneos; | ||
| 713 | + SKIP_INSTALL = YES; | ||
| 714 | + TARGETED_DEVICE_FAMILY = "1,2"; | ||
| 715 | + VALIDATE_PRODUCT = YES; | ||
| 716 | + VERSIONING_SYSTEM = "apple-generic"; | ||
| 717 | + VERSION_INFO_PREFIX = ""; | ||
| 718 | + }; | ||
| 719 | + name = Release; | ||
| 720 | + }; | ||
| 721 | + D61DA2D0905CF724354B4FF833787109 /* Debug */ = { | ||
| 722 | + isa = XCBuildConfiguration; | ||
| 723 | + baseConfigurationReference = DC825D7A055CEC63C5AF56833B5FD34A /* CNLiveBaseTools.xcconfig */; | ||
| 724 | + buildSettings = { | ||
| 725 | + CODE_SIGN_IDENTITY = ""; | ||
| 726 | + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; | ||
| 727 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; | ||
| 728 | + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; | ||
| 729 | + CURRENT_PROJECT_VERSION = 1; | ||
| 730 | + DEFINES_MODULE = YES; | ||
| 731 | + DYLIB_COMPATIBILITY_VERSION = 1; | ||
| 732 | + DYLIB_CURRENT_VERSION = 1; | ||
| 733 | + DYLIB_INSTALL_NAME_BASE = "@rpath"; | ||
| 734 | + GCC_PREFIX_HEADER = "Target Support Files/CNLiveBaseTools/CNLiveBaseTools-prefix.pch"; | ||
| 735 | + INFOPLIST_FILE = "Target Support Files/CNLiveBaseTools/Info.plist"; | ||
| 736 | + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; | ||
| 737 | + IPHONEOS_DEPLOYMENT_TARGET = 9.0; | ||
| 738 | + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; | ||
| 739 | + MODULEMAP_FILE = "Target Support Files/CNLiveBaseTools/CNLiveBaseTools.modulemap"; | ||
| 740 | + PRODUCT_MODULE_NAME = CNLiveBaseTools; | ||
| 741 | + PRODUCT_NAME = CNLiveBaseTools; | ||
| 742 | + SDKROOT = iphoneos; | ||
| 743 | + SKIP_INSTALL = YES; | ||
| 744 | + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; | ||
| 745 | + TARGETED_DEVICE_FAMILY = "1,2"; | ||
| 746 | + VERSIONING_SYSTEM = "apple-generic"; | ||
| 747 | + VERSION_INFO_PREFIX = ""; | ||
| 748 | + }; | ||
| 749 | + name = Debug; | ||
| 750 | + }; | ||
| 751 | +/* End XCBuildConfiguration section */ | ||
| 752 | + | ||
| 753 | +/* Begin XCConfigurationList section */ | ||
| 754 | + 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { | ||
| 755 | + isa = XCConfigurationList; | ||
| 756 | + buildConfigurations = ( | ||
| 757 | + 858D01EEFE984249A9581D18DBEA53F1 /* Debug */, | ||
| 758 | + 5DE19CECB206ACCCACF04D62F93FFDA6 /* Release */, | ||
| 759 | + ); | ||
| 760 | + defaultConfigurationIsVisible = 0; | ||
| 761 | + defaultConfigurationName = Release; | ||
| 762 | + }; | ||
| 763 | + 31F1177A43848868EFEA296BCDD89928 /* Build configuration list for PBXNativeTarget "Pods-CNLiveBaseTools_Tests" */ = { | ||
| 764 | + isa = XCConfigurationList; | ||
| 765 | + buildConfigurations = ( | ||
| 766 | + 32A22D512CFF1972868AD9027A969CE1 /* Debug */, | ||
| 767 | + C2E919FF5AF5BCBAB09362ABA5CFE689 /* Release */, | ||
| 768 | + ); | ||
| 769 | + defaultConfigurationIsVisible = 0; | ||
| 770 | + defaultConfigurationName = Release; | ||
| 771 | + }; | ||
| 772 | + 3FA07A9B5E0A3BBE30B22F6C07B62AB0 /* Build configuration list for PBXNativeTarget "CNLiveBaseTools" */ = { | ||
| 773 | + isa = XCConfigurationList; | ||
| 774 | + buildConfigurations = ( | ||
| 775 | + D61DA2D0905CF724354B4FF833787109 /* Debug */, | ||
| 776 | + 1C4D8552E1CB3E7566653E928EF7F53C /* Release */, | ||
| 777 | + ); | ||
| 778 | + defaultConfigurationIsVisible = 0; | ||
| 779 | + defaultConfigurationName = Release; | ||
| 780 | + }; | ||
| 781 | + B380DBA7D3915AE97EA5D67A6BC67B0B /* Build configuration list for PBXNativeTarget "Pods-CNLiveBaseTools_Example" */ = { | ||
| 782 | + isa = XCConfigurationList; | ||
| 783 | + buildConfigurations = ( | ||
| 784 | + B89377003B5EBCE170B589CF019417DB /* Debug */, | ||
| 785 | + CD464B0467AB93E0D9238F74A40E8F3A /* Release */, | ||
| 786 | + ); | ||
| 787 | + defaultConfigurationIsVisible = 0; | ||
| 788 | + defaultConfigurationName = Release; | ||
| 789 | + }; | ||
| 790 | +/* End XCConfigurationList section */ | ||
| 791 | + }; | ||
| 792 | + rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; | ||
| 793 | +} |
Example/Pods/Target Support Files/CNLiveBaseTools/CNLiveBaseTools-dummy.m
0 → 100644
Example/Pods/Target Support Files/CNLiveBaseTools/CNLiveBaseTools-prefix.pch
0 → 100644
Example/Pods/Target Support Files/CNLiveBaseTools/CNLiveBaseTools-umbrella.h
0 → 100644
| 1 | +#ifdef __OBJC__ | ||
| 2 | +#import <UIKit/UIKit.h> | ||
| 3 | +#else | ||
| 4 | +#ifndef FOUNDATION_EXPORT | ||
| 5 | +#if defined(__cplusplus) | ||
| 6 | +#define FOUNDATION_EXPORT extern "C" | ||
| 7 | +#else | ||
| 8 | +#define FOUNDATION_EXPORT extern | ||
| 9 | +#endif | ||
| 10 | +#endif | ||
| 11 | +#endif | ||
| 12 | + | ||
| 13 | +#import "CNLiveTimeTools.h" | ||
| 14 | +#import "CNLiveVoiceTools.h" | ||
| 15 | + | ||
| 16 | +FOUNDATION_EXPORT double CNLiveBaseToolsVersionNumber; | ||
| 17 | +FOUNDATION_EXPORT const unsigned char CNLiveBaseToolsVersionString[]; | ||
| 18 | + |
Example/Pods/Target Support Files/CNLiveBaseTools/CNLiveBaseTools.modulemap
0 → 100644
Example/Pods/Target Support Files/CNLiveBaseTools/CNLiveBaseTools.xcconfig
0 → 100644
| 1 | +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/CNLiveBaseTools | ||
| 2 | +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 | ||
| 3 | +OTHER_LDFLAGS = -framework "Foundation" -framework "UIKit" | ||
| 4 | +PODS_BUILD_DIR = ${BUILD_DIR} | ||
| 5 | +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) | ||
| 6 | +PODS_ROOT = ${SRCROOT} | ||
| 7 | +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. | ||
| 8 | +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} | ||
| 9 | +SKIP_INSTALL = YES |
Example/Pods/Target Support Files/CNLiveBaseTools/Info.plist
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | +<plist version="1.0"> | ||
| 4 | +<dict> | ||
| 5 | + <key>CFBundleDevelopmentRegion</key> | ||
| 6 | + <string>en</string> | ||
| 7 | + <key>CFBundleExecutable</key> | ||
| 8 | + <string>${EXECUTABLE_NAME}</string> | ||
| 9 | + <key>CFBundleIdentifier</key> | ||
| 10 | + <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> | ||
| 11 | + <key>CFBundleInfoDictionaryVersion</key> | ||
| 12 | + <string>6.0</string> | ||
| 13 | + <key>CFBundleName</key> | ||
| 14 | + <string>${PRODUCT_NAME}</string> | ||
| 15 | + <key>CFBundlePackageType</key> | ||
| 16 | + <string>FMWK</string> | ||
| 17 | + <key>CFBundleShortVersionString</key> | ||
| 18 | + <string>0.1.0</string> | ||
| 19 | + <key>CFBundleSignature</key> | ||
| 20 | + <string>????</string> | ||
| 21 | + <key>CFBundleVersion</key> | ||
| 22 | + <string>${CURRENT_PROJECT_VERSION}</string> | ||
| 23 | + <key>NSPrincipalClass</key> | ||
| 24 | + <string></string> | ||
| 25 | +</dict> | ||
| 26 | +</plist> |
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Example/Info.plist
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | +<plist version="1.0"> | ||
| 4 | +<dict> | ||
| 5 | + <key>CFBundleDevelopmentRegion</key> | ||
| 6 | + <string>en</string> | ||
| 7 | + <key>CFBundleExecutable</key> | ||
| 8 | + <string>${EXECUTABLE_NAME}</string> | ||
| 9 | + <key>CFBundleIdentifier</key> | ||
| 10 | + <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> | ||
| 11 | + <key>CFBundleInfoDictionaryVersion</key> | ||
| 12 | + <string>6.0</string> | ||
| 13 | + <key>CFBundleName</key> | ||
| 14 | + <string>${PRODUCT_NAME}</string> | ||
| 15 | + <key>CFBundlePackageType</key> | ||
| 16 | + <string>FMWK</string> | ||
| 17 | + <key>CFBundleShortVersionString</key> | ||
| 18 | + <string>1.0.0</string> | ||
| 19 | + <key>CFBundleSignature</key> | ||
| 20 | + <string>????</string> | ||
| 21 | + <key>CFBundleVersion</key> | ||
| 22 | + <string>${CURRENT_PROJECT_VERSION}</string> | ||
| 23 | + <key>NSPrincipalClass</key> | ||
| 24 | + <string></string> | ||
| 25 | +</dict> | ||
| 26 | +</plist> |
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Example/Pods-CNLiveBaseTools_Example-acknowledgements.markdown
0 → 100644
| 1 | +# Acknowledgements | ||
| 2 | +This application makes use of the following third party libraries: | ||
| 3 | + | ||
| 4 | +## CNLiveBaseTools | ||
| 5 | + | ||
| 6 | +Copyright (c) 2019 殷巧娟 <1427945373@qq.com> | ||
| 7 | + | ||
| 8 | +Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| 9 | +of this software and associated documentation files (the "Software"), to deal | ||
| 10 | +in the Software without restriction, including without limitation the rights | ||
| 11 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| 12 | +copies of the Software, and to permit persons to whom the Software is | ||
| 13 | +furnished to do so, subject to the following conditions: | ||
| 14 | + | ||
| 15 | +The above copyright notice and this permission notice shall be included in | ||
| 16 | +all copies or substantial portions of the Software. | ||
| 17 | + | ||
| 18 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 19 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| 20 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| 21 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| 22 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| 23 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
| 24 | +THE SOFTWARE. | ||
| 25 | + | ||
| 26 | +Generated by CocoaPods - https://cocoapods.org |
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Example/Pods-CNLiveBaseTools_Example-acknowledgements.plist
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | +<plist version="1.0"> | ||
| 4 | +<dict> | ||
| 5 | + <key>PreferenceSpecifiers</key> | ||
| 6 | + <array> | ||
| 7 | + <dict> | ||
| 8 | + <key>FooterText</key> | ||
| 9 | + <string>This application makes use of the following third party libraries:</string> | ||
| 10 | + <key>Title</key> | ||
| 11 | + <string>Acknowledgements</string> | ||
| 12 | + <key>Type</key> | ||
| 13 | + <string>PSGroupSpecifier</string> | ||
| 14 | + </dict> | ||
| 15 | + <dict> | ||
| 16 | + <key>FooterText</key> | ||
| 17 | + <string>Copyright (c) 2019 殷巧娟 <1427945373@qq.com> | ||
| 18 | + | ||
| 19 | +Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| 20 | +of this software and associated documentation files (the "Software"), to deal | ||
| 21 | +in the Software without restriction, including without limitation the rights | ||
| 22 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| 23 | +copies of the Software, and to permit persons to whom the Software is | ||
| 24 | +furnished to do so, subject to the following conditions: | ||
| 25 | + | ||
| 26 | +The above copyright notice and this permission notice shall be included in | ||
| 27 | +all copies or substantial portions of the Software. | ||
| 28 | + | ||
| 29 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 30 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| 31 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| 32 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| 33 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| 34 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
| 35 | +THE SOFTWARE. | ||
| 36 | +</string> | ||
| 37 | + <key>License</key> | ||
| 38 | + <string>MIT</string> | ||
| 39 | + <key>Title</key> | ||
| 40 | + <string>CNLiveBaseTools</string> | ||
| 41 | + <key>Type</key> | ||
| 42 | + <string>PSGroupSpecifier</string> | ||
| 43 | + </dict> | ||
| 44 | + <dict> | ||
| 45 | + <key>FooterText</key> | ||
| 46 | + <string>Generated by CocoaPods - https://cocoapods.org</string> | ||
| 47 | + <key>Title</key> | ||
| 48 | + <string></string> | ||
| 49 | + <key>Type</key> | ||
| 50 | + <string>PSGroupSpecifier</string> | ||
| 51 | + </dict> | ||
| 52 | + </array> | ||
| 53 | + <key>StringsTable</key> | ||
| 54 | + <string>Acknowledgements</string> | ||
| 55 | + <key>Title</key> | ||
| 56 | + <string>Acknowledgements</string> | ||
| 57 | +</dict> | ||
| 58 | +</plist> |
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Example/Pods-CNLiveBaseTools_Example-dummy.m
0 → 100644
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Example/Pods-CNLiveBaseTools_Example-frameworks.sh
0 → 100755
| 1 | +#!/bin/sh | ||
| 2 | +set -e | ||
| 3 | +set -u | ||
| 4 | +set -o pipefail | ||
| 5 | + | ||
| 6 | +if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then | ||
| 7 | + # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy | ||
| 8 | + # frameworks to, so exit 0 (signalling the script phase was successful). | ||
| 9 | + exit 0 | ||
| 10 | +fi | ||
| 11 | + | ||
| 12 | +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" | ||
| 13 | +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" | ||
| 14 | + | ||
| 15 | +COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" | ||
| 16 | +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" | ||
| 17 | + | ||
| 18 | +# Used as a return value for each invocation of `strip_invalid_archs` function. | ||
| 19 | +STRIP_BINARY_RETVAL=0 | ||
| 20 | + | ||
| 21 | +# This protects against multiple targets copying the same framework dependency at the same time. The solution | ||
| 22 | +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html | ||
| 23 | +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") | ||
| 24 | + | ||
| 25 | +# Copies and strips a vendored framework | ||
| 26 | +install_framework() | ||
| 27 | +{ | ||
| 28 | + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then | ||
| 29 | + local source="${BUILT_PRODUCTS_DIR}/$1" | ||
| 30 | + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then | ||
| 31 | + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" | ||
| 32 | + elif [ -r "$1" ]; then | ||
| 33 | + local source="$1" | ||
| 34 | + fi | ||
| 35 | + | ||
| 36 | + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" | ||
| 37 | + | ||
| 38 | + if [ -L "${source}" ]; then | ||
| 39 | + echo "Symlinked..." | ||
| 40 | + source="$(readlink "${source}")" | ||
| 41 | + fi | ||
| 42 | + | ||
| 43 | + # Use filter instead of exclude so missing patterns don't throw errors. | ||
| 44 | + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" | ||
| 45 | + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" | ||
| 46 | + | ||
| 47 | + local basename | ||
| 48 | + basename="$(basename -s .framework "$1")" | ||
| 49 | + binary="${destination}/${basename}.framework/${basename}" | ||
| 50 | + if ! [ -r "$binary" ]; then | ||
| 51 | + binary="${destination}/${basename}" | ||
| 52 | + fi | ||
| 53 | + | ||
| 54 | + # Strip invalid architectures so "fat" simulator / device frameworks work on device | ||
| 55 | + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then | ||
| 56 | + strip_invalid_archs "$binary" | ||
| 57 | + fi | ||
| 58 | + | ||
| 59 | + # Resign the code if required by the build settings to avoid unstable apps | ||
| 60 | + code_sign_if_enabled "${destination}/$(basename "$1")" | ||
| 61 | + | ||
| 62 | + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. | ||
| 63 | + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then | ||
| 64 | + local swift_runtime_libs | ||
| 65 | + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) | ||
| 66 | + for lib in $swift_runtime_libs; do | ||
| 67 | + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" | ||
| 68 | + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" | ||
| 69 | + code_sign_if_enabled "${destination}/${lib}" | ||
| 70 | + done | ||
| 71 | + fi | ||
| 72 | +} | ||
| 73 | + | ||
| 74 | +# Copies and strips a vendored dSYM | ||
| 75 | +install_dsym() { | ||
| 76 | + local source="$1" | ||
| 77 | + if [ -r "$source" ]; then | ||
| 78 | + # Copy the dSYM into a the targets temp dir. | ||
| 79 | + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" | ||
| 80 | + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" | ||
| 81 | + | ||
| 82 | + local basename | ||
| 83 | + basename="$(basename -s .framework.dSYM "$source")" | ||
| 84 | + binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" | ||
| 85 | + | ||
| 86 | + # Strip invalid architectures so "fat" simulator / device frameworks work on device | ||
| 87 | + if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then | ||
| 88 | + strip_invalid_archs "$binary" | ||
| 89 | + fi | ||
| 90 | + | ||
| 91 | + if [[ $STRIP_BINARY_RETVAL == 1 ]]; then | ||
| 92 | + # Move the stripped file into its final destination. | ||
| 93 | + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" | ||
| 94 | + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" | ||
| 95 | + else | ||
| 96 | + # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. | ||
| 97 | + touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" | ||
| 98 | + fi | ||
| 99 | + fi | ||
| 100 | +} | ||
| 101 | + | ||
| 102 | +# Signs a framework with the provided identity | ||
| 103 | +code_sign_if_enabled() { | ||
| 104 | + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then | ||
| 105 | + # Use the current code_sign_identitiy | ||
| 106 | + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" | ||
| 107 | + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" | ||
| 108 | + | ||
| 109 | + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then | ||
| 110 | + code_sign_cmd="$code_sign_cmd &" | ||
| 111 | + fi | ||
| 112 | + echo "$code_sign_cmd" | ||
| 113 | + eval "$code_sign_cmd" | ||
| 114 | + fi | ||
| 115 | +} | ||
| 116 | + | ||
| 117 | +# Strip invalid architectures | ||
| 118 | +strip_invalid_archs() { | ||
| 119 | + binary="$1" | ||
| 120 | + # Get architectures for current target binary | ||
| 121 | + binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" | ||
| 122 | + # Intersect them with the architectures we are building for | ||
| 123 | + intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" | ||
| 124 | + # If there are no archs supported by this binary then warn the user | ||
| 125 | + if [[ -z "$intersected_archs" ]]; then | ||
| 126 | + echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." | ||
| 127 | + STRIP_BINARY_RETVAL=0 | ||
| 128 | + return | ||
| 129 | + fi | ||
| 130 | + stripped="" | ||
| 131 | + for arch in $binary_archs; do | ||
| 132 | + if ! [[ "${ARCHS}" == *"$arch"* ]]; then | ||
| 133 | + # Strip non-valid architectures in-place | ||
| 134 | + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 | ||
| 135 | + stripped="$stripped $arch" | ||
| 136 | + fi | ||
| 137 | + done | ||
| 138 | + if [[ "$stripped" ]]; then | ||
| 139 | + echo "Stripped $binary of architectures:$stripped" | ||
| 140 | + fi | ||
| 141 | + STRIP_BINARY_RETVAL=1 | ||
| 142 | +} | ||
| 143 | + | ||
| 144 | + | ||
| 145 | +if [[ "$CONFIGURATION" == "Debug" ]]; then | ||
| 146 | + install_framework "${BUILT_PRODUCTS_DIR}/CNLiveBaseTools/CNLiveBaseTools.framework" | ||
| 147 | +fi | ||
| 148 | +if [[ "$CONFIGURATION" == "Release" ]]; then | ||
| 149 | + install_framework "${BUILT_PRODUCTS_DIR}/CNLiveBaseTools/CNLiveBaseTools.framework" | ||
| 150 | +fi | ||
| 151 | +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then | ||
| 152 | + wait | ||
| 153 | +fi |
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Example/Pods-CNLiveBaseTools_Example-resources.sh
0 → 100755
| 1 | +#!/bin/sh | ||
| 2 | +set -e | ||
| 3 | +set -u | ||
| 4 | +set -o pipefail | ||
| 5 | + | ||
| 6 | +if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then | ||
| 7 | + # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy | ||
| 8 | + # resources to, so exit 0 (signalling the script phase was successful). | ||
| 9 | + exit 0 | ||
| 10 | +fi | ||
| 11 | + | ||
| 12 | +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" | ||
| 13 | + | ||
| 14 | +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt | ||
| 15 | +> "$RESOURCES_TO_COPY" | ||
| 16 | + | ||
| 17 | +XCASSET_FILES=() | ||
| 18 | + | ||
| 19 | +# This protects against multiple targets copying the same framework dependency at the same time. The solution | ||
| 20 | +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html | ||
| 21 | +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") | ||
| 22 | + | ||
| 23 | +case "${TARGETED_DEVICE_FAMILY:-}" in | ||
| 24 | + 1,2) | ||
| 25 | + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" | ||
| 26 | + ;; | ||
| 27 | + 1) | ||
| 28 | + TARGET_DEVICE_ARGS="--target-device iphone" | ||
| 29 | + ;; | ||
| 30 | + 2) | ||
| 31 | + TARGET_DEVICE_ARGS="--target-device ipad" | ||
| 32 | + ;; | ||
| 33 | + 3) | ||
| 34 | + TARGET_DEVICE_ARGS="--target-device tv" | ||
| 35 | + ;; | ||
| 36 | + 4) | ||
| 37 | + TARGET_DEVICE_ARGS="--target-device watch" | ||
| 38 | + ;; | ||
| 39 | + *) | ||
| 40 | + TARGET_DEVICE_ARGS="--target-device mac" | ||
| 41 | + ;; | ||
| 42 | +esac | ||
| 43 | + | ||
| 44 | +install_resource() | ||
| 45 | +{ | ||
| 46 | + if [[ "$1" = /* ]] ; then | ||
| 47 | + RESOURCE_PATH="$1" | ||
| 48 | + else | ||
| 49 | + RESOURCE_PATH="${PODS_ROOT}/$1" | ||
| 50 | + fi | ||
| 51 | + if [[ ! -e "$RESOURCE_PATH" ]] ; then | ||
| 52 | + cat << EOM | ||
| 53 | +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. | ||
| 54 | +EOM | ||
| 55 | + exit 1 | ||
| 56 | + fi | ||
| 57 | + case $RESOURCE_PATH in | ||
| 58 | + *.storyboard) | ||
| 59 | + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true | ||
| 60 | + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} | ||
| 61 | + ;; | ||
| 62 | + *.xib) | ||
| 63 | + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true | ||
| 64 | + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} | ||
| 65 | + ;; | ||
| 66 | + *.framework) | ||
| 67 | + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true | ||
| 68 | + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" | ||
| 69 | + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true | ||
| 70 | + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" | ||
| 71 | + ;; | ||
| 72 | + *.xcdatamodel) | ||
| 73 | + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true | ||
| 74 | + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" | ||
| 75 | + ;; | ||
| 76 | + *.xcdatamodeld) | ||
| 77 | + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true | ||
| 78 | + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" | ||
| 79 | + ;; | ||
| 80 | + *.xcmappingmodel) | ||
| 81 | + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true | ||
| 82 | + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" | ||
| 83 | + ;; | ||
| 84 | + *.xcassets) | ||
| 85 | + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" | ||
| 86 | + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") | ||
| 87 | + ;; | ||
| 88 | + *) | ||
| 89 | + echo "$RESOURCE_PATH" || true | ||
| 90 | + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" | ||
| 91 | + ;; | ||
| 92 | + esac | ||
| 93 | +} | ||
| 94 | + | ||
| 95 | +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" | ||
| 96 | +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" | ||
| 97 | +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then | ||
| 98 | + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" | ||
| 99 | + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" | ||
| 100 | +fi | ||
| 101 | +rm -f "$RESOURCES_TO_COPY" | ||
| 102 | + | ||
| 103 | +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] | ||
| 104 | +then | ||
| 105 | + # Find all other xcassets (this unfortunately includes those of path pods and other targets). | ||
| 106 | + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) | ||
| 107 | + while read line; do | ||
| 108 | + if [[ $line != "${PODS_ROOT}*" ]]; then | ||
| 109 | + XCASSET_FILES+=("$line") | ||
| 110 | + fi | ||
| 111 | + done <<<"$OTHER_XCASSETS" | ||
| 112 | + | ||
| 113 | + if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then | ||
| 114 | + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" | ||
| 115 | + else | ||
| 116 | + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" | ||
| 117 | + fi | ||
| 118 | +fi |
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Example/Pods-CNLiveBaseTools_Example-umbrella.h
0 → 100644
| 1 | +#ifdef __OBJC__ | ||
| 2 | +#import <UIKit/UIKit.h> | ||
| 3 | +#else | ||
| 4 | +#ifndef FOUNDATION_EXPORT | ||
| 5 | +#if defined(__cplusplus) | ||
| 6 | +#define FOUNDATION_EXPORT extern "C" | ||
| 7 | +#else | ||
| 8 | +#define FOUNDATION_EXPORT extern | ||
| 9 | +#endif | ||
| 10 | +#endif | ||
| 11 | +#endif | ||
| 12 | + | ||
| 13 | + | ||
| 14 | +FOUNDATION_EXPORT double Pods_CNLiveBaseTools_ExampleVersionNumber; | ||
| 15 | +FOUNDATION_EXPORT const unsigned char Pods_CNLiveBaseTools_ExampleVersionString[]; | ||
| 16 | + |
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Example/Pods-CNLiveBaseTools_Example.debug.xcconfig
0 → 100644
| 1 | +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveBaseTools" | ||
| 2 | +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 | ||
| 3 | +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' | ||
| 4 | +OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveBaseTools/CNLiveBaseTools.framework/Headers" | ||
| 5 | +OTHER_LDFLAGS = $(inherited) -framework "CNLiveBaseTools" | ||
| 6 | +PODS_BUILD_DIR = ${BUILD_DIR} | ||
| 7 | +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) | ||
| 8 | +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. | ||
| 9 | +PODS_ROOT = ${SRCROOT}/Pods |
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Example/Pods-CNLiveBaseTools_Example.modulemap
0 → 100644
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Example/Pods-CNLiveBaseTools_Example.release.xcconfig
0 → 100644
| 1 | +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveBaseTools" | ||
| 2 | +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 | ||
| 3 | +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' | ||
| 4 | +OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveBaseTools/CNLiveBaseTools.framework/Headers" | ||
| 5 | +OTHER_LDFLAGS = $(inherited) -framework "CNLiveBaseTools" | ||
| 6 | +PODS_BUILD_DIR = ${BUILD_DIR} | ||
| 7 | +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) | ||
| 8 | +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. | ||
| 9 | +PODS_ROOT = ${SRCROOT}/Pods |
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Tests/Info.plist
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | +<plist version="1.0"> | ||
| 4 | +<dict> | ||
| 5 | + <key>CFBundleDevelopmentRegion</key> | ||
| 6 | + <string>en</string> | ||
| 7 | + <key>CFBundleExecutable</key> | ||
| 8 | + <string>${EXECUTABLE_NAME}</string> | ||
| 9 | + <key>CFBundleIdentifier</key> | ||
| 10 | + <string>${PRODUCT_BUNDLE_IDENTIFIER}</string> | ||
| 11 | + <key>CFBundleInfoDictionaryVersion</key> | ||
| 12 | + <string>6.0</string> | ||
| 13 | + <key>CFBundleName</key> | ||
| 14 | + <string>${PRODUCT_NAME}</string> | ||
| 15 | + <key>CFBundlePackageType</key> | ||
| 16 | + <string>FMWK</string> | ||
| 17 | + <key>CFBundleShortVersionString</key> | ||
| 18 | + <string>1.0.0</string> | ||
| 19 | + <key>CFBundleSignature</key> | ||
| 20 | + <string>????</string> | ||
| 21 | + <key>CFBundleVersion</key> | ||
| 22 | + <string>${CURRENT_PROJECT_VERSION}</string> | ||
| 23 | + <key>NSPrincipalClass</key> | ||
| 24 | + <string></string> | ||
| 25 | +</dict> | ||
| 26 | +</plist> |
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Tests/Pods-CNLiveBaseTools_Tests-acknowledgements.markdown
0 → 100644
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Tests/Pods-CNLiveBaseTools_Tests-acknowledgements.plist
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | +<plist version="1.0"> | ||
| 4 | +<dict> | ||
| 5 | + <key>PreferenceSpecifiers</key> | ||
| 6 | + <array> | ||
| 7 | + <dict> | ||
| 8 | + <key>FooterText</key> | ||
| 9 | + <string>This application makes use of the following third party libraries:</string> | ||
| 10 | + <key>Title</key> | ||
| 11 | + <string>Acknowledgements</string> | ||
| 12 | + <key>Type</key> | ||
| 13 | + <string>PSGroupSpecifier</string> | ||
| 14 | + </dict> | ||
| 15 | + <dict> | ||
| 16 | + <key>FooterText</key> | ||
| 17 | + <string>Generated by CocoaPods - https://cocoapods.org</string> | ||
| 18 | + <key>Title</key> | ||
| 19 | + <string></string> | ||
| 20 | + <key>Type</key> | ||
| 21 | + <string>PSGroupSpecifier</string> | ||
| 22 | + </dict> | ||
| 23 | + </array> | ||
| 24 | + <key>StringsTable</key> | ||
| 25 | + <string>Acknowledgements</string> | ||
| 26 | + <key>Title</key> | ||
| 27 | + <string>Acknowledgements</string> | ||
| 28 | +</dict> | ||
| 29 | +</plist> |
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Tests/Pods-CNLiveBaseTools_Tests-dummy.m
0 → 100644
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Tests/Pods-CNLiveBaseTools_Tests-frameworks.sh
0 → 100755
| 1 | +#!/bin/sh | ||
| 2 | +set -e | ||
| 3 | +set -u | ||
| 4 | +set -o pipefail | ||
| 5 | + | ||
| 6 | +if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then | ||
| 7 | + # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy | ||
| 8 | + # frameworks to, so exit 0 (signalling the script phase was successful). | ||
| 9 | + exit 0 | ||
| 10 | +fi | ||
| 11 | + | ||
| 12 | +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" | ||
| 13 | +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" | ||
| 14 | + | ||
| 15 | +COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" | ||
| 16 | +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" | ||
| 17 | + | ||
| 18 | +# Used as a return value for each invocation of `strip_invalid_archs` function. | ||
| 19 | +STRIP_BINARY_RETVAL=0 | ||
| 20 | + | ||
| 21 | +# This protects against multiple targets copying the same framework dependency at the same time. The solution | ||
| 22 | +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html | ||
| 23 | +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") | ||
| 24 | + | ||
| 25 | +# Copies and strips a vendored framework | ||
| 26 | +install_framework() | ||
| 27 | +{ | ||
| 28 | + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then | ||
| 29 | + local source="${BUILT_PRODUCTS_DIR}/$1" | ||
| 30 | + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then | ||
| 31 | + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" | ||
| 32 | + elif [ -r "$1" ]; then | ||
| 33 | + local source="$1" | ||
| 34 | + fi | ||
| 35 | + | ||
| 36 | + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" | ||
| 37 | + | ||
| 38 | + if [ -L "${source}" ]; then | ||
| 39 | + echo "Symlinked..." | ||
| 40 | + source="$(readlink "${source}")" | ||
| 41 | + fi | ||
| 42 | + | ||
| 43 | + # Use filter instead of exclude so missing patterns don't throw errors. | ||
| 44 | + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" | ||
| 45 | + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" | ||
| 46 | + | ||
| 47 | + local basename | ||
| 48 | + basename="$(basename -s .framework "$1")" | ||
| 49 | + binary="${destination}/${basename}.framework/${basename}" | ||
| 50 | + if ! [ -r "$binary" ]; then | ||
| 51 | + binary="${destination}/${basename}" | ||
| 52 | + fi | ||
| 53 | + | ||
| 54 | + # Strip invalid architectures so "fat" simulator / device frameworks work on device | ||
| 55 | + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then | ||
| 56 | + strip_invalid_archs "$binary" | ||
| 57 | + fi | ||
| 58 | + | ||
| 59 | + # Resign the code if required by the build settings to avoid unstable apps | ||
| 60 | + code_sign_if_enabled "${destination}/$(basename "$1")" | ||
| 61 | + | ||
| 62 | + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. | ||
| 63 | + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then | ||
| 64 | + local swift_runtime_libs | ||
| 65 | + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) | ||
| 66 | + for lib in $swift_runtime_libs; do | ||
| 67 | + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" | ||
| 68 | + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" | ||
| 69 | + code_sign_if_enabled "${destination}/${lib}" | ||
| 70 | + done | ||
| 71 | + fi | ||
| 72 | +} | ||
| 73 | + | ||
| 74 | +# Copies and strips a vendored dSYM | ||
| 75 | +install_dsym() { | ||
| 76 | + local source="$1" | ||
| 77 | + if [ -r "$source" ]; then | ||
| 78 | + # Copy the dSYM into a the targets temp dir. | ||
| 79 | + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" | ||
| 80 | + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" | ||
| 81 | + | ||
| 82 | + local basename | ||
| 83 | + basename="$(basename -s .framework.dSYM "$source")" | ||
| 84 | + binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" | ||
| 85 | + | ||
| 86 | + # Strip invalid architectures so "fat" simulator / device frameworks work on device | ||
| 87 | + if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then | ||
| 88 | + strip_invalid_archs "$binary" | ||
| 89 | + fi | ||
| 90 | + | ||
| 91 | + if [[ $STRIP_BINARY_RETVAL == 1 ]]; then | ||
| 92 | + # Move the stripped file into its final destination. | ||
| 93 | + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" | ||
| 94 | + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" | ||
| 95 | + else | ||
| 96 | + # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. | ||
| 97 | + touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" | ||
| 98 | + fi | ||
| 99 | + fi | ||
| 100 | +} | ||
| 101 | + | ||
| 102 | +# Signs a framework with the provided identity | ||
| 103 | +code_sign_if_enabled() { | ||
| 104 | + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then | ||
| 105 | + # Use the current code_sign_identitiy | ||
| 106 | + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" | ||
| 107 | + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" | ||
| 108 | + | ||
| 109 | + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then | ||
| 110 | + code_sign_cmd="$code_sign_cmd &" | ||
| 111 | + fi | ||
| 112 | + echo "$code_sign_cmd" | ||
| 113 | + eval "$code_sign_cmd" | ||
| 114 | + fi | ||
| 115 | +} | ||
| 116 | + | ||
| 117 | +# Strip invalid architectures | ||
| 118 | +strip_invalid_archs() { | ||
| 119 | + binary="$1" | ||
| 120 | + # Get architectures for current target binary | ||
| 121 | + binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" | ||
| 122 | + # Intersect them with the architectures we are building for | ||
| 123 | + intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" | ||
| 124 | + # If there are no archs supported by this binary then warn the user | ||
| 125 | + if [[ -z "$intersected_archs" ]]; then | ||
| 126 | + echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." | ||
| 127 | + STRIP_BINARY_RETVAL=0 | ||
| 128 | + return | ||
| 129 | + fi | ||
| 130 | + stripped="" | ||
| 131 | + for arch in $binary_archs; do | ||
| 132 | + if ! [[ "${ARCHS}" == *"$arch"* ]]; then | ||
| 133 | + # Strip non-valid architectures in-place | ||
| 134 | + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 | ||
| 135 | + stripped="$stripped $arch" | ||
| 136 | + fi | ||
| 137 | + done | ||
| 138 | + if [[ "$stripped" ]]; then | ||
| 139 | + echo "Stripped $binary of architectures:$stripped" | ||
| 140 | + fi | ||
| 141 | + STRIP_BINARY_RETVAL=1 | ||
| 142 | +} | ||
| 143 | + | ||
| 144 | +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then | ||
| 145 | + wait | ||
| 146 | +fi |
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Tests/Pods-CNLiveBaseTools_Tests-resources.sh
0 → 100755
| 1 | +#!/bin/sh | ||
| 2 | +set -e | ||
| 3 | +set -u | ||
| 4 | +set -o pipefail | ||
| 5 | + | ||
| 6 | +if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then | ||
| 7 | + # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy | ||
| 8 | + # resources to, so exit 0 (signalling the script phase was successful). | ||
| 9 | + exit 0 | ||
| 10 | +fi | ||
| 11 | + | ||
| 12 | +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" | ||
| 13 | + | ||
| 14 | +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt | ||
| 15 | +> "$RESOURCES_TO_COPY" | ||
| 16 | + | ||
| 17 | +XCASSET_FILES=() | ||
| 18 | + | ||
| 19 | +# This protects against multiple targets copying the same framework dependency at the same time. The solution | ||
| 20 | +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html | ||
| 21 | +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") | ||
| 22 | + | ||
| 23 | +case "${TARGETED_DEVICE_FAMILY:-}" in | ||
| 24 | + 1,2) | ||
| 25 | + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" | ||
| 26 | + ;; | ||
| 27 | + 1) | ||
| 28 | + TARGET_DEVICE_ARGS="--target-device iphone" | ||
| 29 | + ;; | ||
| 30 | + 2) | ||
| 31 | + TARGET_DEVICE_ARGS="--target-device ipad" | ||
| 32 | + ;; | ||
| 33 | + 3) | ||
| 34 | + TARGET_DEVICE_ARGS="--target-device tv" | ||
| 35 | + ;; | ||
| 36 | + 4) | ||
| 37 | + TARGET_DEVICE_ARGS="--target-device watch" | ||
| 38 | + ;; | ||
| 39 | + *) | ||
| 40 | + TARGET_DEVICE_ARGS="--target-device mac" | ||
| 41 | + ;; | ||
| 42 | +esac | ||
| 43 | + | ||
| 44 | +install_resource() | ||
| 45 | +{ | ||
| 46 | + if [[ "$1" = /* ]] ; then | ||
| 47 | + RESOURCE_PATH="$1" | ||
| 48 | + else | ||
| 49 | + RESOURCE_PATH="${PODS_ROOT}/$1" | ||
| 50 | + fi | ||
| 51 | + if [[ ! -e "$RESOURCE_PATH" ]] ; then | ||
| 52 | + cat << EOM | ||
| 53 | +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. | ||
| 54 | +EOM | ||
| 55 | + exit 1 | ||
| 56 | + fi | ||
| 57 | + case $RESOURCE_PATH in | ||
| 58 | + *.storyboard) | ||
| 59 | + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true | ||
| 60 | + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} | ||
| 61 | + ;; | ||
| 62 | + *.xib) | ||
| 63 | + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true | ||
| 64 | + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} | ||
| 65 | + ;; | ||
| 66 | + *.framework) | ||
| 67 | + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true | ||
| 68 | + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" | ||
| 69 | + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true | ||
| 70 | + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" | ||
| 71 | + ;; | ||
| 72 | + *.xcdatamodel) | ||
| 73 | + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true | ||
| 74 | + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" | ||
| 75 | + ;; | ||
| 76 | + *.xcdatamodeld) | ||
| 77 | + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true | ||
| 78 | + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" | ||
| 79 | + ;; | ||
| 80 | + *.xcmappingmodel) | ||
| 81 | + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true | ||
| 82 | + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" | ||
| 83 | + ;; | ||
| 84 | + *.xcassets) | ||
| 85 | + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" | ||
| 86 | + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") | ||
| 87 | + ;; | ||
| 88 | + *) | ||
| 89 | + echo "$RESOURCE_PATH" || true | ||
| 90 | + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" | ||
| 91 | + ;; | ||
| 92 | + esac | ||
| 93 | +} | ||
| 94 | + | ||
| 95 | +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" | ||
| 96 | +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" | ||
| 97 | +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then | ||
| 98 | + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" | ||
| 99 | + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" | ||
| 100 | +fi | ||
| 101 | +rm -f "$RESOURCES_TO_COPY" | ||
| 102 | + | ||
| 103 | +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] | ||
| 104 | +then | ||
| 105 | + # Find all other xcassets (this unfortunately includes those of path pods and other targets). | ||
| 106 | + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) | ||
| 107 | + while read line; do | ||
| 108 | + if [[ $line != "${PODS_ROOT}*" ]]; then | ||
| 109 | + XCASSET_FILES+=("$line") | ||
| 110 | + fi | ||
| 111 | + done <<<"$OTHER_XCASSETS" | ||
| 112 | + | ||
| 113 | + if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then | ||
| 114 | + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" | ||
| 115 | + else | ||
| 116 | + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" | ||
| 117 | + fi | ||
| 118 | +fi |
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Tests/Pods-CNLiveBaseTools_Tests-umbrella.h
0 → 100644
| 1 | +#ifdef __OBJC__ | ||
| 2 | +#import <UIKit/UIKit.h> | ||
| 3 | +#else | ||
| 4 | +#ifndef FOUNDATION_EXPORT | ||
| 5 | +#if defined(__cplusplus) | ||
| 6 | +#define FOUNDATION_EXPORT extern "C" | ||
| 7 | +#else | ||
| 8 | +#define FOUNDATION_EXPORT extern | ||
| 9 | +#endif | ||
| 10 | +#endif | ||
| 11 | +#endif | ||
| 12 | + | ||
| 13 | + | ||
| 14 | +FOUNDATION_EXPORT double Pods_CNLiveBaseTools_TestsVersionNumber; | ||
| 15 | +FOUNDATION_EXPORT const unsigned char Pods_CNLiveBaseTools_TestsVersionString[]; | ||
| 16 | + |
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Tests/Pods-CNLiveBaseTools_Tests.debug.xcconfig
0 → 100644
| 1 | +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveBaseTools" | ||
| 2 | +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 | ||
| 3 | +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' | ||
| 4 | +OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveBaseTools/CNLiveBaseTools.framework/Headers" | ||
| 5 | +PODS_BUILD_DIR = ${BUILD_DIR} | ||
| 6 | +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) | ||
| 7 | +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. | ||
| 8 | +PODS_ROOT = ${SRCROOT}/Pods |
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Tests/Pods-CNLiveBaseTools_Tests.modulemap
0 → 100644
Example/Pods/Target Support Files/Pods-CNLiveBaseTools_Tests/Pods-CNLiveBaseTools_Tests.release.xcconfig
0 → 100644
| 1 | +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveBaseTools" | ||
| 2 | +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 | ||
| 3 | +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' | ||
| 4 | +OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveBaseTools/CNLiveBaseTools.framework/Headers" | ||
| 5 | +PODS_BUILD_DIR = ${BUILD_DIR} | ||
| 6 | +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) | ||
| 7 | +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. | ||
| 8 | +PODS_ROOT = ${SRCROOT}/Pods |
Example/Tests/Tests-Info.plist
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | +<plist version="1.0"> | ||
| 4 | +<dict> | ||
| 5 | + <key>CFBundleDevelopmentRegion</key> | ||
| 6 | + <string>en</string> | ||
| 7 | + <key>CFBundleExecutable</key> | ||
| 8 | + <string>${EXECUTABLE_NAME}</string> | ||
| 9 | + <key>CFBundleIdentifier</key> | ||
| 10 | + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
| 11 | + <key>CFBundleInfoDictionaryVersion</key> | ||
| 12 | + <string>6.0</string> | ||
| 13 | + <key>CFBundlePackageType</key> | ||
| 14 | + <string>BNDL</string> | ||
| 15 | + <key>CFBundleShortVersionString</key> | ||
| 16 | + <string>1.0</string> | ||
| 17 | + <key>CFBundleSignature</key> | ||
| 18 | + <string>????</string> | ||
| 19 | + <key>CFBundleVersion</key> | ||
| 20 | + <string>1</string> | ||
| 21 | +</dict> | ||
| 22 | +</plist> |
Example/Tests/Tests-Prefix.pch
0 → 100644
Example/Tests/Tests.m
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveBaseToolsTests.m | ||
| 3 | +// CNLiveBaseToolsTests | ||
| 4 | +// | ||
| 5 | +// Created by 殷巧娟 on 01/18/2019. | ||
| 6 | +// Copyright (c) 2019 殷巧娟. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +@import XCTest; | ||
| 10 | + | ||
| 11 | +@interface Tests : XCTestCase | ||
| 12 | + | ||
| 13 | +@end | ||
| 14 | + | ||
| 15 | +@implementation Tests | ||
| 16 | + | ||
| 17 | +- (void)setUp | ||
| 18 | +{ | ||
| 19 | + [super setUp]; | ||
| 20 | + // Put setup code here. This method is called before the invocation of each test method in the class. | ||
| 21 | +} | ||
| 22 | + | ||
| 23 | +- (void)tearDown | ||
| 24 | +{ | ||
| 25 | + // Put teardown code here. This method is called after the invocation of each test method in the class. | ||
| 26 | + [super tearDown]; | ||
| 27 | +} | ||
| 28 | + | ||
| 29 | +- (void)testExample | ||
| 30 | +{ | ||
| 31 | + XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); | ||
| 32 | +} | ||
| 33 | + | ||
| 34 | +@end | ||
| 35 | + |
Example/Tests/en.lproj/InfoPlist.strings
0 → 100644
LICENSE
0 → 100644
| 1 | +Copyright (c) 2019 殷巧娟 <1427945373@qq.com> | ||
| 2 | + | ||
| 3 | +Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| 4 | +of this software and associated documentation files (the "Software"), to deal | ||
| 5 | +in the Software without restriction, including without limitation the rights | ||
| 6 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| 7 | +copies of the Software, and to permit persons to whom the Software is | ||
| 8 | +furnished to do so, subject to the following conditions: | ||
| 9 | + | ||
| 10 | +The above copyright notice and this permission notice shall be included in | ||
| 11 | +all copies or substantial portions of the Software. | ||
| 12 | + | ||
| 13 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 14 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| 15 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| 16 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| 17 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| 18 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
| 19 | +THE SOFTWARE. |
README.md
| 1 | -基本工具库,时间,声音等工具 | ||
| 2 | \ No newline at end of file | 1 | \ No newline at end of file |
| 2 | +# CNLiveBaseTools | ||
| 3 | + | ||
| 4 | +[](https://travis-ci.org/殷巧娟/CNLiveBaseTools) | ||
| 5 | +[](https://cocoapods.org/pods/CNLiveBaseTools) | ||
| 6 | +[](https://cocoapods.org/pods/CNLiveBaseTools) | ||
| 7 | +[](https://cocoapods.org/pods/CNLiveBaseTools) | ||
| 8 | + | ||
| 9 | +## Example | ||
| 10 | + | ||
| 11 | +To run the example project, clone the repo, and run `pod install` from the Example directory first. | ||
| 12 | + | ||
| 13 | +## Requirements | ||
| 14 | + | ||
| 15 | +## Installation | ||
| 16 | + | ||
| 17 | +CNLiveBaseTools is available through [CocoaPods](https://cocoapods.org). To install | ||
| 18 | +it, simply add the following line to your Podfile: | ||
| 19 | + | ||
| 20 | +```ruby | ||
| 21 | +pod 'CNLiveBaseTools' | ||
| 22 | +``` | ||
| 23 | + | ||
| 24 | +## Author | ||
| 25 | + | ||
| 26 | +殷巧娟, 1427945373@qq.com | ||
| 27 | + | ||
| 28 | +## License | ||
| 29 | + | ||
| 30 | +CNLiveBaseTools is available under the MIT license. See the LICENSE file for more info. |
_Pods.xcodeproj
0 → 120000