Browse Source

Fix IOS project settings

Ben Hsieh 8 years ago
parent
commit
2d9f5ea3ef

+ 1
- 1
src/ios/RNFetchBlob.xcodeproj/project.pbxproj View File

112
 			isa = PBXProject;
112
 			isa = PBXProject;
113
 			attributes = {
113
 			attributes = {
114
 				LastUpgradeCheck = 730;
114
 				LastUpgradeCheck = 730;
115
-				ORGANIZATIONNAME = suzuri04x2;
115
+				ORGANIZATIONNAME = wkh237.github.io;
116
 				TargetAttributes = {
116
 				TargetAttributes = {
117
 					A15C300D1CD25C330074CB35 = {
117
 					A15C300D1CD25C330074CB35 = {
118
 						CreatedOnToolsVersion = 7.3;
118
 						CreatedOnToolsVersion = 7.3;

+ 0
- 1
src/ios/RNFetchBlob/RNFetchBlob.m View File

5
 //
5
 //
6
 
6
 
7
 #import "RNFetchBlob.h"
7
 #import "RNFetchBlob.h"
8
-#import "RCTConvert.h"
9
 #import "RCTLog.h"
8
 #import "RCTLog.h"
10
 #import "RCTBridge.h"
9
 #import "RCTBridge.h"
11
 #import "RCTEventDispatcher.h"
10
 #import "RCTEventDispatcher.h"

+ 1
- 3
src/ios/RNFetchBlobFS.m View File

7
 //
7
 //
8
 
8
 
9
 
9
 
10
-#import "RCTConvert.h"
11
-#import "RCTLog.h"
12
 #import <Foundation/Foundation.h>
10
 #import <Foundation/Foundation.h>
13
 #import "RCTBridge.h"
11
 #import "RCTBridge.h"
14
 #import "RCTEventDispatcher.h"
12
 #import "RCTEventDispatcher.h"
366
             {
364
             {
367
                 BOOL exists = [[NSFileManager defaultManager] fileExistsAtPath:path];
365
                 BOOL exists = [[NSFileManager defaultManager] fileExistsAtPath:path];
368
                 if(!exists) {
366
                 if(!exists) {
369
-                    reject(@"RNFetchBlobFS readFile error", @"file not exists", path);
367
+                    reject(@"RNFetchBlobFS readFile error", @"file not exists", nil);
370
                     return;
368
                     return;
371
                 }
369
                 }
372
                 fileContent = [NSData dataWithContentsOfFile:path];
370
                 fileContent = [NSData dataWithContentsOfFile:path];

+ 0
- 1
src/ios/RNFetchBlobNetwork.m View File

6
 //  Copyright © 2016 wkh237. All rights reserved.
6
 //  Copyright © 2016 wkh237. All rights reserved.
7
 //
7
 //
8
 
8
 
9
-#import "RCTConvert.h"
10
 #import "RCTLog.h"
9
 #import "RCTLog.h"
11
 #import <Foundation/Foundation.h>
10
 #import <Foundation/Foundation.h>
12
 #import "RCTBridge.h"
11
 #import "RCTBridge.h"