From 89aa04042c68c75117a7754bcef13725af3f748d Mon Sep 17 00:00:00 2001 From: noumantahir Date: Tue, 16 Jan 2024 14:42:40 +0500 Subject: [PATCH 1/2] xcode 15 build fix --- ios/Ecency.xcodeproj/project.pbxproj | 220 +++++++++++++-------------- ios/Podfile | 2 +- ios/Podfile.lock | 2 +- 3 files changed, 112 insertions(+), 112 deletions(-) diff --git a/ios/Ecency.xcodeproj/project.pbxproj b/ios/Ecency.xcodeproj/project.pbxproj index bc4ce4a5f5..0541f59cea 100644 --- a/ios/Ecency.xcodeproj/project.pbxproj +++ b/ios/Ecency.xcodeproj/project.pbxproj @@ -32,12 +32,12 @@ 58F9BCC724793C61004F0790 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 58F9BCC224793C61004F0790 /* GoogleService-Info.plist */; }; 58F9BCC824793C61004F0790 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 58F9BCC224793C61004F0790 /* GoogleService-Info.plist */; }; 7C8D083700274C80BADEB3D6 /* Sansation_Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F1D77AE9F7B24CF19834052B /* Sansation_Bold.ttf */; }; + 7F4B937591C4B6E56EB991C4 /* libPods-ImageNotifi.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A196C466DE2A7EDB0F359F82 /* libPods-ImageNotifi.a */; }; 89D99F65314A416290F8D921 /* Roboto.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 64F2A611E6EF486C8D3FB82C /* Roboto.ttf */; }; 92082305364D41A4A673F950 /* RobotoMono-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 5795D1B1C55E46FF96CC4AED /* RobotoMono-Regular.ttf */; }; A57EE8B63D4948F0A05218E3 /* rubicon-icon-font.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 65F56948860941D6BA55779F /* rubicon-icon-font.ttf */; }; - C5CD49D46F1B75DEB7A7D979 /* libPods-ImageNotifi.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4484DD48A60746354AF16DFC /* libPods-ImageNotifi.a */; }; - DB5B24B5E945145AFBAEC65C /* libPods-Ecency-EcencyTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 54F2A8BF9BF82EB2EF644B72 /* libPods-Ecency-EcencyTests.a */; }; - F3823F094DF1C33F5247C5E4 /* libPods-Ecency.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ED1760CCC1ACAD181CF8701B /* libPods-Ecency.a */; }; + B58B9396BD78ED1D9F0F5CDF /* libPods-Ecency-EcencyTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 96E7FF80CADE8D5E6A44B1D7 /* libPods-Ecency-EcencyTests.a */; }; + E95263EDFE61407A8FF47536 /* libPods-Ecency.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F745E31B251FEB4BD84D886B /* libPods-Ecency.a */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -117,6 +117,7 @@ 06844A5429119F05002FCC34 /* BootSplash.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = BootSplash.storyboard; path = Ecency/BootSplash.storyboard; sourceTree = ""; }; 06F72CA2290B2159003392F3 /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = Ecency/AppDelegate.mm; sourceTree = ""; }; 06F72CA5290B2D7F003392F3 /* hermes.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = hermes.xcframework; path = "Pods/hermes-engine/destroot/Library/Frameworks/universal/hermes.xcframework"; sourceTree = ""; }; + 0E93EA179D3FC78E69DBC1DE /* Pods-Ecency.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Ecency.debug.xcconfig"; path = "Target Support Files/Pods-Ecency/Pods-Ecency.debug.xcconfig"; sourceTree = ""; }; 112758B0BBF9458381CE41FD /* FontAwesome.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; }; 11CAB2F9B4B7425ABCAB4007 /* Foundation.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Foundation.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; }; 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = Ecency/AppDelegate.h; sourceTree = ""; }; @@ -130,9 +131,7 @@ 2D02E4901E0B4A5D006451C7 /* Ecency-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Ecency-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 34E88D888DD444F8B285363C /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SimpleLineIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; }; 420ABF9795564845A0963C27 /* Feather.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Feather.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Feather.ttf"; sourceTree = ""; }; - 4484DD48A60746354AF16DFC /* libPods-ImageNotifi.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ImageNotifi.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 4EB466C53BAE4EDC904357B3 /* FontAwesome5_Solid.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome5_Solid.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf"; sourceTree = ""; }; - 54F2A8BF9BF82EB2EF644B72 /* libPods-Ecency-EcencyTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Ecency-EcencyTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 5795D1B1C55E46FF96CC4AED /* RobotoMono-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "RobotoMono-Regular.ttf"; path = "../src/assets/fonts/RobotoMono-Regular.ttf"; sourceTree = ""; }; 58190B3B23294814000EA0E1 /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = System/Library/Frameworks/StoreKit.framework; sourceTree = SDKROOT; }; 58190B3D23294823000EA0E1 /* Ecency.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = Ecency.entitlements; path = Ecency/Ecency.entitlements; sourceTree = ""; }; @@ -146,24 +145,25 @@ 64F2A611E6EF486C8D3FB82C /* Roboto.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Roboto.ttf; path = ../src/assets/fonts/Roboto.ttf; sourceTree = ""; }; 65F56948860941D6BA55779F /* rubicon-icon-font.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "rubicon-icon-font.ttf"; path = "../src/assets/fonts/rubicon-icon-font.ttf"; sourceTree = ""; }; 6D935B44FB5A4CF3BF4D01DF /* Ionicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Ionicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; }; - 71637988A8C0116FCD68A50C /* Pods-Ecency-EcencyTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Ecency-EcencyTests.release.xcconfig"; path = "Target Support Files/Pods-Ecency-EcencyTests/Pods-Ecency-EcencyTests.release.xcconfig"; sourceTree = ""; }; 7900A87FFF214846B5FE0430 /* Roboto-medium.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-medium.ttf"; path = "../src/assets/fonts/Roboto-medium.ttf"; sourceTree = ""; }; - 7C697DCF6F04795709967001 /* Pods-ImageNotifi.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ImageNotifi.debug.xcconfig"; path = "Target Support Files/Pods-ImageNotifi/Pods-ImageNotifi.debug.xcconfig"; sourceTree = ""; }; - 7CA590193DB67DAF1ACA6014 /* Pods-Ecency-EcencyTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Ecency-EcencyTests.debug.xcconfig"; path = "Target Support Files/Pods-Ecency-EcencyTests/Pods-Ecency-EcencyTests.debug.xcconfig"; sourceTree = ""; }; + 86471A8AF5F4F4D5DF6DAE4C /* Pods-ImageNotifi.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ImageNotifi.debug.xcconfig"; path = "Target Support Files/Pods-ImageNotifi/Pods-ImageNotifi.debug.xcconfig"; sourceTree = ""; }; 93B182C6FFA44610AB188D7C /* Entypo.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Entypo.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; }; 9464AFB033664B4F8E9F0BED /* AntDesign.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = AntDesign.ttf; path = "../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf"; sourceTree = ""; }; + 96E7FF80CADE8D5E6A44B1D7 /* libPods-Ecency-EcencyTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Ecency-EcencyTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 980BC9BC0D3B4AC69645C842 /* Zocial.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Zocial.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; }; 98D3D7C3AF354BF0987A2BFA /* Fontisto.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Fontisto.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf"; sourceTree = ""; }; 9BC08A790166415B9BB3F5CF /* FontAwesome5_Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome5_Regular.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf"; sourceTree = ""; }; + 9D3C26873EDE75EAB53BFB25 /* Pods-ImageNotifi.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ImageNotifi.release.xcconfig"; path = "Target Support Files/Pods-ImageNotifi/Pods-ImageNotifi.release.xcconfig"; sourceTree = ""; }; + A196C466DE2A7EDB0F359F82 /* libPods-ImageNotifi.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ImageNotifi.a"; sourceTree = BUILT_PRODUCTS_DIR; }; A239FC84622A4A9CA7950ED9 /* EvilIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = EvilIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; }; - BAA535169905BC192570B8E8 /* Pods-ImageNotifi.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ImageNotifi.release.xcconfig"; path = "Target Support Files/Pods-ImageNotifi/Pods-ImageNotifi.release.xcconfig"; sourceTree = ""; }; + B043CF4E46756BBE6F534B2F /* Pods-Ecency.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Ecency.release.xcconfig"; path = "Target Support Files/Pods-Ecency/Pods-Ecency.release.xcconfig"; sourceTree = ""; }; BB1093ACCD904E2883413214 /* FontAwesome5_Brands.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome5_Brands.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf"; sourceTree = ""; }; - ED1760CCC1ACAD181CF8701B /* libPods-Ecency.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Ecency.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + C55E20918B50C26F84B3E393 /* Pods-Ecency-EcencyTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Ecency-EcencyTests.debug.xcconfig"; path = "Target Support Files/Pods-Ecency-EcencyTests/Pods-Ecency-EcencyTests.debug.xcconfig"; sourceTree = ""; }; + EC8C84E67DFF9468B2FD3F8A /* Pods-Ecency-EcencyTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Ecency-EcencyTests.release.xcconfig"; path = "Target Support Files/Pods-Ecency-EcencyTests/Pods-Ecency-EcencyTests.release.xcconfig"; sourceTree = ""; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; }; F1D77AE9F7B24CF19834052B /* Sansation_Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Sansation_Bold.ttf; path = ../src/assets/fonts/Sansation_Bold.ttf; sourceTree = ""; }; - F70C473E4325DFCBF55BC1D1 /* Pods-Ecency.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Ecency.debug.xcconfig"; path = "Target Support Files/Pods-Ecency/Pods-Ecency.debug.xcconfig"; sourceTree = ""; }; - FC495F97649F7DCCD265703A /* Pods-Ecency.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Ecency.release.xcconfig"; path = "Target Support Files/Pods-Ecency/Pods-Ecency.release.xcconfig"; sourceTree = ""; }; + F745E31B251FEB4BD84D886B /* libPods-Ecency.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Ecency.a"; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -171,7 +171,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - DB5B24B5E945145AFBAEC65C /* libPods-Ecency-EcencyTests.a in Frameworks */, + B58B9396BD78ED1D9F0F5CDF /* libPods-Ecency-EcencyTests.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -186,7 +186,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - C5CD49D46F1B75DEB7A7D979 /* libPods-ImageNotifi.a in Frameworks */, + 7F4B937591C4B6E56EB991C4 /* libPods-ImageNotifi.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -196,7 +196,7 @@ files = ( 05B6C49424C306CE00B7FA60 /* StoreKit.framework in Frameworks */, 065B9DDE2930E42A004310E4 /* hermes.xcframework in Frameworks */, - F3823F094DF1C33F5247C5E4 /* libPods-Ecency.a in Frameworks */, + E95263EDFE61407A8FF47536 /* libPods-Ecency.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -280,12 +280,12 @@ 258E34A3BDFFFBF80D598187 /* Pods */ = { isa = PBXGroup; children = ( - F70C473E4325DFCBF55BC1D1 /* Pods-Ecency.debug.xcconfig */, - FC495F97649F7DCCD265703A /* Pods-Ecency.release.xcconfig */, - 7CA590193DB67DAF1ACA6014 /* Pods-Ecency-EcencyTests.debug.xcconfig */, - 71637988A8C0116FCD68A50C /* Pods-Ecency-EcencyTests.release.xcconfig */, - 7C697DCF6F04795709967001 /* Pods-ImageNotifi.debug.xcconfig */, - BAA535169905BC192570B8E8 /* Pods-ImageNotifi.release.xcconfig */, + 0E93EA179D3FC78E69DBC1DE /* Pods-Ecency.debug.xcconfig */, + B043CF4E46756BBE6F534B2F /* Pods-Ecency.release.xcconfig */, + C55E20918B50C26F84B3E393 /* Pods-Ecency-EcencyTests.debug.xcconfig */, + EC8C84E67DFF9468B2FD3F8A /* Pods-Ecency-EcencyTests.release.xcconfig */, + 86471A8AF5F4F4D5DF6DAE4C /* Pods-ImageNotifi.debug.xcconfig */, + 9D3C26873EDE75EAB53BFB25 /* Pods-ImageNotifi.release.xcconfig */, ); path = Pods; sourceTree = ""; @@ -299,9 +299,9 @@ 58190B3B23294814000EA0E1 /* StoreKit.framework */, ED297162215061F000B7C4FE /* JavaScriptCore.framework */, ED2971642150620600B7C4FE /* JavaScriptCore.framework */, - ED1760CCC1ACAD181CF8701B /* libPods-Ecency.a */, - 54F2A8BF9BF82EB2EF644B72 /* libPods-Ecency-EcencyTests.a */, - 4484DD48A60746354AF16DFC /* libPods-ImageNotifi.a */, + F745E31B251FEB4BD84D886B /* libPods-Ecency.a */, + 96E7FF80CADE8D5E6A44B1D7 /* libPods-Ecency-EcencyTests.a */, + A196C466DE2A7EDB0F359F82 /* libPods-ImageNotifi.a */, ); name = Frameworks; sourceTree = ""; @@ -400,12 +400,12 @@ isa = PBXNativeTarget; buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "EcencyTests" */; buildPhases = ( - 246CACE3AFA4F5D163C20B46 /* [CP] Check Pods Manifest.lock */, + 26FAE3A14F287A3FCABE74A7 /* [CP] Check Pods Manifest.lock */, 00E356EA1AD99517003FC87E /* Sources */, 00E356EB1AD99517003FC87E /* Frameworks */, 00E356EC1AD99517003FC87E /* Resources */, - 43C487FE305A92E80E54E7E3 /* [CP] Embed Pods Frameworks */, - 5DA65CD8FFDA43C8F44CD0BB /* [CP] Copy Pods Resources */, + 51C232B8F2A9F5191B72EDC0 /* [CP] Embed Pods Frameworks */, + AD0EC71B2C4EF32ACDBD89A0 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -437,7 +437,7 @@ isa = PBXNativeTarget; buildConfigurationList = 057A51A92AD4962400E9A768 /* Build configuration list for PBXNativeTarget "ImageNotifi" */; buildPhases = ( - C1CDFA1BB1A4DEA496951D1F /* [CP] Check Pods Manifest.lock */, + B728D9E51D642898909EB594 /* [CP] Check Pods Manifest.lock */, 057A519C2AD4962300E9A768 /* Sources */, 057A519D2AD4962300E9A768 /* Frameworks */, 057A519E2AD4962300E9A768 /* Resources */, @@ -455,7 +455,7 @@ isa = PBXNativeTarget; buildConfigurationList = 05B6C4B424C306CE00B7FA60 /* Build configuration list for PBXNativeTarget "Ecency" */; buildPhases = ( - F09C461DA2AAFAC159B5A3B2 /* [CP] Check Pods Manifest.lock */, + 7FCF6F7C79E89412E456FA3E /* [CP] Check Pods Manifest.lock */, 05B6C48E24C306CE00B7FA60 /* Start Packager */, 05B6C48F24C306CE00B7FA60 /* Sources */, 05B6C49324C306CE00B7FA60 /* Frameworks */, @@ -464,9 +464,9 @@ 58C9F50524CE017800A026DD /* Embed App Extensions */, 05BAAAEE25BF43F80072EA01 /* ShellScript */, 3D1F6693773C4541A695BB3C /* Upload source maps to Bugsnag */, - A67ABA0F3492E858DBFEC682 /* [CP] Embed Pods Frameworks */, - 9A1E927B4FFB0FF63ED43910 /* [CP] Copy Pods Resources */, - FCB8462601C23AADF25E446C /* [CP-User] [RNFB] Core Configuration */, + 40F6482D50BEB20067A47019 /* [CP] Embed Pods Frameworks */, + 4EC729866BDF33B6CAF6238A /* [CP] Copy Pods Resources */, + E74ECFFB3C7227FD3FBF19CF /* [CP-User] [RNFB] Core Configuration */, ); buildRules = ( ); @@ -717,7 +717,7 @@ shellPath = /bin/sh; shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n"; }; - 246CACE3AFA4F5D163C20B46 /* [CP] Check Pods Manifest.lock */ = { + 26FAE3A14F287A3FCABE74A7 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -753,13 +753,13 @@ shellPath = /bin/sh; shellScript = "SOURCE_MAP=\"$TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\" ../node_modules/@bugsnag/react-native/bugsnag-react-native-xcode.sh"; }; - 43C487FE305A92E80E54E7E3 /* [CP] Embed Pods Frameworks */ = { + 40F6482D50BEB20067A47019 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Ecency-EcencyTests/Pods-Ecency-EcencyTests-frameworks.sh", + "${PODS_ROOT}/Target Support Files/Pods-Ecency/Pods-Ecency-frameworks.sh", "${PODS_XCFRAMEWORKS_BUILD_DIR}/Flipper-DoubleConversion/double-conversion.framework/double-conversion", "${PODS_XCFRAMEWORKS_BUILD_DIR}/Flipper-Glog/glog.framework/glog", "${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL", @@ -774,30 +774,16 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Ecency-EcencyTests/Pods-Ecency-EcencyTests-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Ecency/Pods-Ecency-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - 57F4EECD4004FE3420E6DF92 /* Bundle React Native Code And Images */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Bundle React Native Code And Images"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "export EXTRA_PACKAGER_ARGS=\"--sourcemap-output $TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\"\nexport EXTRA_PACKAGER_ARGS=\"--sourcemap-output $CONFIGURATION_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/main.jsbundle.map\"\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; - }; - 5DA65CD8FFDA43C8F44CD0BB /* [CP] Copy Pods Resources */ = { + 4EC729866BDF33B6CAF6238A /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Ecency-EcencyTests/Pods-Ecency-EcencyTests-resources.sh", + "${PODS_ROOT}/Target Support Files/Pods-Ecency/Pods-Ecency-resources.sh", "${PODS_CONFIGURATION_BUILD_DIR}/RNImageCropPicker/QBImagePicker.bundle", "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf", "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf", @@ -842,16 +828,76 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Ecency-EcencyTests/Pods-Ecency-EcencyTests-resources.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Ecency/Pods-Ecency-resources.sh\"\n"; showEnvVarsInLog = 0; }; - 9A1E927B4FFB0FF63ED43910 /* [CP] Copy Pods Resources */ = { + 51C232B8F2A9F5191B72EDC0 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Ecency/Pods-Ecency-resources.sh", + "${PODS_ROOT}/Target Support Files/Pods-Ecency-EcencyTests/Pods-Ecency-EcencyTests-frameworks.sh", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/Flipper-DoubleConversion/double-conversion.framework/double-conversion", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/Flipper-Glog/glog.framework/glog", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/hermes.framework/hermes", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/double-conversion.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/glog.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Ecency-EcencyTests/Pods-Ecency-EcencyTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 57F4EECD4004FE3420E6DF92 /* Bundle React Native Code And Images */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Bundle React Native Code And Images"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "export EXTRA_PACKAGER_ARGS=\"--sourcemap-output $TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\"\nexport EXTRA_PACKAGER_ARGS=\"--sourcemap-output $CONFIGURATION_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/main.jsbundle.map\"\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; + }; + 7FCF6F7C79E89412E456FA3E /* [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-Ecency-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; + }; + AD0EC71B2C4EF32ACDBD89A0 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Ecency-EcencyTests/Pods-Ecency-EcencyTests-resources.sh", "${PODS_CONFIGURATION_BUILD_DIR}/RNImageCropPicker/QBImagePicker.bundle", "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf", "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf", @@ -896,34 +942,10 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Ecency/Pods-Ecency-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - A67ABA0F3492E858DBFEC682 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Ecency/Pods-Ecency-frameworks.sh", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/Flipper-DoubleConversion/double-conversion.framework/double-conversion", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/Flipper-Glog/glog.framework/glog", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/hermes.framework/hermes", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/double-conversion.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/glog.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Ecency/Pods-Ecency-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Ecency-EcencyTests/Pods-Ecency-EcencyTests-resources.sh\"\n"; showEnvVarsInLog = 0; }; - C1CDFA1BB1A4DEA496951D1F /* [CP] Check Pods Manifest.lock */ = { + B728D9E51D642898909EB594 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -945,29 +967,7 @@ 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; }; - F09C461DA2AAFAC159B5A3B2 /* [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-Ecency-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; - }; - FCB8462601C23AADF25E446C /* [CP-User] [RNFB] Core Configuration */ = { + E74ECFFB3C7227FD3FBF19CF /* [CP-User] [RNFB] Core Configuration */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -1087,7 +1087,7 @@ /* Begin XCBuildConfiguration section */ 00E356F61AD99517003FC87E /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 7CA590193DB67DAF1ACA6014 /* Pods-Ecency-EcencyTests.debug.xcconfig */; + baseConfigurationReference = C55E20918B50C26F84B3E393 /* Pods-Ecency-EcencyTests.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; @@ -1124,7 +1124,7 @@ }; 00E356F71AD99517003FC87E /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 71637988A8C0116FCD68A50C /* Pods-Ecency-EcencyTests.release.xcconfig */; + baseConfigurationReference = EC8C84E67DFF9468B2FD3F8A /* Pods-Ecency-EcencyTests.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; @@ -1236,7 +1236,7 @@ }; 057A51AA2AD4962400E9A768 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 7C697DCF6F04795709967001 /* Pods-ImageNotifi.debug.xcconfig */; + baseConfigurationReference = 86471A8AF5F4F4D5DF6DAE4C /* Pods-ImageNotifi.debug.xcconfig */; buildSettings = { CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; @@ -1279,7 +1279,7 @@ }; 057A51AB2AD4962400E9A768 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = BAA535169905BC192570B8E8 /* Pods-ImageNotifi.release.xcconfig */; + baseConfigurationReference = 9D3C26873EDE75EAB53BFB25 /* Pods-ImageNotifi.release.xcconfig */; buildSettings = { CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; @@ -1322,7 +1322,7 @@ }; 05B6C4B524C306CE00B7FA60 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = F70C473E4325DFCBF55BC1D1 /* Pods-Ecency.debug.xcconfig */; + baseConfigurationReference = 0E93EA179D3FC78E69DBC1DE /* Pods-Ecency.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; @@ -1407,7 +1407,7 @@ }; 05B6C4B624C306CE00B7FA60 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = FC495F97649F7DCCD265703A /* Pods-Ecency.release.xcconfig */; + baseConfigurationReference = B043CF4E46756BBE6F534B2F /* Pods-Ecency.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; diff --git a/ios/Podfile b/ios/Podfile index 648931dcf6..1c35d2000f 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -76,7 +76,7 @@ target 'Ecency' do target.build_configurations.each do |config| config.build_settings["ONLY_ACTIVE_ARCH"] = "NO" - + config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', '_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION'] end #this workaround resolves duplicate symbolds caused by GCDAsyncSocket inclusion in TcpSockets diff --git a/ios/Podfile.lock b/ios/Podfile.lock index c3edea8fdb..a2ba9eeaf9 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1130,6 +1130,6 @@ SPEC CHECKSUMS: Yoga: 92d086bb705a41cc588599b51db726ba7b1d341c YogaKit: f782866e155069a2cca2517aafea43200b01fd5a -PODFILE CHECKSUM: 6b212d63236c21489948e9b73b59fcff2feeeb08 +PODFILE CHECKSUM: 4a3bfe1f812d246ed7f7f03683c96b793859bec0 COCOAPODS: 1.14.3 From 9eb972e1e18f3a767d674f5e4183780909260120 Mon Sep 17 00:00:00 2001 From: noumantahir Date: Wed, 17 Jan 2024 19:07:29 +0500 Subject: [PATCH 2/2] starting image preview from selected image index --- ios/Podfile.lock | 2 +- .../postElements/body/view/postBodyView.js | 12 +++++++++--- .../postHtmlRenderer/postInteractionHandler.tsx | 12 +++++++++--- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index a2ba9eeaf9..9be963840b 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1130,6 +1130,6 @@ SPEC CHECKSUMS: Yoga: 92d086bb705a41cc588599b51db726ba7b1d341c YogaKit: f782866e155069a2cca2517aafea43200b01fd5a -PODFILE CHECKSUM: 4a3bfe1f812d246ed7f7f03683c96b793859bec0 +PODFILE CHECKSUM: 12de1cef1f783b307ec212531b3c99dae87c022f COCOAPODS: 1.14.3 diff --git a/src/components/postElements/body/view/postBodyView.js b/src/components/postElements/body/view/postBodyView.js index 7016e65aa4..a76e67dad2 100644 --- a/src/components/postElements/body/view/postBodyView.js +++ b/src/components/postElements/body/view/postBodyView.js @@ -70,6 +70,7 @@ const PostBody = ({ body, metadata, onLoadEnd, width }) => { if (ind === 1) { // open gallery mode setIsImageModalOpen(true); + return; } if (ind === 0) { // copy to clipboard @@ -260,6 +261,11 @@ const PostBody = ({ body, metadata, onLoadEnd, width }) => { actionImage.current.show(); }; + const _onCloseImageViewer = () => { + setIsImageModalOpen(false); + setSelectedImage(null); + }; + const _renderImageViewerHeader = (imageIndex) => { return ( { color={EStyleSheet.value('$primaryDarkText')} buttonStyle={styles.closeIconButton} size={20} - handleOnPress={() => setIsImageModalOpen(false)} + handleOnPress={_onCloseImageViewer} /> @@ -287,11 +293,11 @@ const PostBody = ({ body, metadata, onLoadEnd, width }) => { ({ uri: url }))} - imageIndex={0} + imageIndex={postImages.indexOf(selectedImage)} visible={isImageModalOpen} animationType="slide" swipeToCloseEnabled - onRequestClose={() => setIsImageModalOpen(false)} + onRequestClose={_onCloseImageViewer} HeaderComponent={(imageIndex) => _renderImageViewerHeader(imageIndex.imageIndex)} /> diff --git a/src/components/postHtmlRenderer/postInteractionHandler.tsx b/src/components/postHtmlRenderer/postInteractionHandler.tsx index 9e52fe8e8b..9f9407ae80 100644 --- a/src/components/postHtmlRenderer/postInteractionHandler.tsx +++ b/src/components/postHtmlRenderer/postInteractionHandler.tsx @@ -145,6 +145,7 @@ export const PostHtmlInteractionHandler = forwardRef( if (ind === 1) { // open gallery mode setIsImageModalOpen(true); + return; } if (ind === 0) { // copy to clipboard @@ -195,6 +196,11 @@ export const PostHtmlInteractionHandler = forwardRef( setSelectedLink(null); }; + const _onCloseImageViewer = () => { + setIsImageModalOpen(false); + setSelectedImage(null); + }; + const _renderImageViewerHeader = (imageIndex) => { return ( setIsImageModalOpen(false)} + handleOnPress={_onCloseImageViewer} /> @@ -222,11 +228,11 @@ export const PostHtmlInteractionHandler = forwardRef( ({ uri: url }))} - imageIndex={0} + imageIndex={postImages.indexOf(selectedImage)} visible={isImageModalOpen} animationType="slide" swipeToCloseEnabled - onRequestClose={() => setIsImageModalOpen(false)} + onRequestClose={_onCloseImageViewer} HeaderComponent={(imageIndex) => _renderImageViewerHeader(imageIndex.imageIndex)} />