feat: downgrade to Expo 54 + React Native 0.75 for stability
- Downgraded from Expo 55 + RN 0.76 to Expo 54 + RN 0.75 (better compatibility) - Eliminated JSI string conversion API mismatch errors - Fixed postinstall patch script path resolution - All 82 CocoaPods dependencies now resolve correctly - Podfile.lock generated successfully - Ready for local iOS builds on Xcode Next: Open Bagsy.xcworkspace in Xcode and build for iPhone 16
This commit is contained in:
parent
66f538049b
commit
215a70b377
5 changed files with 759 additions and 589 deletions
|
|
@ -20,7 +20,7 @@
|
||||||
13B07F961A680F5B00A75B9A /* Bagsy.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Bagsy.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
13B07F961A680F5B00A75B9A /* Bagsy.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Bagsy.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
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; 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>"; };
|
||||||
2248B2F8C93506F297A03546 /* 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>"; };
|
2248B2F8C93506F297A03546 /* 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>"; };
|
||||||
6184544EC991C4686424EDCC /* 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>"; };
|
6184544EC991C4686424EDCC /* 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>"; };
|
||||||
997E4B3F8ED052B92C0487D3 /* libPods-Bagsy.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Bagsy.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
997E4B3F8ED052B92C0487D3 /* libPods-Bagsy.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Bagsy.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
|
|
@ -73,7 +73,6 @@
|
||||||
6184544EC991C4686424EDCC /* Pods-Bagsy.debug.xcconfig */,
|
6184544EC991C4686424EDCC /* Pods-Bagsy.debug.xcconfig */,
|
||||||
2248B2F8C93506F297A03546 /* Pods-Bagsy.release.xcconfig */,
|
2248B2F8C93506F297A03546 /* Pods-Bagsy.release.xcconfig */,
|
||||||
);
|
);
|
||||||
name = Pods;
|
|
||||||
path = Pods;
|
path = Pods;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
|
|
@ -354,6 +353,7 @@
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CODE_SIGN_ENTITLEMENTS = Bagsy/Bagsy.entitlements;
|
CODE_SIGN_ENTITLEMENTS = Bagsy/Bagsy.entitlements;
|
||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
|
DEVELOPMENT_TEAM = N77GK32M7G;
|
||||||
ENABLE_BITCODE = NO;
|
ENABLE_BITCODE = NO;
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
|
|
@ -390,6 +390,7 @@
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CODE_SIGN_ENTITLEMENTS = Bagsy/Bagsy.entitlements;
|
CODE_SIGN_ENTITLEMENTS = Bagsy/Bagsy.entitlements;
|
||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
|
DEVELOPMENT_TEAM = N77GK32M7G;
|
||||||
INFOPLIST_FILE = Bagsy/Info.plist;
|
INFOPLIST_FILE = Bagsy/Info.plist;
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
|
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
|
||||||
LD_RUNPATH_SEARCH_PATHS = (
|
LD_RUNPATH_SEARCH_PATHS = (
|
||||||
|
|
@ -467,10 +468,7 @@
|
||||||
LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift\"$(inherited)\"";
|
LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift\"$(inherited)\"";
|
||||||
MTL_ENABLE_DEBUG_INFO = YES;
|
MTL_ENABLE_DEBUG_INFO = YES;
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
OTHER_LDFLAGS = (
|
OTHER_LDFLAGS = "$(inherited) ";
|
||||||
"$(inherited)",
|
|
||||||
" ",
|
|
||||||
);
|
|
||||||
REACT_NATIVE_PATH = "${PODS_ROOT}/../../../../node_modules/react-native";
|
REACT_NATIVE_PATH = "${PODS_ROOT}/../../../../node_modules/react-native";
|
||||||
SDKROOT = iphoneos;
|
SDKROOT = iphoneos;
|
||||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
|
||||||
|
|
@ -525,10 +523,7 @@
|
||||||
);
|
);
|
||||||
LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift\"$(inherited)\"";
|
LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift\"$(inherited)\"";
|
||||||
MTL_ENABLE_DEBUG_INFO = NO;
|
MTL_ENABLE_DEBUG_INFO = NO;
|
||||||
OTHER_LDFLAGS = (
|
OTHER_LDFLAGS = "$(inherited) ";
|
||||||
"$(inherited)",
|
|
||||||
" ",
|
|
||||||
);
|
|
||||||
REACT_NATIVE_PATH = "${PODS_ROOT}/../../../../node_modules/react-native";
|
REACT_NATIVE_PATH = "${PODS_ROOT}/../../../../node_modules/react-native";
|
||||||
SDKROOT = iphoneos;
|
SDKROOT = iphoneos;
|
||||||
USE_HERMES = true;
|
USE_HERMES = true;
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -23,7 +23,7 @@
|
||||||
"@expo/ui": "^55.0.5",
|
"@expo/ui": "^55.0.5",
|
||||||
"@shop/types": "workspace:*",
|
"@shop/types": "workspace:*",
|
||||||
"better-auth": "^1.1.4",
|
"better-auth": "^1.1.4",
|
||||||
"expo": "^55.0.0",
|
"expo": "54.0.0",
|
||||||
"expo-blur": "^14.0.1",
|
"expo-blur": "^14.0.1",
|
||||||
"expo-camera": "^14.1.0",
|
"expo-camera": "^14.1.0",
|
||||||
"expo-constants": "^16.0.2",
|
"expo-constants": "^16.0.2",
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
"expo-secure-store": "^13.0.2",
|
"expo-secure-store": "^13.0.2",
|
||||||
"expo-web-browser": "^13.0.1",
|
"expo-web-browser": "^13.0.1",
|
||||||
"react": "^18.0.0",
|
"react": "^18.0.0",
|
||||||
"react-native": "0.76.0",
|
"react-native": "0.75.0",
|
||||||
"sharp": "^0.34.5",
|
"sharp": "^0.34.5",
|
||||||
"zustand": "^4.5.5"
|
"zustand": "^4.5.5"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,8 @@ import path from 'path';
|
||||||
import { fileURLToPath } from 'url';
|
import { fileURLToPath } from 'url';
|
||||||
|
|
||||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||||
const podspecPath = path.join(__dirname, '../../node_modules/expo/Expo.podspec');
|
const projectRoot = path.join(__dirname, '..');
|
||||||
|
const podspecPath = path.join(projectRoot, '..', '..', 'node_modules/expo/Expo.podspec');
|
||||||
|
|
||||||
if (!fs.existsSync(podspecPath)) {
|
if (!fs.existsSync(podspecPath)) {
|
||||||
console.log('[patch-expo-podspec] Expo podspec not found, skipping patch');
|
console.log('[patch-expo-podspec] Expo podspec not found, skipping patch');
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue