Skip to content

Commit cda692b

Browse files
committed
refactor: code review
1 parent 90dd0d3 commit cda692b

1 file changed

Lines changed: 24 additions & 10 deletions

File tree

apps/RNApp/ios/RNApp.xcodeproj/project.pbxproj

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88

99
/* Begin PBXBuildFile section */
1010
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
11-
6B3BDCA6FCD1F7343AD80D81 /* Pods_RNApp_BrownfieldLib.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 268998CB3D3CADCB5FA172FE /* Pods_RNApp_BrownfieldLib.framework */; };
11+
46C6B253D4AD6D41C31E1382 /* Pods_RNApp_BrownfieldLib.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 214247ABACB5A114E0342DB2 /* Pods_RNApp_BrownfieldLib.framework */; };
1212
761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; };
1313
79BD1EE92EEBFB76003AA29F /* BrownfieldLib.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 79BD1EE32EEBFB76003AA29F /* BrownfieldLib.framework */; };
1414
79BD1EEA2EEBFB76003AA29F /* BrownfieldLib.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 79BD1EE32EEBFB76003AA29F /* BrownfieldLib.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1515
79F35E8C2EEC1D4500E64860 /* BrownfieldLib.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79F35E8A2EEC1D4500E64860 /* BrownfieldLib.swift */; };
1616
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
1717
C66C2A65406C527E9529D08F /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; };
18-
E8B11DC20B38EEBB30BD63A7 /* Pods_RNApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8A046CFF3C8059D9B1E159A5 /* Pods_RNApp.framework */; };
18+
D2B5AEB3AE2CA535C80E7606 /* Pods_RNApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8712CB54BE756F7B17EC3C63 /* Pods_RNApp.framework */; };
1919
/* End PBXBuildFile section */
2020

