Skip to content

Commit 8bf6895

Browse files
committed
Ignoring xcode junk
1 parent d4930ab commit 8bf6895

File tree

12 files changed

+201
-272
lines changed

12 files changed

+201
-272
lines changed

.gitignore

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
11
node_modules
22
.DS_Store
33
npm-debug.log
4+
node_modules
5+
npm-debug.log
6+
*.DS_Store
7+
8+
# Xcode
9+
*.pbxuser
10+
*.mode1v3
11+
*.mode2v3
12+
*.perspectivev3
13+
*.xcuserstate
14+
project.xcworkspace/
15+
xcuserdata/
16+

ios/Build-Debug.xcconfig

-16
This file was deleted.

ios/OAuthManager-Bridging-Header.h

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
#ifndef OAuthManager_Bridging_Header_h
1010
#define OAuthManager_Bridging_Header_h
1111

12+
#import "OAuthSwift-Swift.h"
13+
1214
#import "RCTBridgeModule.h"
15+
#import "RCTLinkingManager.h"
1316

1417
#endif /* OAuthManager_Bridging_Header_h */

ios/OAuthManager.podspec

-138
This file was deleted.

ios/OAuthManager.xcodeproj/project.pbxproj

+41-24
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
13BE3DEE1AC21097009241FE /* OAuthManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 13BE3DED1AC21097009241FE /* OAuthManager.m */; };
11-
252162DE67427523272C170D /* Pods_OAuthManager.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E231954F0906492EED21005A /* Pods_OAuthManager.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
10+
77A0D446E94AED73302D360E /* Pods_OAuthManager.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E623702E9777DB3EE760209 /* Pods_OAuthManager.framework */; };
1211
D90285E61D1CFF94006B2E5B /* OAuthSwift.framework in Copy Files */ = {isa = PBXBuildFile; fileRef = D991AB7D1D1B237400DE9E58 /* OAuthSwift.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
12+
D935004D1D513CF700C7BA47 /* OAuthManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D935004C1D513CF700C7BA47 /* OAuthManager.m */; };
13+
D99D33651D4B29D800214DA9 /* Pods_OAuthManager.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D991AB7F1D1B237400DE9E58 /* Pods_OAuthManager.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
1314
/* End PBXBuildFile section */
1415

