Skip to content

Commit 7578d06

Browse files
committed
fix(ios): fix build on new arch
1 parent a4ba02b commit 7578d06

File tree

2 files changed

+50
-48
lines changed

2 files changed

+50
-48
lines changed

example/ios/Example.xcodeproj/project.pbxproj

Lines changed: 49 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
/* Begin PBXBuildFile section */
1010
00E356F31AD99517003FC87E /* ExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ExampleTests.m */; };
11+
0EC5D44B927B8F4B17632DAF /* libPods-Example-ExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 465A9F040E27A21448B657B9 /* libPods-Example-ExampleTests.a */; };
1112
210184002A77AA42002CBBD4 /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 210183FB2A77AA42002CBBD4 /* AppDelegate.mm */; };
1213
210184012A77AA42002CBBD4 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 210183FC2A77AA42002CBBD4 /* Images.xcassets */; };
1314
210184022A77AA42002CBBD4 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 210183FD2A77AA42002CBBD4 /* LaunchScreen.storyboard */; };
1415
210184032A77AA42002CBBD4 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 210183FE2A77AA42002CBBD4 /* main.m */; };
15-
37F7A66ADA681E9B9C04CBD6 /* libPods-Example-ExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1476F53558504E16B14D2FCD /* libPods-Example-ExampleTests.a */; };
16-
6C9D26AB4843E0F75E230313 /* libPods-Example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5903F37CA68432504A5A713F /* libPods-Example.a */; };
16+
2C40DDDA505F06A314C9ED84 /* libPods-Example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 31F3D969153649F35749782C /* libPods-Example.a */; };
1717
/* End PBXBuildFile section */
1818

1919
/* Begin PBXContainerItemProxy section */
@@ -31,35 +31,35 @@
3131
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
3232
00E356F21AD99517003FC87E /* ExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ExampleTests.m; sourceTree = "<group>"; };
3333
13B07F961A680F5B00A75B9A /* UploaderExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = UploaderExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
34-
1476F53558504E16B14D2FCD /* libPods-Example-ExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Example-ExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
3534
210183F92A77AA42002CBBD4 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = Example/AppDelegate.h; sourceTree = "<group>"; };
3635
210183FA2A77AA42002CBBD4 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Example/Info.plist; sourceTree = "<group>"; };
3736
210183FB2A77AA42002CBBD4 /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = Example/AppDelegate.mm; sourceTree = "<group>"; };
3837
210183FC2A77AA42002CBBD4 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Example/Images.xcassets; sourceTree = "<group>"; };
3938
210183FD2A77AA42002CBBD4 /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = Example/LaunchScreen.storyboard; sourceTree = "<group>"; };
4039
210183FE2A77AA42002CBBD4 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Example/main.m; sourceTree = "<group>"; };
41-
2439C7289D5DCB16E64AA098 /* Pods-Example-ExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example-ExampleTests.release.xcconfig"; path = "Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests.release.xcconfig"; sourceTree = "<group>"; };
42-
33AD8403B7CC72356233BFD7 /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.debug.xcconfig"; path = "Target Support Files/Pods-Example/Pods-Example.debug.xcconfig"; sourceTree = "<group>"; };
43-
5903F37CA68432504A5A713F /* libPods-Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
44-
A8352E71F8B1A98479810C76 /* Pods-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.release.xcconfig"; path = "Target Support Files/Pods-Example/Pods-Example.release.xcconfig"; sourceTree = "<group>"; };
45-
CB35997047B6945E84C6CBF7 /* Pods-Example-ExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example-ExampleTests.debug.xcconfig"; path = "Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests.debug.xcconfig"; sourceTree = "<group>"; };
40+
23C1C94AA0B304D0C014E5FE /* Pods-Example-ExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example-ExampleTests.release.xcconfig"; path = "Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests.release.xcconfig"; sourceTree = "<group>"; };
41+
31F3D969153649F35749782C /* libPods-Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
42+
465A9F040E27A21448B657B9 /* libPods-Example-ExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Example-ExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
43+
727564A5470890F241365905 /* Pods-Example-ExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example-ExampleTests.debug.xcconfig"; path = "Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests.debug.xcconfig"; sourceTree = "<group>"; };
44+
9D3E761F9AF094BBC7EEC56E /* Pods-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.release.xcconfig"; path = "Target Support Files/Pods-Example/Pods-Example.release.xcconfig"; sourceTree = "<group>"; };
4645
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
46+
FA6E0A0EB0E744EC15F13525 /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.debug.xcconfig"; path = "Target Support Files/Pods-Example/Pods-Example.debug.xcconfig"; sourceTree = "<group>"; };
4747
/* End PBXFileReference section */
4848

