Skip to content

Commit a69bf55

Browse files
author
garenwang
committed
Revert "# 5.7.8"
This reverts commit 7762ce3.
1 parent 7762ce3 commit a69bf55

File tree

55 files changed

+1180
-1935
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1180
-1935
lines changed

QCloudCOSXML.podspec

Lines changed: 4 additions & 4 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.7.8"
4+
s.version = "5.7.7"
55

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

@@ -17,15 +17,15 @@ s.version = "5.7.8"
1717
s.default_subspec = 'Default'
1818
s.subspec 'Default' do |default|
1919
default.source_files = 'QCloudCOSXML/Classes/**/*','Models/request.model','QCloudCOSXML/Classes/QCloudCOSXML/*'
20-
default.dependency "QCloudCore",'5.7.8'
20+
default.dependency "QCloudCore",'5.7.7'
2121
end
2222
s.subspec 'Slim' do |slim|
2323
slim.source_files = 'QCloudCOSXML/Classes/**/*','Models/request.model','QCloudCOSXML/Classes/QCloudCOSXML/*'
24-
slim.dependency "QCloudCore/WithoutMTA",'5.7.8'
24+
slim.dependency "QCloudCore/WithoutMTA",'5.7.7'
2525
end
2626
s.subspec 'Transfer' do |transfer|
2727
transfer.source_files = 'QCloudCOSXML/Classes/*','QCloudCOSXML/Classes/Transfer/**/*','QCloudCOSXML/Classes/Base/*'
28-
transfer.dependency "QCloudCore/WithoutMTA",'5.7.8'
28+
transfer.dependency "QCloudCore/WithoutMTA",'5.7.7'
2929
end
3030

3131
end

QCloudCOSXML/Classes/Base/QCloudCOSXMLService.m

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ + (QCloudCOSXMLService*) defaultCOSXML
5858
+ (QCloudCOSXMLService*) registerDefaultCOSXMLWithConfiguration:(QCloudServiceConfiguration*)configuration
5959
{
6060
@synchronized (self) {
61-
if (COSXMLService) {
62-
@throw [NSException exceptionWithName:QCloudErrorDomain reason:[NSString stringWithFormat:@"默认的COSXMLService已存在,如有新的配置,请通过 registerCOSXMLWithConfiguration:withKey:重新注册"] userInfo:nil];
63-
}
6461
COSXMLService = [[QCloudCOSXMLService alloc] initWithConfiguration:configuration];
6562
if (!configuration.isCloseShareLog) {
6663
#if TARGET_OS_IOS
@@ -87,9 +84,6 @@ + (void) removeCOSXMLWithKey:(NSString*) key {
8784

8885
+ (QCloudCOSXMLService*) registerCOSXMLWithConfiguration:(QCloudServiceConfiguration*)configuration withKey:(NSString*)key;
8986
{
90-
if ([self hasServiceForKey:key]) {
91-
@throw [NSException exceptionWithName:QCloudErrorDomain reason:[NSString stringWithFormat:@"key: %@ COSXMLService已存在,如有新的配置,请通过 registerCOSXMLWithConfiguration:withKey:重新注册",key] userInfo:nil];
92-
}
9387
QCloudCOSXMLService* cosxmlService =[[QCloudCOSXMLService alloc] initWithConfiguration:configuration];
9488
[QCloudCOSXMLServiceCache() setObject:cosxmlService forKey:key];
9589
return cosxmlService;

0 commit comments

Comments
 (0)