1516
/* Begin PBXContainerItemProxy section */
@@ -47,8 +48,8 @@
4748
58B511D91A9E6C8500147676 /* Copy Files */ = {
4849
isa = PBXCopyFilesBuildPhase;
4950
buildActionMask = 12;
50-
dstPath = "@loader_path/..";
51-
dstSubfolderSpec = 11;
51+
dstPath = "";
52+
dstSubfolderSpec = 10;
5253
files = (
5354
D90285E61D1CFF94006B2E5B /* OAuthSwift.framework in Copy Files */,
5455
);
@@ -58,23 +59,24 @@
5859
/* End PBXCopyFilesBuildPhase section */
5960

6061
/* Begin PBXFileReference section */
62+
0700FAA689C187FECECA6056 /* Pods-OAuthManager.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OAuthManager.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OAuthManager/Pods-OAuthManager.debug.xcconfig"; sourceTree = "<group>"; };
6163
134814201AA4EA6300B7C361 /* libOAuthManager.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libOAuthManager.a; sourceTree = BUILT_PRODUCTS_DIR; };
62-
13BE3DEC1AC21097009241FE /* OAuthManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OAuthManager.h; sourceTree = "<group>"; };
63-
13BE3DED1AC21097009241FE /* OAuthManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OAuthManager.m; sourceTree = "<group>"; };
64-
98908608E773A354AA4AE920 /* Pods-OAuthManager.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OAuthManager.release.xcconfig"; path = "Pods/Target Support Files/Pods-OAuthManager/Pods-OAuthManager.release.xcconfig"; sourceTree = "<group>"; };
65-
D3353820DF4005D16A481F41 /* Pods-OAuthManager.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OAuthManager.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OAuthManager/Pods-OAuthManager.debug.xcconfig"; sourceTree = "<group>"; };
64+
3E623702E9777DB3EE760209 /* Pods_OAuthManager.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OAuthManager.framework; sourceTree = BUILT_PRODUCTS_DIR; };
65+
D215CDC31F4E30597C4E0769 /* Pods-OAuthManager.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OAuthManager.release.xcconfig"; path = "Pods/Target Support Files/Pods-OAuthManager/Pods-OAuthManager.release.xcconfig"; sourceTree = "<group>"; };
66+
D935004B1D513CF700C7BA47 /* OAuthManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = OAuthManager.h; path = OAuthManager/OAuthManager.h; sourceTree = "<group>"; };
67+
D935004C1D513CF700C7BA47 /* OAuthManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = OAuthManager.m; path = OAuthManager/OAuthManager.m; sourceTree = "<group>"; };
6668
D991AB581D1B22F600DE9E58 /* OAuthManager-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "OAuthManager-Bridging-Header.h"; sourceTree = "<group>"; };
6769
D991AB771D1B237400DE9E58 /* Pods.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Pods.xcodeproj; path = Pods/Pods.xcodeproj; sourceTree = "<group>"; };
68-
D99D32F51D4ADAEA00214DA9 /* Build-Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "Build-Debug.xcconfig"; sourceTree = "<group>"; };
69-
E231954F0906492EED21005A /* Pods_OAuthManager.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OAuthManager.framework; sourceTree = BUILT_PRODUCTS_DIR; };
70+
D9C9A1131D4FF5B8000E28EB /* buildScript.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = buildScript.sh; sourceTree = "<group>"; };
7071
/* End PBXFileReference section */
7172

7273
/* Begin PBXFrameworksBuildPhase section */
7374
58B511D81A9E6C8500147676 /* Frameworks */ = {
7475
isa = PBXFrameworksBuildPhase;
7576
buildActionMask = 2147483647;
7677
files = (
77-
252162DE67427523272C170D /* Pods_OAuthManager.framework in Frameworks */,
78+
D99D33651D4B29D800214DA9 /* Pods_OAuthManager.framework in Frameworks */,
79+
77A0D446E94AED73302D360E /* Pods_OAuthManager.framework in Frameworks */,
7880
);
7981
runOnlyForDeploymentPostprocessing = 0;
8082
};
@@ -92,30 +94,30 @@
9294
58B511D21A9E6C8500147676 = {
9395
isa = PBXGroup;
9496
children = (
95-
D99D32F51D4ADAEA00214DA9 /* Build-Debug.xcconfig */,
97+
D935004B1D513CF700C7BA47 /* OAuthManager.h */,
98+
D935004C1D513CF700C7BA47 /* OAuthManager.m */,
99+
D9C9A1131D4FF5B8000E28EB /* buildScript.sh */,
96100
D991AB581D1B22F600DE9E58 /* OAuthManager-Bridging-Header.h */,
97-
13BE3DEC1AC21097009241FE /* OAuthManager.h */,
98-
13BE3DED1AC21097009241FE /* OAuthManager.m */,
99101
134814211AA4EA7D00B7C361 /* Products */,
100-
65F8B1AA93F9A614A6765B15 /* Pods */,
101102
5C09677432A19AC1FB642CAC /* Frameworks */,
103+
D319B6E297D13D8F82E619BA /* Pods */,
102104
);
103105
sourceTree = "<group>";
104106
};
105107
5C09677432A19AC1FB642CAC /* Frameworks */ = {
106108
isa = PBXGroup;
107109
children = (
108110
D991AB771D1B237400DE9E58 /* Pods.xcodeproj */,
109-
E231954F0906492EED21005A /* Pods_OAuthManager.framework */,
111+
3E623702E9777DB3EE760209 /* Pods_OAuthManager.framework */,
110112
);
111113
name = Frameworks;
112114
sourceTree = "<group>";
113115
};
114-
65F8B1AA93F9A614A6765B15 /* Pods */ = {
116+
D319B6E297D13D8F82E619BA /* Pods */ = {
115117
isa = PBXGroup;
116118
children = (
117-
D3353820DF4005D16A481F41 /* Pods-OAuthManager.debug.xcconfig */,
118-
98908608E773A354AA4AE920 /* Pods-OAuthManager.release.xcconfig */,
119+
0700FAA689C187FECECA6056 /* Pods-OAuthManager.debug.xcconfig */,
120+
D215CDC31F4E30597C4E0769 /* Pods-OAuthManager.release.xcconfig */,
119121
);
120122
name = Pods;
121123
sourceTree = "<group>";
@@ -141,6 +143,7 @@
141143
58B511D81A9E6C8500147676 /* Frameworks */,
142144
58B511D91A9E6C8500147676 /* Copy Files */,
143145
EB72A852C578F8D024FEC67D /* [CP] Copy Pods Resources */,
146+
D9C9A1161D4FF62E000E28EB /* Copy frameworks */,
144147
);
145148
buildRules = (
146149
);
@@ -223,6 +226,20 @@
223226
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
224227
showEnvVarsInLog = 0;
225228
};
229+
D9C9A1161D4FF62E000E28EB /* Copy frameworks */ = {
230+
isa = PBXShellScriptBuildPhase;
231+
buildActionMask = 2147483647;
232+
files = (
233+
);
234+
inputPaths = (
235+
);
236+
name = "Copy frameworks";
237+
outputPaths = (
238+
);
239+
runOnlyForDeploymentPostprocessing = 0;
240+
shellPath = /bin/sh;
241+
shellScript = ./buildScript.sh;
242+
};
226243
EB72A852C578F8D024FEC67D /* [CP] Copy Pods Resources */ = {
227244
isa = PBXShellScriptBuildPhase;
228245
buildActionMask = 2147483647;
@@ -245,7 +262,7 @@
245262
isa = PBXSourcesBuildPhase;
246263
buildActionMask = 2147483647;
247264
files = (
248-
13BE3DEE1AC21097009241FE /* OAuthManager.m in Sources */,
265+
D935004D1D513CF700C7BA47 /* OAuthManager.m in Sources */,
249266
);
250267
runOnlyForDeploymentPostprocessing = 0;
251268
};
@@ -306,7 +323,7 @@
306323
"$(SRCROOT)/../../node_modules/react-native/React/**",
307324
"$(SRCROOT)/../../react-native/React/**",
308325
);
309-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
326+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
310327
MTL_ENABLE_DEBUG_INFO = YES;
311328
ONLY_ACTIVE_ARCH = YES;
312329
OTHER_LDFLAGS = (
@@ -352,7 +369,7 @@
352369
"$(SRCROOT)/../../node_modules/react-native/React/**",
353370
"$(SRCROOT)/../../react-native/React/**",
354371
);
355-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
372+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
356373
MTL_ENABLE_DEBUG_INFO = NO;
357374
OTHER_LDFLAGS = (
358375
"$(inherited)",
@@ -366,7 +383,7 @@
366383
};
367384
58B511F01A9E6C8500147676 /* Debug */ = {
368385
isa = XCBuildConfiguration;
369-
baseConfigurationReference = D99D32F51D4ADAEA00214DA9 /* Build-Debug.xcconfig */;
386+
baseConfigurationReference = 0700FAA689C187FECECA6056 /* Pods-OAuthManager.debug.xcconfig */;
370387
buildSettings = {
371388
DYLIB_INSTALL_NAME_BASE = "";
372389
ENABLE_BITCODE = NO;
@@ -392,7 +409,7 @@
392409
};
393410
58B511F11A9E6C8500147676 /* Release */ = {
394411
isa = XCBuildConfiguration;
395-
baseConfigurationReference = 98908608E773A354AA4AE920 /* Pods-OAuthManager.release.xcconfig */;
412+
baseConfigurationReference = D215CDC31F4E30597C4E0769 /* Pods-OAuthManager.release.xcconfig */;
396413
buildSettings = {
397414
DYLIB_INSTALL_NAME_BASE = "";
398415
ENABLE_BITCODE = NO;

ios/OAuthManager.h renamed to ios/OAuthManager/OAuthManager.h

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#import <Foundation/Foundation.h>
99
#import "OAuthSwift-Swift.h"
10+
1011
#import "RCTBridgeModule.h"
1112
#import "RCTLinkingManager.h"
1213

ios/OAuthManager.m renamed to ios/OAuthManager/OAuthManager.m

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
// Copyright © 2016 Facebook. All rights reserved.
77
//
88

9+
#import "OAuthSwift-Swift.h"
910
#import "OAuthManager.h"
1011

11-
//@import OAuthSwift;
12+
@import OAuthSwift;
1213

1314
typedef NSMutableDictionary *(^CustomSuccessHandler)(OAuthSwiftCredential *, NSURLResponse *, NSDictionary *, NSMutableDictionary*);
1415
typedef void (^OAuthHandler)(OAuthSwiftCredential *, NSURLResponse *, NSDictionary *);

0 commit comments

Comments
 (0)