Skip to content

Commit 3cbfc7e

Browse files
author
karisli
committed
# 5.6.3
-bugfix
1 parent 818f688 commit 3cbfc7e

File tree

12 files changed

+18
-52
lines changed

12 files changed

+18
-52
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
1+
# 5.6.3
2+
-bugfix
3+
24
# 5.6.2
35
- 预签名url带有中文bugfix / - 跨区域复制bugfix / - 修复开启cocoapods的mutiple_pod_project功能之后编译报错
46

QCloudCOSXML.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = "QCloudCOSXML"
33

4-
s.version = "5.6.2"
4+
s.version = "5.6.3"
55

66
s.summary = "QCloudCOSXML 腾讯云iOS-SDK组件"
77

@@ -12,14 +12,14 @@ s.version = "5.6.2"
1212
s.ios.deployment_target = '8.0'
1313
s.source_files = 'QCloudCOSXML/Classes/**/*'
1414

15-
s.dependency "QCloudCore",'5.6.2'
15+
s.dependency "QCloudCore",'5.6.3'
1616

1717
s.static_framework = true
1818

1919
s.subspec 'Transfer' do |sbt|
2020
sbt.source_files = 'QCloudCOSXML/Classes/*','QCloudCOSXML/Classes/Transfer/**/*','QCloudCOSXML/Classes/Base/*'
2121

22-
sbt.dependency "QCloudCore",'5.6.2'
22+
sbt.dependency "QCloudCore",'5.6.3'
2323

2424
# sbt.static_framework=true
2525
end

QCloudCOSXML/Classes/Base/QCloudCOSXMLService+Quality.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
#import <objc/runtime.h>
1010

1111

12-
13-
1412
#import <QCloudCore/QCloudCore.h>
1513
#import <QCloudCore/QCloudLogger.h>
1614
#import "QCloudCOSXMLVersion.h"

QCloudCOSXML/Classes/Base/QualityDataUploader.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
#import "QualityDataUploader.h"
99
#import <QCloudCore/QCloudLogger.h>
10-
1110
#import <QCloudCore/NSError+QCloudNetworking.h>
1211
#import <QCloudCore/MTA.h>
1312
#import <QCloudCore/MTA+Account.h>

QCloudCOSXML/Classes/QCloudCOSXMLVersion.h

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,15 @@
66

77
#ifndef QCloudCOSXMLModuleVersion_h
88
#define QCloudCOSXMLModuleVersion_h
9-
10-
#define QCloudCOSXMLModuleVersionNumber 506002
9+
#define QCloudCOSXMLModuleVersionNumber 506003
1110

1211
//dependency
13-
#if QCloudCoreModuleVersionNumber != 506002
14-
#error "库QCloudCOSXML依赖QCloudCore最小版本号为5.6.2,当前引入的QCloudCore版本号过低,请及时升级后使用"
15-
12+
#if QCloudCoreModuleVersionNumber != 506003
13+
#error "库QCloudCOSXML依赖QCloudCore最小版本号为5.6.3,当前引入的QCloudCore版本号过低,请及时升级后使用"
1614
#endif
1715

1816
//
1917
FOUNDATION_EXTERN NSString * const QCloudCOSXMLModuleVersion;
2018
FOUNDATION_EXTERN NSString * const QCloudCOSXMLModuleName;
2119

22-
#endif
20+
#endif

QCloudCOSXML/Classes/QCloudCOSXMLVersion.m

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#import "QCloudCOSXMLVersion.h"
2-
3-
NSString * const QCloudCOSXMLModuleVersion = @"5.6.2";
4-
2+
NSString * const QCloudCOSXMLModuleVersion = @"5.6.3";
53
NSString * const QCloudCOSXMLModuleName = @"QCloudCOSXML";
64
@interface QCloudQCloudCOSXMLLoad : NSObject
75
@end
@@ -28,4 +26,4 @@ + (void) load
2826
#pragma clang diagnostic pop
2927
}
3028
}
31-
@end
29+
@end

QCloudCOSXML/Classes/Transfer/request/QCloudCOSXMLUploadObjectRequest.m

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -174,31 +174,9 @@ - (void) continueMultiUpload:(QCloudListPartsResult*)existParts
174174
//开始分片
175175
[self uploadOffsetBodys:[self getFileLocalUploadParts]];
176176
}
177-
178-
}
179-
180-
for (i = 0; i<existParts.count; i++) {
181-
QCloudMultipartUploadPart *part1 = existParts[i];
182-
QCloudMultipartInfo* info1 = [QCloudMultipartInfo new];
183-
info1.eTag = part1.eTag;
184-
info1.partNumber = part1.partNumber;
185-
uploadedSize+=part1.size;
186-
[_uploadParts addObject:info1];
187-
if (i == existParts.count-1) {
188-
break;
189-
}
190-
QCloudMultipartUploadPart *part2 = existParts[i+1];
191-
if (([part1.partNumber integerValue]+1)!= [part2.partNumber integerValue]) {
192-
break;
193-
}
194-
195177
}
196-
startPartNumber = _uploadParts.count;
197-
198-
QCloudLogDebug(@"resume startPartNumber = offset = %ld %ld",startPartNumber,uploadedSize);
199178
}
200179

201-
202180
-(void)getContinueInfo:(NSArray *)existParts{
203181
_uploadParts = [NSMutableArray new];
204182
int i=1;
@@ -232,7 +210,6 @@ -(void)getContinueInfo:(NSArray *)existParts{
232210
}
233211

234212

235-
236213
- (void) resumeUpload
237214
{
238215
QCloudListMultipartRequest* request = [QCloudListMultipartRequest new];
@@ -779,4 +756,5 @@ -(BOOL)shouldRetry:(NSURLSessionTask *)task error:(NSError *)error{
779756
}
780757
return YES;
781758
}
759+
782760
@end

QCloudCore.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Pod::Spec.new do |s|
1010
s.name = "QCloudCore"
1111

12-
s.version = "5.6.2"
12+
s.version = "5.6.3"
1313

1414
s.summary = "QCloudCore--腾讯云iOS-SDK Foundation"
1515

QCloudCore/Classes/QCloudCore.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// Created by Dong Zhao on 2017/3/29.
66
//
77
//
8-
98
#ifndef QCloudCore_h
109
#define QCloudCore_h
1110

QCloudCore/Classes/QCloudCoreVersion.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@
55

66
#ifndef QCloudCoreModuleVersion_h
77
#define QCloudCoreModuleVersion_h
8-
9-
#define QCloudCoreModuleVersionNumber 506002
10-
8+
#define QCloudCoreModuleVersionNumber 506003
119

1210
//dependency
1311

1412
//
1513
FOUNDATION_EXTERN NSString * const QCloudCoreModuleVersion;
1614
FOUNDATION_EXTERN NSString * const QCloudCoreModuleName;
1715

18-
#endif
16+
#endif

0 commit comments

Comments
 (0)