feat: enable new architecture, fix ReactAppDependencyProvider, restore RNScreens

- Switched to new architecture mode (RCT_NEW_ARCH_ENABLED=1)
- Created ReactAppDependencyProvider podspec stub
- Added local podspec reference in Podfile
- Reverted RNScreens exclusions (needed for new arch)
- Pod install now completes with 83 deps

BLOCKER: Third-party library codegen not generating required headers
Affected: react-native-safe-area-context, react-native-screens, etc.

These packages require proper Fabric component generation which isn't
happening automatically. This is a known issue with new architecture
setup in monorepos.

RECOMMENDATION: Use EAS cloud build instead - it handles all new
architecture complexity automatically. Requires Apple Developer Program
enrollment (~$99/year) but eliminates these configuration headaches.
This commit is contained in:
bananabas 2026-03-27 20:19:36 +00:00
parent 2f9e113374
commit a3d0231068
4 changed files with 204 additions and 13 deletions

View file

@ -11,6 +11,7 @@
3E461D99554A48A4959DE609 /* SplashScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AA286B85B6C04FC6940260E9 /* SplashScreen.storyboard */; }; 3E461D99554A48A4959DE609 /* SplashScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AA286B85B6C04FC6940260E9 /* SplashScreen.storyboard */; };
466C479BD3CEE83479D54CCF /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 18A7252D74C192EB2E7A361D /* PrivacyInfo.xcprivacy */; }; 466C479BD3CEE83479D54CCF /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 18A7252D74C192EB2E7A361D /* PrivacyInfo.xcprivacy */; };
5B3134CD54E779CB95E7D900 /* ExpoModulesProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7119435930055573594F352 /* ExpoModulesProvider.swift */; }; 5B3134CD54E779CB95E7D900 /* ExpoModulesProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7119435930055573594F352 /* ExpoModulesProvider.swift */; };
A0C3A04B2F78C5C286F61D65 /* libPods-Bagsy.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A20994E7E3DF51FA11D94320 /* libPods-Bagsy.a */; };
BB2F792D24A3F905000567C9 /* Expo.plist in Resources */ = {isa = PBXBuildFile; fileRef = BB2F792C24A3F905000567C9 /* Expo.plist */; }; BB2F792D24A3F905000567C9 /* Expo.plist in Resources */ = {isa = PBXBuildFile; fileRef = BB2F792C24A3F905000567C9 /* Expo.plist */; };
F11748422D0307B40044C1D9 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F11748412D0307B40044C1D9 /* AppDelegate.swift */; }; F11748422D0307B40044C1D9 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F11748412D0307B40044C1D9 /* AppDelegate.swift */; };
/* End PBXBuildFile section */ /* End PBXBuildFile section */
@ -20,9 +21,12 @@
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Bagsy/Images.xcassets; sourceTree = "<group>"; }; 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Bagsy/Images.xcassets; sourceTree = "<group>"; };
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Bagsy/Info.plist; sourceTree = "<group>"; }; 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Bagsy/Info.plist; sourceTree = "<group>"; };
18A7252D74C192EB2E7A361D /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = Bagsy/PrivacyInfo.xcprivacy; sourceTree = "<group>"; }; 18A7252D74C192EB2E7A361D /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = Bagsy/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
2B883C97D01571E8732FA3BD /* Pods-Bagsy.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Bagsy.release.xcconfig"; path = "Target Support Files/Pods-Bagsy/Pods-Bagsy.release.xcconfig"; sourceTree = "<group>"; };
A20994E7E3DF51FA11D94320 /* libPods-Bagsy.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Bagsy.a"; sourceTree = BUILT_PRODUCTS_DIR; };
A7119435930055573594F352 /* ExpoModulesProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpoModulesProvider.swift; path = "Pods/Target Support Files/Pods-Bagsy/ExpoModulesProvider.swift"; sourceTree = "<group>"; }; A7119435930055573594F352 /* ExpoModulesProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpoModulesProvider.swift; path = "Pods/Target Support Files/Pods-Bagsy/ExpoModulesProvider.swift"; sourceTree = "<group>"; };
AA286B85B6C04FC6940260E9 /* SplashScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = SplashScreen.storyboard; path = Bagsy/SplashScreen.storyboard; sourceTree = "<group>"; }; AA286B85B6C04FC6940260E9 /* SplashScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = SplashScreen.storyboard; path = Bagsy/SplashScreen.storyboard; sourceTree = "<group>"; };
BB2F792C24A3F905000567C9 /* Expo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Expo.plist; sourceTree = "<group>"; }; BB2F792C24A3F905000567C9 /* Expo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Expo.plist; sourceTree = "<group>"; };
C2C7ECCEC9683D08EDD66445 /* Pods-Bagsy.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Bagsy.debug.xcconfig"; path = "Target Support Files/Pods-Bagsy/Pods-Bagsy.debug.xcconfig"; sourceTree = "<group>"; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
F11748412D0307B40044C1D9 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = Bagsy/AppDelegate.swift; sourceTree = "<group>"; }; F11748412D0307B40044C1D9 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = Bagsy/AppDelegate.swift; sourceTree = "<group>"; };
F11748442D0722820044C1D9 /* Bagsy-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "Bagsy-Bridging-Header.h"; path = "Bagsy/Bagsy-Bridging-Header.h"; sourceTree = "<group>"; }; F11748442D0722820044C1D9 /* Bagsy-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "Bagsy-Bridging-Header.h"; path = "Bagsy/Bagsy-Bridging-Header.h"; sourceTree = "<group>"; };
@ -33,6 +37,7 @@
isa = PBXFrameworksBuildPhase; isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
A0C3A04B2F78C5C286F61D65 /* libPods-Bagsy.a in Frameworks */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@ -57,6 +62,7 @@
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
ED297162215061F000B7C4FE /* JavaScriptCore.framework */, ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
A20994E7E3DF51FA11D94320 /* libPods-Bagsy.a */,
); );
name = Frameworks; name = Frameworks;
sourceTree = "<group>"; sourceTree = "<group>";
@ -64,6 +70,8 @@
5764A3E8EA0A3EE85DAB4EDB /* Pods */ = { 5764A3E8EA0A3EE85DAB4EDB /* Pods */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
C2C7ECCEC9683D08EDD66445 /* Pods-Bagsy.debug.xcconfig */,
2B883C97D01571E8732FA3BD /* Pods-Bagsy.release.xcconfig */,
); );
path = Pods; path = Pods;
sourceTree = "<group>"; sourceTree = "<group>";
@ -130,12 +138,15 @@
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Bagsy" */; buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Bagsy" */;
buildPhases = ( buildPhases = (
D19EE9E33F65C966F2FB5D51 /* [CP] Check Pods Manifest.lock */,
96FD0E9750EE2DFE6543B450 /* [Expo] Configure project */, 96FD0E9750EE2DFE6543B450 /* [Expo] Configure project */,
13B07F871A680F5B00A75B9A /* Sources */, 13B07F871A680F5B00A75B9A /* Sources */,
13B07F8C1A680F5B00A75B9A /* Frameworks */, 13B07F8C1A680F5B00A75B9A /* Frameworks */,
13B07F8E1A680F5B00A75B9A /* Resources */, 13B07F8E1A680F5B00A75B9A /* Resources */,
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
F66DF0C060A24D0DB731EECE /* [Expo Dev Launcher] Strip Local Network Keys for Release */, F66DF0C060A24D0DB731EECE /* [Expo Dev Launcher] Strip Local Network Keys for Release */,
702665EBF202A3C23F4BD732 /* [CP] Embed Pods Frameworks */,
29CF88F49CB8C8F2CD0DE5F3 /* [CP] Copy Pods Resources */,
); );
buildRules = ( buildRules = (
); );
@ -209,6 +220,56 @@
shellPath = /bin/sh; shellPath = /bin/sh;
shellScript = "if [[ -f \"$PODS_ROOT/../.xcode.env\" ]]; then\n source \"$PODS_ROOT/../.xcode.env\"\nfi\nif [[ -f \"$PODS_ROOT/../.xcode.env.local\" ]]; then\n source \"$PODS_ROOT/../.xcode.env.local\"\nfi\n\n# The project root by default is one level up from the ios directory\nexport PROJECT_ROOT=\"$PROJECT_DIR\"/..\n\nif [[ \"$CONFIGURATION\" = *Debug* ]]; then\n export SKIP_BUNDLING=1\nfi\nif [[ -z \"$ENTRY_FILE\" ]]; then\n # Set the entry JS file using the bundler's entry resolution.\n export ENTRY_FILE=\"$(\"$NODE_BINARY\" -e \"require('expo/scripts/resolveAppEntry')\" \"$PROJECT_ROOT\" ios absolute | tail -n 1)\"\nfi\n\nif [[ -z \"$CLI_PATH\" ]]; then\n # Use Expo CLI\n export CLI_PATH=\"$(\"$NODE_BINARY\" --print \"require.resolve('@expo/cli', { paths: [require.resolve('expo/package.json')] })\")\"\nfi\nif [[ -z \"$BUNDLE_COMMAND\" ]]; then\n # Default Expo CLI command for bundling\n export BUNDLE_COMMAND=\"export:embed\"\nfi\n\n# Source .xcode.env.updates if it exists to allow\n# SKIP_BUNDLING to be unset if needed\nif [[ -f \"$PODS_ROOT/../.xcode.env.updates\" ]]; then\n source \"$PODS_ROOT/../.xcode.env.updates\"\nfi\n# Source local changes to allow overrides\n# if needed\nif [[ -f \"$PODS_ROOT/../.xcode.env.local\" ]]; then\n source \"$PODS_ROOT/../.xcode.env.local\"\nfi\n\n`\"$NODE_BINARY\" --print \"require('path').dirname(require.resolve('react-native/package.json')) + '/scripts/react-native-xcode.sh'\"`\n\n"; shellScript = "if [[ -f \"$PODS_ROOT/../.xcode.env\" ]]; then\n source \"$PODS_ROOT/../.xcode.env\"\nfi\nif [[ -f \"$PODS_ROOT/../.xcode.env.local\" ]]; then\n source \"$PODS_ROOT/../.xcode.env.local\"\nfi\n\n# The project root by default is one level up from the ios directory\nexport PROJECT_ROOT=\"$PROJECT_DIR\"/..\n\nif [[ \"$CONFIGURATION\" = *Debug* ]]; then\n export SKIP_BUNDLING=1\nfi\nif [[ -z \"$ENTRY_FILE\" ]]; then\n # Set the entry JS file using the bundler's entry resolution.\n export ENTRY_FILE=\"$(\"$NODE_BINARY\" -e \"require('expo/scripts/resolveAppEntry')\" \"$PROJECT_ROOT\" ios absolute | tail -n 1)\"\nfi\n\nif [[ -z \"$CLI_PATH\" ]]; then\n # Use Expo CLI\n export CLI_PATH=\"$(\"$NODE_BINARY\" --print \"require.resolve('@expo/cli', { paths: [require.resolve('expo/package.json')] })\")\"\nfi\nif [[ -z \"$BUNDLE_COMMAND\" ]]; then\n # Default Expo CLI command for bundling\n export BUNDLE_COMMAND=\"export:embed\"\nfi\n\n# Source .xcode.env.updates if it exists to allow\n# SKIP_BUNDLING to be unset if needed\nif [[ -f \"$PODS_ROOT/../.xcode.env.updates\" ]]; then\n source \"$PODS_ROOT/../.xcode.env.updates\"\nfi\n# Source local changes to allow overrides\n# if needed\nif [[ -f \"$PODS_ROOT/../.xcode.env.local\" ]]; then\n source \"$PODS_ROOT/../.xcode.env.local\"\nfi\n\n`\"$NODE_BINARY\" --print \"require('path').dirname(require.resolve('react-native/package.json')) + '/scripts/react-native-xcode.sh'\"`\n\n";
}; };
29CF88F49CB8C8F2CD0DE5F3 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Bagsy/Pods-Bagsy-resources.sh",
"${PODS_CONFIGURATION_BUILD_DIR}/EXConstants/EXConstants.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/EXConstants/ExpoConstants_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/ExpoFileSystem/ExpoFileSystem_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/RCT-Folly/RCT-Folly_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/React-Core_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact/React-cxxreact_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/boost/boost_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/glog/glog_privacy.bundle",
);
name = "[CP] Copy Pods Resources";
outputPaths = (
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/EXConstants.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ExpoConstants_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ExpoFileSystem_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RCT-Folly_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-Core_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-cxxreact_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/boost_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/glog_privacy.bundle",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Bagsy/Pods-Bagsy-resources.sh\"\n";
showEnvVarsInLog = 0;
};
702665EBF202A3C23F4BD732 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Bagsy/Pods-Bagsy-frameworks.sh",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermes.framework/hermes",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Bagsy/Pods-Bagsy-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
96FD0E9750EE2DFE6543B450 /* [Expo] Configure project */ = { 96FD0E9750EE2DFE6543B450 /* [Expo] Configure project */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1; alwaysOutOfDate = 1;
@ -233,6 +294,28 @@
shellPath = /bin/sh; shellPath = /bin/sh;
shellScript = "# This script configures Expo modules and generates the modules provider file.\nbash -l -c \"./Pods/Target\\ Support\\ Files/Pods-Bagsy/expo-configure-project.sh\"\n"; shellScript = "# This script configures Expo modules and generates the modules provider file.\nbash -l -c \"./Pods/Target\\ Support\\ Files/Pods-Bagsy/expo-configure-project.sh\"\n";
}; };
D19EE9E33F65C966F2FB5D51 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-Bagsy-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
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";
showEnvVarsInLog = 0;
};
F66DF0C060A24D0DB731EECE /* [Expo Dev Launcher] Strip Local Network Keys for Release */ = { F66DF0C060A24D0DB731EECE /* [Expo Dev Launcher] Strip Local Network Keys for Release */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
@ -264,6 +347,7 @@
/* Begin XCBuildConfiguration section */ /* Begin XCBuildConfiguration section */
13B07F941A680F5B00A75B9A /* Debug */ = { 13B07F941A680F5B00A75B9A /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
baseConfigurationReference = C2C7ECCEC9683D08EDD66445 /* Pods-Bagsy.debug.xcconfig */;
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
@ -300,6 +384,7 @@
}; };
13B07F951A680F5B00A75B9A /* Release */ = { 13B07F951A680F5B00A75B9A /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
baseConfigurationReference = 2B883C97D01571E8732FA3BD /* Pods-Bagsy.release.xcconfig */;
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;

View file

@ -1,6 +1,10 @@
require File.join(File.dirname(`node --print "require.resolve('expo/package.json')"`), "scripts/autolinking") require File.join(File.dirname(`node --print "require.resolve('expo/package.json')"`), "scripts/autolinking")
require File.join(File.dirname(`node --print "require.resolve('react-native/package.json')"`), "scripts/react_native_pods") require File.join(File.dirname(`node --print "require.resolve('react-native/package.json')"`), "scripts/react_native_pods")
# Add local React Native podspecs for new architecture support
rn_path = File.dirname(`node --print "require.resolve('react-native/package.json')"`).strip
pod 'ReactAppDependencyProvider', :path => "#{rn_path}/Libraries/ReactAppDependencyProvider"
require 'json' require 'json'
podfile_properties = JSON.parse(File.read(File.join(__dir__, 'Podfile.properties.json'))) rescue {} podfile_properties = JSON.parse(File.read(File.join(__dir__, 'Podfile.properties.json'))) rescue {}
@ -16,7 +20,7 @@ ENV['EX_DEV_CLIENT_NETWORK_INSPECTOR'] ||= podfile_properties['EX_DEV_CLIENT_NET
ENV['RCT_USE_RN_DEP'] ||= '1' if podfile_properties['ios.buildReactNativeFromSource'] != 'true' ENV['RCT_USE_RN_DEP'] ||= '1' if podfile_properties['ios.buildReactNativeFromSource'] != 'true'
ENV['RCT_USE_PREBUILT_RNCORE'] ||= '1' if podfile_properties['ios.buildReactNativeFromSource'] != 'true' ENV['RCT_USE_PREBUILT_RNCORE'] ||= '1' if podfile_properties['ios.buildReactNativeFromSource'] != 'true'
ENV['RCT_HERMES_V1_ENABLED'] ||= '1' if podfile_properties['expo.useHermesV1'] == 'true' ENV['RCT_HERMES_V1_ENABLED'] ||= '1' if podfile_properties['expo.useHermesV1'] == 'true'
ENV['RCT_NEW_ARCH_ENABLED'] ||= '0' # Disable new architecture to avoid ReactAppDependencyProvider issue ENV['RCT_NEW_ARCH_ENABLED'] ||= '1' # Enable new architecture
platform :ios, podfile_properties['ios.deploymentTarget'] || '15.1' platform :ios, podfile_properties['ios.deploymentTarget'] || '15.1'
prepare_react_native_project! prepare_react_native_project!
@ -76,6 +80,12 @@ target 'Bagsy' do
end end
end end
end end
# Add generated codegen directory to header search paths
target.build_configurations.each do |config|
config.build_settings['HEADER_SEARCH_PATHS'] ||= '$(inherited)'
config.build_settings['HEADER_SEARCH_PATHS'] += ' "${SRCROOT}/build/generated/ios"'
end
end end
end end
end end

View file

@ -24,6 +24,7 @@ PODS:
- React-RCTFabric - React-RCTFabric
- React-rendererdebug - React-rendererdebug
- React-utils - React-utils
- ReactAppDependencyProvider
- ReactCodegen - ReactCodegen
- ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core - ReactCommon/turbomodule/core
@ -1314,7 +1315,71 @@ PODS:
- ReactCommon/turbomodule/core - ReactCommon/turbomodule/core
- Yoga - Yoga
- react-native-safe-area-context (5.7.0): - react-native-safe-area-context (5.7.0):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- RCTRequired
- RCTTypeSafety
- React-Core - React-Core
- React-debug
- React-Fabric
- React-featureflags
- React-graphics
- React-ImageManager
- react-native-safe-area-context/common (= 5.7.0)
- react-native-safe-area-context/fabric (= 5.7.0)
- React-NativeModulesApple
- React-RCTFabric
- React-rendererdebug
- React-utils
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- react-native-safe-area-context/common (5.7.0):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- RCTRequired
- RCTTypeSafety
- React-Core
- React-debug
- React-Fabric
- React-featureflags
- React-graphics
- React-ImageManager
- React-NativeModulesApple
- React-RCTFabric
- React-rendererdebug
- React-utils
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- react-native-safe-area-context/fabric (5.7.0):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- RCTRequired
- RCTTypeSafety
- React-Core
- React-debug
- React-Fabric
- React-featureflags
- React-graphics
- React-ImageManager
- react-native-safe-area-context/common
- React-NativeModulesApple
- React-RCTFabric
- React-rendererdebug
- React-utils
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- React-nativeconfig (0.75.0) - React-nativeconfig (0.75.0)
- React-NativeModulesApple (0.75.0): - React-NativeModulesApple (0.75.0):
- glog - glog
@ -1515,6 +1580,7 @@ PODS:
- RCT-Folly (= 2024.01.01.00) - RCT-Folly (= 2024.01.01.00)
- React-debug - React-debug
- React-jsi (= 0.75.0) - React-jsi (= 0.75.0)
- ReactAppDependencyProvider (0.75.0)
- ReactCodegen (0.75.0): - ReactCodegen (0.75.0):
- DoubleConversion - DoubleConversion
- glog - glog
@ -1576,6 +1642,29 @@ PODS:
- React-perflogger (= 0.75.0) - React-perflogger (= 0.75.0)
- React-utils (= 0.75.0) - React-utils (= 0.75.0)
- RNScreens (4.24.0): - RNScreens (4.24.0):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- RCTRequired
- RCTTypeSafety
- React-Core
- React-debug
- React-Fabric
- React-featureflags
- React-graphics
- React-ImageManager
- React-NativeModulesApple
- React-RCTFabric
- React-RCTImage
- React-rendererdebug
- React-utils
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- RNScreens/common (= 4.24.0)
- Yoga
- RNScreens/common (4.24.0):
- DoubleConversion - DoubleConversion
- glog - glog
- hermes-engine - hermes-engine
@ -1684,6 +1773,7 @@ DEPENDENCIES:
- React-RuntimeHermes (from `../../../node_modules/react-native/ReactCommon/react/runtime`) - React-RuntimeHermes (from `../../../node_modules/react-native/ReactCommon/react/runtime`)
- React-runtimescheduler (from `../../../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`) - React-runtimescheduler (from `../../../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`)
- React-utils (from `../../../node_modules/react-native/ReactCommon/react/utils`) - React-utils (from `../../../node_modules/react-native/ReactCommon/react/utils`)
- ReactAppDependencyProvider (from `/Users/barnabasbodily/shop/node_modules/react-native/Libraries/ReactAppDependencyProvider`)
- ReactCodegen (from `build/generated/ios`) - ReactCodegen (from `build/generated/ios`)
- ReactCommon/turbomodule/core (from `../../../node_modules/react-native/ReactCommon`) - ReactCommon/turbomodule/core (from `../../../node_modules/react-native/ReactCommon`)
- RNScreens (from `../../../node_modules/react-native-screens`) - RNScreens (from `../../../node_modules/react-native-screens`)
@ -1848,6 +1938,8 @@ EXTERNAL SOURCES:
:path: "../../../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler" :path: "../../../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler"
React-utils: React-utils:
:path: "../../../node_modules/react-native/ReactCommon/react/utils" :path: "../../../node_modules/react-native/ReactCommon/react/utils"
ReactAppDependencyProvider:
:path: "/Users/barnabasbodily/shop/node_modules/react-native/Libraries/ReactAppDependencyProvider"
ReactCodegen: ReactCodegen:
:path: build/generated/ios :path: build/generated/ios
ReactCommon: ReactCommon:
@ -1862,7 +1954,7 @@ SPEC CHECKSUMS:
DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5 DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5
EXConstants: 89d35611505a8ce02550e64e43cd05565da35f9a EXConstants: 89d35611505a8ce02550e64e43cd05565da35f9a
EXLocation: c52e800875ce2a5974b3b796ff2f3a8b978e0b28 EXLocation: c52e800875ce2a5974b3b796ff2f3a8b978e0b28
Expo: bfc7e35985406a5f2f2bce518afe4c0c48fc89ff Expo: 94d6367bea1c56170e44d8163b0a2141c90f5f15
ExpoAsset: f867e55ceb428aab99e1e8c082b5aee7c159ea18 ExpoAsset: f867e55ceb428aab99e1e8c082b5aee7c159ea18
ExpoBlur: 3c8885b9bf9eef4309041ec87adec48b5f1986a9 ExpoBlur: 3c8885b9bf9eef4309041ec87adec48b5f1986a9
ExpoCamera: 1f56a66ed9d7530a8c436e095560bade5efa4b8a ExpoCamera: 1f56a66ed9d7530a8c436e095560bade5efa4b8a
@ -1872,7 +1964,7 @@ SPEC CHECKSUMS:
ExpoKeepAwake: 55f75eca6499bb9e4231ebad6f3e9cb8f99c0296 ExpoKeepAwake: 55f75eca6499bb9e4231ebad6f3e9cb8f99c0296
ExpoLinearGradient: 7734c8059972fcf691fb4330bcdf3390960a152d ExpoLinearGradient: 7734c8059972fcf691fb4330bcdf3390960a152d
ExpoLinking: d5c183998ca6ada66ff45e407e0f965b398a8902 ExpoLinking: d5c183998ca6ada66ff45e407e0f965b398a8902
ExpoModulesCore: d2e37586cfd77d9af84b67804ad0ac1565de19e0 ExpoModulesCore: 2623b8a6c0718057bd37a3c974056e75561b68c2
ExpoSecureStore: 6506992a9f53c94ea716c54d4a63144965945c2c ExpoSecureStore: 6506992a9f53c94ea716c54d4a63144965945c2c
ExpoUI: 4115369b63e2907e878fc6fd36a4498c40ebc268 ExpoUI: 4115369b63e2907e878fc6fd36a4498c40ebc268
ExpoWebBrowser: cf10afe886891ab495877dada977fe6c269614a4 ExpoWebBrowser: cf10afe886891ab495877dada977fe6c269614a4
@ -1890,16 +1982,16 @@ SPEC CHECKSUMS:
React-CoreModules: 6a560f23db05c04907af0da4986a935823158fe6 React-CoreModules: 6a560f23db05c04907af0da4986a935823158fe6
React-cxxreact: 680c502345e7f0f93d7187aab902780e9e80cb87 React-cxxreact: 680c502345e7f0f93d7187aab902780e9e80cb87
React-debug: cbe24fb9a2cb6970135d4bf5953c412b7f56be6d React-debug: cbe24fb9a2cb6970135d4bf5953c412b7f56be6d
React-defaultsnativemodule: 67a21b41e6bf52cbee486c3d6a9e7580c39145ea React-defaultsnativemodule: 2ced7aa378f678219c45c5269e4eff531b234bd6
React-domnativemodule: fe49db6341ecd39561c0bc7f05a0204e5620ee53 React-domnativemodule: 445fc2b30ae8e7a3cadc5c8a422cf2beb3406d83
React-Fabric: 964dfa0b826f5d9836567db6345bcdb80e1df3ba React-Fabric: 964dfa0b826f5d9836567db6345bcdb80e1df3ba
React-FabricComponents: b38e98435d6989743747f68f26101f4f80523124 React-FabricComponents: b38e98435d6989743747f68f26101f4f80523124
React-FabricImage: ff3762306fc339a8dac30875329cef87ef4bc5e0 React-FabricImage: ff3762306fc339a8dac30875329cef87ef4bc5e0
React-featureflags: e82cd520599b5eb8914767973e1d112a02367543 React-featureflags: e82cd520599b5eb8914767973e1d112a02367543
React-featureflagsnativemodule: f1660dee9622719d141811ef592d3dd92b2a2d36 React-featureflagsnativemodule: 294f5e266b731d89a9a4a00f1834eb37448f6432
React-graphics: d891e2636bf6cd11d181a64e602ee544e3a6a59d React-graphics: d891e2636bf6cd11d181a64e602ee544e3a6a59d
React-hermes: 7a914627b3d038ec71efe6b8e6beccd1a5eb8f82 React-hermes: 7a914627b3d038ec71efe6b8e6beccd1a5eb8f82
React-idlecallbacksnativemodule: 2b86847d200606642323c562481acd52d91513d6 React-idlecallbacksnativemodule: 12046aa226ef622c0872323f0b3a4c4ed7709116
React-ImageManager: 06a79ac335bda7ff30d1e7ccec39d09eca744e27 React-ImageManager: 06a79ac335bda7ff30d1e7ccec39d09eca744e27
React-jserrorhandler: d7435a963267a11314b164c0d2cff0d35c83db2b React-jserrorhandler: d7435a963267a11314b164c0d2cff0d35c83db2b
React-jsi: 822b6fa0abfdac12e8e4e91e81c6adff035ee66c React-jsi: 822b6fa0abfdac12e8e4e91e81c6adff035ee66c
@ -1908,17 +2000,17 @@ SPEC CHECKSUMS:
React-jsitracing: 084eb1cabaff523452d4c1da9dfb2e76ccddaf0e React-jsitracing: 084eb1cabaff523452d4c1da9dfb2e76ccddaf0e
React-logger: ddc6d07d8b240d7ff8cd7e914cac8ed94ea39f21 React-logger: ddc6d07d8b240d7ff8cd7e914cac8ed94ea39f21
React-Mapbuffer: ea3cb9e16dac316054c0928f984a893568701a4d React-Mapbuffer: ea3cb9e16dac316054c0928f984a893568701a4d
React-microtasksnativemodule: ab04c3cfe3439775b46dffa580913c871bbea564 React-microtasksnativemodule: 7204837c93993b3ba553ba309a972d833c1a0d7f
react-native-safe-area-context: e89848fc12d32ccca63d0d7d16dd96918d07c730 react-native-safe-area-context: d5f6bb0129bec5631bfa433e792811360f66994f
React-nativeconfig: 271a4a10146950e1ff9825e7f0f84898502a7d84 React-nativeconfig: 271a4a10146950e1ff9825e7f0f84898502a7d84
React-NativeModulesApple: f99584a58345855ee01c7e2d10cbb1ee4181ec27 React-NativeModulesApple: f99584a58345855ee01c7e2d10cbb1ee4181ec27
React-perflogger: 9c9a8c6b3a0c8956d4201772759a1285450ae301 React-perflogger: 9c9a8c6b3a0c8956d4201772759a1285450ae301
React-performancetimeline: e0e96c07a353cd9e28be6c11f66e44919f72432e React-performancetimeline: e0e96c07a353cd9e28be6c11f66e44919f72432e
React-RCTActionSheet: 8b49872cfe329ef76c53990691f92f5e927046b5 React-RCTActionSheet: 8b49872cfe329ef76c53990691f92f5e927046b5
React-RCTAnimation: b050724a828ffbe3133e006a9062989a7de913e3 React-RCTAnimation: b050724a828ffbe3133e006a9062989a7de913e3
React-RCTAppDelegate: f909684b908635c7fd1f6fd4bbe1fd4dc1abdf0d React-RCTAppDelegate: f026020032d03105f9e8aadca57dd4a353b4bf15
React-RCTBlob: 81c0e78caadfcd1bbb746eed1c278591443c7bc3 React-RCTBlob: 81c0e78caadfcd1bbb746eed1c278591443c7bc3
React-RCTFabric: 476f7b0f55e8d5b4512a48e1bd936da8c994e806 React-RCTFabric: 74086a57f5d227042730e2af10e9f7eebb25dacb
React-RCTImage: bb755b3a9a92a23af72ea3c0b161830d3cede3ed React-RCTImage: bb755b3a9a92a23af72ea3c0b161830d3cede3ed
React-RCTLinking: 7823e5557ae04c9196471ca352599ae483e09867 React-RCTLinking: 7823e5557ae04c9196471ca352599ae483e09867
React-RCTNetwork: 44d92bc1243a83abfaa0841056ae6eb079c3495c React-RCTNetwork: 44d92bc1243a83abfaa0841056ae6eb079c3495c
@ -1934,13 +2026,14 @@ SPEC CHECKSUMS:
React-RuntimeHermes: 14a8668d9edceafa64dedf2c81a9fc768573fdbe React-RuntimeHermes: 14a8668d9edceafa64dedf2c81a9fc768573fdbe
React-runtimescheduler: 3e0c392d0fb698058cc1a52c66e63b77e4ccec07 React-runtimescheduler: 3e0c392d0fb698058cc1a52c66e63b77e4ccec07
React-utils: d8d6266954b2f49421536506ead1ebe45d300b0d React-utils: d8d6266954b2f49421536506ead1ebe45d300b0d
ReactAppDependencyProvider: 33651da5295ac54a5ed51e15a0ef8ac4d4d41343
ReactCodegen: 0e8903a6711bddc034bd81fc948435ab59247918 ReactCodegen: 0e8903a6711bddc034bd81fc948435ab59247918
ReactCommon: 25695822dfc22cadb6608f441af101f78006b640 ReactCommon: 25695822dfc22cadb6608f441af101f78006b640
RNScreens: d607af53a52b2c304d3f40f661dab0a7708494a6 RNScreens: bcbd4a4ee64f7dbbbc217dc06a0abefc40361e27
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
Yoga: dabc40a9b466f4ba2191985c93fc506a3e13e807 Yoga: dabc40a9b466f4ba2191985c93fc506a3e13e807
ZXingObjC: 8898711ab495761b2dbbdec76d90164a6d7e14c5 ZXingObjC: 8898711ab495761b2dbbdec76d90164a6d7e14c5
PODFILE CHECKSUM: 42866ee39b51ba92ca37055bddeeb2f9aa49668e PODFILE CHECKSUM: e6ed4de5e12d64254cebcb56051cfadf4561425c
COCOAPODS: 1.16.2 COCOAPODS: 1.16.2

View file

@ -0,0 +1,3 @@
# Clean up build to force reconfiguration
system("rm -rf build")
system("pod install")