4949
/* Begin PBXFrameworksBuildPhase section */
5050
00E356EB1AD99517003FC87E /* Frameworks */ = {
5151
isa = PBXFrameworksBuildPhase;
5252
buildActionMask = 2147483647;
5353
files = (
54-
37F7A66ADA681E9B9C04CBD6 /* libPods-Example-ExampleTests.a in Frameworks */,
54+
0EC5D44B927B8F4B17632DAF /* libPods-Example-ExampleTests.a in Frameworks */,
5555
);
5656
runOnlyForDeploymentPostprocessing = 0;
5757
};
5858
13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
5959
isa = PBXFrameworksBuildPhase;
6060
buildActionMask = 2147483647;
6161
files = (
62-
6C9D26AB4843E0F75E230313 /* libPods-Example.a in Frameworks */,
62+
2C40DDDA505F06A314C9ED84 /* libPods-Example.a in Frameworks */,
6363
);
6464
runOnlyForDeploymentPostprocessing = 0;
6565
};
@@ -100,8 +100,8 @@
100100
isa = PBXGroup;
101101
children = (
102102
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
103-
5903F37CA68432504A5A713F /* libPods-Example.a */,
104-
1476F53558504E16B14D2FCD /* libPods-Example-ExampleTests.a */,
103+
31F3D969153649F35749782C /* libPods-Example.a */,
104+
465A9F040E27A21448B657B9 /* libPods-Example-ExampleTests.a */,
105105
);
106106
name = Frameworks;
107107
sourceTree = "<group>";
@@ -140,10 +140,10 @@
140140
BBD78D7AC51CEA395F1C20DB /* Pods */ = {
141141
isa = PBXGroup;
142142
children = (
143-
33AD8403B7CC72356233BFD7 /* Pods-Example.debug.xcconfig */,
144-
A8352E71F8B1A98479810C76 /* Pods-Example.release.xcconfig */,
145-
CB35997047B6945E84C6CBF7 /* Pods-Example-ExampleTests.debug.xcconfig */,
146-
2439C7289D5DCB16E64AA098 /* Pods-Example-ExampleTests.release.xcconfig */,
143+
FA6E0A0EB0E744EC15F13525 /* Pods-Example.debug.xcconfig */,
144+
9D3E761F9AF094BBC7EEC56E /* Pods-Example.release.xcconfig */,
145+
727564A5470890F241365905 /* Pods-Example-ExampleTests.debug.xcconfig */,
146+
23C1C94AA0B304D0C014E5FE /* Pods-Example-ExampleTests.release.xcconfig */,
147147
);
148148
path = Pods;
149149
sourceTree = "<group>";
@@ -155,12 +155,12 @@
155155
isa = PBXNativeTarget;
156156
buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ExampleTests" */;
157157
buildPhases = (
158-
F836222733CE4051B683D70D /* [CP] Check Pods Manifest.lock */,
158+
41BEDF190DDD13C96D80C27A /* [CP] Check Pods Manifest.lock */,
159159
00E356EA1AD99517003FC87E /* Sources */,
160160
00E356EB1AD99517003FC87E /* Frameworks */,
161161
00E356EC1AD99517003FC87E /* Resources */,
162-
C3B2A4A89E54B457208462BB /* [CP] Embed Pods Frameworks */,
163-
A09D3888D83200758E76C177 /* [CP] Copy Pods Resources */,
162+
9B2AA20D52336804DE64C0B2 /* [CP] Embed Pods Frameworks */,
163+
204921BCE31DEFC729A21500 /* [CP] Copy Pods Resources */,
164164
);
165165
buildRules = (
166166
);
@@ -176,14 +176,14 @@
176176
isa = PBXNativeTarget;
177177
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Example" */;
178178
buildPhases = (
179-
6376751AAEDC8C179EF060F4 /* [CP] Check Pods Manifest.lock */,
179+
A65ABFD38FF5723832C216DE /* [CP] Check Pods Manifest.lock */,
180180
FD10A7F022414F080027D42C /* Start Packager */,
181181
13B07F871A680F5B00A75B9A /* Sources */,
182182
13B07F8C1A680F5B00A75B9A /* Frameworks */,
183183
13B07F8E1A680F5B00A75B9A /* Resources */,
184184
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
185-
2A1AF65EB8F9B8548FF1E12A /* [CP] Embed Pods Frameworks */,
186-
9EF5F3E14A94E86E50B0C28F /* [CP] Copy Pods Resources */,
185+
A3A15EC4F024AB41D69637D0 /* [CP] Embed Pods Frameworks */,
186+
8B8EF93E15A7307945803BA9 /* [CP] Copy Pods Resources */,
187187
);
188188
buildRules = (
189189
);
@@ -266,24 +266,24 @@
266266
shellPath = /bin/sh;
267267
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
268268
};
269-
2A1AF65EB8F9B8548FF1E12A /* [CP] Embed Pods Frameworks */ = {
269+
204921BCE31DEFC729A21500 /* [CP] Copy Pods Resources */ = {
270270
isa = PBXShellScriptBuildPhase;
271271
buildActionMask = 2147483647;
272272
files = (
273273
);
274274
inputFileListPaths = (
275-
"${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks-${CONFIGURATION}-input-files.xcfilelist",
275+
"${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-resources-${CONFIGURATION}-input-files.xcfilelist",
276276
);
277-
name = "[CP] Embed Pods Frameworks";
277+
name = "[CP] Copy Pods Resources";
278278
outputFileListPaths = (
279-
"${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks-${CONFIGURATION}-output-files.xcfilelist",
279+
"${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-resources-${CONFIGURATION}-output-files.xcfilelist",
280280
);
281281
runOnlyForDeploymentPostprocessing = 0;
282282
shellPath = /bin/sh;
283-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks.sh\"\n";
283+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-resources.sh\"\n";
284284
showEnvVarsInLog = 0;
285285
};
286-
6376751AAEDC8C179EF060F4 /* [CP] Check Pods Manifest.lock */ = {
286+
41BEDF190DDD13C96D80C27A /* [CP] Check Pods Manifest.lock */ = {
287287
isa = PBXShellScriptBuildPhase;
288288
buildActionMask = 2147483647;
289289
files = (
@@ -298,14 +298,14 @@
298298
outputFileListPaths = (
299299
);
300300
outputPaths = (
301-
"$(DERIVED_FILE_DIR)/Pods-Example-checkManifestLockResult.txt",
301+
"$(DERIVED_FILE_DIR)/Pods-Example-ExampleTests-checkManifestLockResult.txt",
302302
);
303303
runOnlyForDeploymentPostprocessing = 0;
304304
shellPath = /bin/sh;
305305
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
306306
showEnvVarsInLog = 0;
307307
};
308-
9EF5F3E14A94E86E50B0C28F /* [CP] Copy Pods Resources */ = {
308+
8B8EF93E15A7307945803BA9 /* [CP] Copy Pods Resources */ = {
309309
isa = PBXShellScriptBuildPhase;
310310
buildActionMask = 2147483647;
311311
files = (
@@ -322,41 +322,41 @@
322322
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-resources.sh\"\n";
323323
showEnvVarsInLog = 0;
324324
};
325-
A09D3888D83200758E76C177 /* [CP] Copy Pods Resources */ = {
325+
9B2AA20D52336804DE64C0B2 /* [CP] Embed Pods Frameworks */ = {
326326
isa = PBXShellScriptBuildPhase;
327327
buildActionMask = 2147483647;
328328
files = (
329329
);
330330
inputFileListPaths = (
331-
"${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-resources-${CONFIGURATION}-input-files.xcfilelist",
331+
"${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
332332
);
333-
name = "[CP] Copy Pods Resources";
333+
name = "[CP] Embed Pods Frameworks";
334334
outputFileListPaths = (
335-
"${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-resources-${CONFIGURATION}-output-files.xcfilelist",
335+
"${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
336336
);
337337
runOnlyForDeploymentPostprocessing = 0;
338338
shellPath = /bin/sh;
339-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-resources.sh\"\n";
339+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-frameworks.sh\"\n";
340340
showEnvVarsInLog = 0;
341341
};
342-
C3B2A4A89E54B457208462BB /* [CP] Embed Pods Frameworks */ = {
342+
A3A15EC4F024AB41D69637D0 /* [CP] Embed Pods Frameworks */ = {
343343
isa = PBXShellScriptBuildPhase;
344344
buildActionMask = 2147483647;
345345
files = (
346346
);
347347
inputFileListPaths = (
348-
"${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
348+
"${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks-${CONFIGURATION}-input-files.xcfilelist",
349349
);
350350
name = "[CP] Embed Pods Frameworks";
351351
outputFileListPaths = (
352-
"${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
352+
"${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks-${CONFIGURATION}-output-files.xcfilelist",
353353
);
354354
runOnlyForDeploymentPostprocessing = 0;
355355
shellPath = /bin/sh;
356-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-frameworks.sh\"\n";
356+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks.sh\"\n";
357357
showEnvVarsInLog = 0;
358358
};
359-
F836222733CE4051B683D70D /* [CP] Check Pods Manifest.lock */ = {
359+
A65ABFD38FF5723832C216DE /* [CP] Check Pods Manifest.lock */ = {
360360
isa = PBXShellScriptBuildPhase;
361361
buildActionMask = 2147483647;
362362
files = (
@@ -371,7 +371,7 @@
371371
outputFileListPaths = (
372372
);
373373
outputPaths = (
374-
"$(DERIVED_FILE_DIR)/Pods-Example-ExampleTests-checkManifestLockResult.txt",
374+
"$(DERIVED_FILE_DIR)/Pods-Example-checkManifestLockResult.txt",
375375
);
376376
runOnlyForDeploymentPostprocessing = 0;
377377
shellPath = /bin/sh;
@@ -430,7 +430,7 @@
430430
/* Begin XCBuildConfiguration section */
431431
00E356F61AD99517003FC87E /* Debug */ = {
432432
isa = XCBuildConfiguration;
433-
baseConfigurationReference = CB35997047B6945E84C6CBF7 /* Pods-Example-ExampleTests.debug.xcconfig */;
433+
baseConfigurationReference = 727564A5470890F241365905 /* Pods-Example-ExampleTests.debug.xcconfig */;
434434
buildSettings = {
435435
BUNDLE_LOADER = "$(TEST_HOST)";
436436
DEVELOPMENT_TEAM = GBC36KP98K;
@@ -458,7 +458,7 @@
458458
};
459459
00E356F71AD99517003FC87E /* Release */ = {
460460
isa = XCBuildConfiguration;
461-
baseConfigurationReference = 2439C7289D5DCB16E64AA098 /* Pods-Example-ExampleTests.release.xcconfig */;
461+
baseConfigurationReference = 23C1C94AA0B304D0C014E5FE /* Pods-Example-ExampleTests.release.xcconfig */;
462462
buildSettings = {
463463
BUNDLE_LOADER = "$(TEST_HOST)";
464464
COPY_PHASE_STRIP = NO;
@@ -483,7 +483,7 @@
483483
};
484484
13B07F941A680F5B00A75B9A /* Debug */ = {
485485
isa = XCBuildConfiguration;
486-
baseConfigurationReference = 33AD8403B7CC72356233BFD7 /* Pods-Example.debug.xcconfig */;
486+
baseConfigurationReference = FA6E0A0EB0E744EC15F13525 /* Pods-Example.debug.xcconfig */;
487487
buildSettings = {
488488
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
489489
CLANG_ENABLE_MODULES = YES;
@@ -512,7 +512,7 @@
512512
};
513513
13B07F951A680F5B00A75B9A /* Release */ = {
514514
isa = XCBuildConfiguration;
515-
baseConfigurationReference = A8352E71F8B1A98479810C76 /* Pods-Example.release.xcconfig */;
515+
baseConfigurationReference = 9D3E761F9AF094BBC7EEC56E /* Pods-Example.release.xcconfig */;
516516
buildSettings = {
517517
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
518518
CLANG_ENABLE_MODULES = YES;
@@ -608,13 +608,14 @@
608608
ONLY_ACTIVE_ARCH = YES;
609609
OTHER_CFLAGS = (
610610
"$(inherited)",
611-
" ",
611+
"-DRN_FABRIC_ENABLED",
612612
);
613613
OTHER_CPLUSPLUSFLAGS = (
614614
"$(OTHER_CFLAGS)",
615615
"-DFOLLY_NO_CONFIG",
616616
"-DFOLLY_MOBILE=1",
617617
"-DFOLLY_USE_LIBCPP=1",
618+
"-DRN_FABRIC_ENABLED",
618619
);
619620
OTHER_LDFLAGS = "$(inherited)";
620621
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
@@ -686,13 +687,14 @@
686687
MTL_ENABLE_DEBUG_INFO = NO;
687688
OTHER_CFLAGS = (
688689
"$(inherited)",
689-
" ",
690+
"-DRN_FABRIC_ENABLED",
690691
);
691692
OTHER_CPLUSPLUSFLAGS = (
692693
"$(OTHER_CFLAGS)",
693694
"-DFOLLY_NO_CONFIG",
694695
"-DFOLLY_MOBILE=1",
695696
"-DFOLLY_USE_LIBCPP=1",
697+
"-DRN_FABRIC_ENABLED",
696698
);
697699
OTHER_LDFLAGS = "$(inherited)";
698700
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";

ios/RNUploader.m renamed to ios/RNUploader.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ @interface RCT_EXTERN_REMAP_MODULE(ApiVideoUploader, RNUploader, NSObject<RCTBri
4545
// Don't compile this code when we build for the old architecture.
4646
#ifdef RCT_NEW_ARCH_ENABLED
4747
- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:(const facebook::react::ObjCTurboModule::InitParams &)params {
48-
return std::make_shared<facebook::react::NativeCitizenEscposprinterSpecJSI>(params);
48+
return std::make_shared<facebook::react::NativeApiVideoUploaderSpecJSI>(params);
4949
}
5050
#endif
5151

0 commit comments

Comments
 (0)