2121
/* Begin PBXContainerItemProxy section */
@@ -47,15 +47,15 @@
4747
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RNApp/Images.xcassets; sourceTree = "<group>"; };
4848
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RNApp/Info.plist; sourceTree = "<group>"; };
4949
13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = RNApp/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
50-
268998CB3D3CADCB5FA172FE /* Pods_RNApp_BrownfieldLib.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RNApp_BrownfieldLib.framework; sourceTree = BUILT_PRODUCTS_DIR; };
50+
214247ABACB5A114E0342DB2 /* Pods_RNApp_BrownfieldLib.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RNApp_BrownfieldLib.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5151
3B4392A12AC88292D35C810B /* Pods-RNApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNApp.debug.xcconfig"; path = "Target Support Files/Pods-RNApp/Pods-RNApp.debug.xcconfig"; sourceTree = "<group>"; };
5252
5709B34CF0A7D63546082F79 /* Pods-RNApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNApp.release.xcconfig"; path = "Target Support Files/Pods-RNApp/Pods-RNApp.release.xcconfig"; sourceTree = "<group>"; };
5353
761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = RNApp/AppDelegate.swift; sourceTree = "<group>"; };
5454
79BD1EE32EEBFB76003AA29F /* BrownfieldLib.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = BrownfieldLib.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5555
79F35E8A2EEC1D4500E64860 /* BrownfieldLib.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BrownfieldLib.swift; sourceTree = "<group>"; };
5656
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = RNApp/LaunchScreen.storyboard; sourceTree = "<group>"; };
57+
8712CB54BE756F7B17EC3C63 /* Pods_RNApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RNApp.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5758
8A02E03D9F74B585B0A8F7F7 /* Pods-RNApp-BrownfieldLib.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNApp-BrownfieldLib.debug.xcconfig"; path = "Target Support Files/Pods-RNApp-BrownfieldLib/Pods-RNApp-BrownfieldLib.debug.xcconfig"; sourceTree = "<group>"; };
58-
8A046CFF3C8059D9B1E159A5 /* Pods_RNApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RNApp.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5959
D8C030F60E402FD6CFBB3904 /* Pods-RNApp-BrownfieldLib.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNApp-BrownfieldLib.release.xcconfig"; path = "Target Support Files/Pods-RNApp-BrownfieldLib/Pods-RNApp-BrownfieldLib.release.xcconfig"; sourceTree = "<group>"; };
6060
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
6161
/* End PBXFileReference section */
@@ -66,15 +66,15 @@
6666
buildActionMask = 2147483647;
6767
files = (
6868
79BD1EE92EEBFB76003AA29F /* BrownfieldLib.framework in Frameworks */,
69-
E8B11DC20B38EEBB30BD63A7 /* Pods_RNApp.framework in Frameworks */,
69+
D2B5AEB3AE2CA535C80E7606 /* Pods_RNApp.framework in Frameworks */,
7070
);
7171
runOnlyForDeploymentPostprocessing = 0;
7272
};
7373
79BD1EE02EEBFB76003AA29F /* Frameworks */ = {
7474
isa = PBXFrameworksBuildPhase;
7575
buildActionMask = 2147483647;
7676
files = (
77-
6B3BDCA6FCD1F7343AD80D81 /* Pods_RNApp_BrownfieldLib.framework in Frameworks */,
77+
46C6B253D4AD6D41C31E1382 /* Pods_RNApp_BrownfieldLib.framework in Frameworks */,
7878
);
7979
runOnlyForDeploymentPostprocessing = 0;
8080
};
@@ -97,8 +97,8 @@
9797
isa = PBXGroup;
9898
children = (
9999
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
100-
8A046CFF3C8059D9B1E159A5 /* Pods_RNApp.framework */,
101-
268998CB3D3CADCB5FA172FE /* Pods_RNApp_BrownfieldLib.framework */,
100+
8712CB54BE756F7B17EC3C63 /* Pods_RNApp.framework */,
101+
214247ABACB5A114E0342DB2 /* Pods_RNApp_BrownfieldLib.framework */,
102102
);
103103
name = Frameworks;
104104
sourceTree = "<group>";
@@ -666,6 +666,8 @@
666666
"${PODS_CONFIGURATION_BUILD_DIR}/React-NativeModulesApple/React_NativeModulesApple.framework/Headers",
667667
"${PODS_CONFIGURATION_BUILD_DIR}/React-graphics/React_graphics.framework/Headers",
668668
"${PODS_CONFIGURATION_BUILD_DIR}/React-graphics/React_graphics.framework/Headers/react/renderer/graphics/platform/ios",
669+
"${PODS_CONFIGURATION_BUILD_DIR}/React-featureflags/React_featureflags.framework/Headers",
670+
"${PODS_CONFIGURATION_BUILD_DIR}/React-renderercss/React_renderercss.framework/Headers",
669671
);
670672
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
671673
LD_RUNPATH_SEARCH_PATHS = (
@@ -679,18 +681,23 @@
679681
);
680682
MTL_ENABLE_DEBUG_INFO = YES;
681683
ONLY_ACTIVE_ARCH = YES;
682-
OTHER_CFLAGS = "$(inherited)";
684+
OTHER_CFLAGS = (
685+
"$(inherited)",
686+
"-DRCT_REMOVE_LEGACY_ARCH=1",
687+
);
683688
OTHER_CPLUSPLUSFLAGS = (
684689
"$(OTHER_CFLAGS)",
685690
"-DFOLLY_NO_CONFIG",
686691
"-DFOLLY_MOBILE=1",
687692
"-DFOLLY_USE_LIBCPP=1",
688693
"-DFOLLY_CFG_NO_COROUTINES=1",
689694
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
695+
"-DRCT_REMOVE_LEGACY_ARCH=1",
690696
);
691697
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
692698
SDKROOT = iphoneos;
693699
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
700+
SWIFT_ENABLE_EXPLICIT_MODULES = NO;
694701
USE_HERMES = true;
695702
};
696703
name = Debug;
@@ -749,6 +756,8 @@
749756
"${PODS_CONFIGURATION_BUILD_DIR}/React-NativeModulesApple/React_NativeModulesApple.framework/Headers",
750757
"${PODS_CONFIGURATION_BUILD_DIR}/React-graphics/React_graphics.framework/Headers",
751758
"${PODS_CONFIGURATION_BUILD_DIR}/React-graphics/React_graphics.framework/Headers/react/renderer/graphics/platform/ios",
759+
"${PODS_CONFIGURATION_BUILD_DIR}/React-featureflags/React_featureflags.framework/Headers",
760+
"${PODS_CONFIGURATION_BUILD_DIR}/React-renderercss/React_renderercss.framework/Headers",
752761
);
753762
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
754763
LD_RUNPATH_SEARCH_PATHS = (
@@ -761,17 +770,22 @@
761770
"\"$(inherited)\"",
762771
);
763772
MTL_ENABLE_DEBUG_INFO = NO;
764-
OTHER_CFLAGS = "$(inherited)";
773+
OTHER_CFLAGS = (
774+
"$(inherited)",
775+
"-DRCT_REMOVE_LEGACY_ARCH=1",
776+
);
765777
OTHER_CPLUSPLUSFLAGS = (
766778
"$(OTHER_CFLAGS)",
767779
"-DFOLLY_NO_CONFIG",
768780
"-DFOLLY_MOBILE=1",
769781
"-DFOLLY_USE_LIBCPP=1",
770782
"-DFOLLY_CFG_NO_COROUTINES=1",
771783
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
784+
"-DRCT_REMOVE_LEGACY_ARCH=1",
772785
);
773786
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
774787
SDKROOT = iphoneos;
788+
SWIFT_ENABLE_EXPLICIT_MODULES = NO;
775789
USE_HERMES = true;
776790
VALIDATE_PRODUCT = YES;
777791
};

0 commit comments

Comments
 (0)