Browse Source

add AgoraRtcCryptoLoader

matrixbirds 5 years ago
parent
commit
8152ced9b1

+ 32
- 6
ios/RCTAgora.xcodeproj/project.pbxproj View File

7
 	objects = {
7
 	objects = {
8
 
8
 
9
 /* Begin PBXBuildFile section */
9
 /* Begin PBXBuildFile section */
10
+		085CF7D72204A7B7002075D5 /* AgoraRtcCryptoLoader.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 085CF7D52204A7B7002075D5 /* AgoraRtcCryptoLoader.framework */; };
11
+		085CF7D82204A7B7002075D5 /* libcrypto.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 085CF7D62204A7B7002075D5 /* libcrypto.a */; };
10
 		23AF28211EEFECD800D771AB /* RCTAgora.m in Sources */ = {isa = PBXBuildFile; fileRef = 23AF28201EEFECD800D771AB /* RCTAgora.m */; };
12
 		23AF28211EEFECD800D771AB /* RCTAgora.m in Sources */ = {isa = PBXBuildFile; fileRef = 23AF28201EEFECD800D771AB /* RCTAgora.m */; };
11
 		23AF28221EEFECD800D771AB /* RCTAgora.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 23AF281F1EEFECD800D771AB /* RCTAgora.h */; };
13
 		23AF28221EEFECD800D771AB /* RCTAgora.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 23AF281F1EEFECD800D771AB /* RCTAgora.h */; };
12
 		23C20DD11F0A6ED80095F60C /* AgoraConst.m in Sources */ = {isa = PBXBuildFile; fileRef = 23C20DCC1F0A6ED80095F60C /* AgoraConst.m */; };
14
 		23C20DD11F0A6ED80095F60C /* AgoraConst.m in Sources */ = {isa = PBXBuildFile; fileRef = 23C20DCC1F0A6ED80095F60C /* AgoraConst.m */; };
28
 /* End PBXCopyFilesBuildPhase section */
30
 /* End PBXCopyFilesBuildPhase section */
29
 
31
 
30
 /* Begin PBXFileReference section */
32
 /* Begin PBXFileReference section */
31
-		23ACF47C1EF0CF9500801BC7 /* libs */ = {isa = PBXFileReference; lastKnownFileType = folder; path = libs; sourceTree = "<group>"; };
33
+		085CF7D52204A7B7002075D5 /* AgoraRtcCryptoLoader.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = AgoraRtcCryptoLoader.framework; sourceTree = "<group>"; };
34
+		085CF7D62204A7B7002075D5 /* libcrypto.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libcrypto.a; sourceTree = "<group>"; };
32
 		23AF281C1EEFECD800D771AB /* libRCTAgora.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTAgora.a; sourceTree = BUILT_PRODUCTS_DIR; };
35
 		23AF281C1EEFECD800D771AB /* libRCTAgora.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTAgora.a; sourceTree = BUILT_PRODUCTS_DIR; };
33
 		23AF281F1EEFECD800D771AB /* RCTAgora.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTAgora.h; sourceTree = "<group>"; };
36
 		23AF281F1EEFECD800D771AB /* RCTAgora.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTAgora.h; sourceTree = "<group>"; };
34
 		23AF28201EEFECD800D771AB /* RCTAgora.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTAgora.m; sourceTree = "<group>"; };
37
 		23AF28201EEFECD800D771AB /* RCTAgora.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTAgora.m; sourceTree = "<group>"; };
45
 			isa = PBXFrameworksBuildPhase;
48
 			isa = PBXFrameworksBuildPhase;
46
 			buildActionMask = 2147483647;
49
 			buildActionMask = 2147483647;
47
 			files = (
50
 			files = (
51
+				085CF7D82204A7B7002075D5 /* libcrypto.a in Frameworks */,
52
+				085CF7D72204A7B7002075D5 /* AgoraRtcCryptoLoader.framework in Frameworks */,
48
 			);
53
 			);
49
 			runOnlyForDeploymentPostprocessing = 0;
54
 			runOnlyForDeploymentPostprocessing = 0;
50
 		};
55
 		};
51
 /* End PBXFrameworksBuildPhase section */
56
 /* End PBXFrameworksBuildPhase section */
52
 
57
 
53
 /* Begin PBXGroup section */
58
 /* Begin PBXGroup section */
59
+		085CF7D42204A787002075D5 /* libs */ = {
60
+			isa = PBXGroup;
61
+			children = (
62
+				085CF7D52204A7B7002075D5 /* AgoraRtcCryptoLoader.framework */,
63
+				085CF7D62204A7B7002075D5 /* libcrypto.a */,
64
+			);
65
+			path = libs;
66
+			sourceTree = "<group>";
67
+		};
54
 		23AF28131EEFECD800D771AB = {
68
 		23AF28131EEFECD800D771AB = {
55
 			isa = PBXGroup;
69
 			isa = PBXGroup;
56
 			children = (
70
 			children = (
70
 		23AF281E1EEFECD800D771AB /* RCTAgora */ = {
84
 		23AF281E1EEFECD800D771AB /* RCTAgora */ = {
71
 			isa = PBXGroup;
85
 			isa = PBXGroup;
72
 			children = (
86
 			children = (
73
-				23ACF47C1EF0CF9500801BC7 /* libs */,
87
+				085CF7D42204A787002075D5 /* libs */,
74
 				23C20DCB1F0A6ED80095F60C /* AgoraConst.h */,
88
 				23C20DCB1F0A6ED80095F60C /* AgoraConst.h */,
75
 				23C20DCC1F0A6ED80095F60C /* AgoraConst.m */,
89
 				23C20DCC1F0A6ED80095F60C /* AgoraConst.m */,
76
 				23C20DCD1F0A6ED80095F60C /* RCTAgoraVideoView.h */,
90
 				23C20DCD1F0A6ED80095F60C /* RCTAgoraVideoView.h */,
248
 			buildSettings = {
262
 			buildSettings = {
249
 				DEVELOPMENT_TEAM = 342K4Q49RK;
263
 				DEVELOPMENT_TEAM = 342K4Q49RK;
250
 				ENABLE_BITCODE = YES;
264
 				ENABLE_BITCODE = YES;
251
-				FRAMEWORK_SEARCH_PATHS = "\"$(SRCROOT)/RCTAgora/libs\"";
265
+				FRAMEWORK_SEARCH_PATHS = (
266
+					"\"$(SRCROOT)/RCTAgora/libs\"",
267
+					"$(PROJECT_DIR)/RCTAgora/libs",
268
+				);
252
 				HEADER_SEARCH_PATHS = (
269
 				HEADER_SEARCH_PATHS = (
253
 					"\"$(SRCROOT)/../../react-native/React\"/**",
270
 					"\"$(SRCROOT)/../../react-native/React\"/**",
254
 					"\"$(SRCROOT)/../../react-native/Libraries\"/**",
271
 					"\"$(SRCROOT)/../../react-native/Libraries\"/**",
255
 				);
272
 				);
256
-				LIBRARY_SEARCH_PATHS = "$(inherited)";
273
+				LIBRARY_SEARCH_PATHS = (
274
+					"$(inherited)",
275
+					"$(PROJECT_DIR)/RCTAgora/libs",
276
+				);
257
 				OTHER_LDFLAGS = "-ObjC";
277
 				OTHER_LDFLAGS = "-ObjC";
258
 				PRODUCT_NAME = "$(TARGET_NAME)";
278
 				PRODUCT_NAME = "$(TARGET_NAME)";
259
 				SKIP_INSTALL = YES;
279
 				SKIP_INSTALL = YES;
265
 			buildSettings = {
285
 			buildSettings = {
266
 				DEVELOPMENT_TEAM = 342K4Q49RK;
286
 				DEVELOPMENT_TEAM = 342K4Q49RK;
267
 				ENABLE_BITCODE = YES;
287
 				ENABLE_BITCODE = YES;
268
-				FRAMEWORK_SEARCH_PATHS = "\"$(SRCROOT)/RCTAgora/libs\"";
288
+				FRAMEWORK_SEARCH_PATHS = (
289
+					"\"$(SRCROOT)/RCTAgora/libs\"",
290
+					"$(PROJECT_DIR)/RCTAgora/libs",
291
+				);
269
 				HEADER_SEARCH_PATHS = (
292
 				HEADER_SEARCH_PATHS = (
270
 					"\"$(SRCROOT)/../../react-native/React\"/**",
293
 					"\"$(SRCROOT)/../../react-native/React\"/**",
271
 					"\"$(SRCROOT)/../../react-native/Libraries\"/**",
294
 					"\"$(SRCROOT)/../../react-native/Libraries\"/**",
272
 				);
295
 				);
273
-				LIBRARY_SEARCH_PATHS = "$(inherited)";
296
+				LIBRARY_SEARCH_PATHS = (
297
+					"$(inherited)",
298
+					"$(PROJECT_DIR)/RCTAgora/libs",
299
+				);
274
 				OTHER_LDFLAGS = "-ObjC";
300
 				OTHER_LDFLAGS = "-ObjC";
275
 				PRODUCT_NAME = "$(TARGET_NAME)";
301
 				PRODUCT_NAME = "$(TARGET_NAME)";
276
 				SKIP_INSTALL = YES;
302
 				SKIP_INSTALL = YES;

BIN
ios/RCTAgora/libs/AgoraRtcCryptoLoader.framework/AgoraRtcCryptoLoader View File


+ 12
- 0
ios/RCTAgora/libs/AgoraRtcCryptoLoader.framework/Headers/AgoraRtcCryptoLoader.h View File

1
+//
2
+//  AgoraRtcCryptoLoader.h
3
+//  AgoraRtcCryptoLoader
4
+//
5
+//  Copyright © 2018 Agora. All rights reserved.
6
+//
7
+
8
+#import <Foundation/Foundation.h>
9
+
10
+@interface AgoraRtcCryptoLoader : NSObject
11
+
12
+@end

BIN
ios/RCTAgora/libs/libcrypto.a View File