Error in operating pod set up.
I have been making an attempt to run pod set up however it retains failing on all initiatives, I even created new initiatives from scratch to eradicate the suspicion that it is likely to be an error within the configuration however it additionally failed .
I’ve tried gem cocoapods and brew cocoapods, I’ve additionally tried with and with out arch -x86_64 however nothing works I’ve additionally tried every thing in these hyperlinks:
React Native pod set up failed on Apple Silicon (M1)

Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
Fetching podspec for `increase` from `../node_modules/react-native/third-party-podspecs/increase.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Downloading dependencies
Putting in CocoaAsyncSocket (7.6.5)
Putting in DoubleConversion (1.1.6)
Putting in FBLazyVector (0.67.4)
Putting in FBReactNativeSpec (0.67.4)
Putting in Flipper (0.99.0)
Putting in Flipper-Increase-iOSX (1.76.0.1.11)
Putting in Flipper-DoubleConversion (3.1.7)
Putting in Flipper-Fmt (7.1.7)
Putting in Flipper-Folly (2.6.7)
Putting in Flipper-Glog (0.3.6)
[!] /bin/bash -c 
set -e
#!/bin/bash
# Copyright (c) Fb, Inc. and its associates.
#
# This supply code is licensed beneath the MIT license discovered within the
# LICENSE file within the root listing of this supply tree.

set -e

PLATFORM_NAME="${PLATFORM_NAME:-iphoneos}"
CURRENT_ARCH="${CURRENT_ARCH}"

if [ -z "$CURRENT_ARCH" ] || [ "$CURRENT_ARCH" == "undefined_arch" ]; then
    # Xcode 10 beta units CURRENT_ARCH to "undefined_arch", this results in incorrect linker arg.
    # it is higher to depend on platform identify as fallback as a result of structure differs between simulator and gadget

    if [[ "$PLATFORM_NAME" == *"simulator"* ]]; then
        CURRENT_ARCH="x86_64"
    else
        CURRENT_ARCH="armv7"
    fi
fi

export CC="$(xcrun -find -sdk $PLATFORM_NAME cc) -arch $CURRENT_ARCH -isysroot $(xcrun -sdk $PLATFORM_NAME --show-sdk-path)"
export CXX="$CC"

# Take away automake symlink if it exists
if [ -h "test-driver" ]; then
    rm test-driver
fi

./configure --host arm-apple-darwin

# Repair construct for tvOS
cat << EOF >> src/config.h
/* Add in so we now have Apple Goal Conditionals */
#ifdef __APPLE__
#embody <TargetConditionals.h>
#embody <Availability.h>
#endif
/* Particular configuration for AppleTVOS */
#if TARGET_OS_TV
#undef HAVE_SYSCALL_H
#undef HAVE_SYS_SYSCALL_H
#undef OS_MACOSX
#endif
/* Particular configuration for ucontext */
#undef HAVE_UCONTEXT_H
#undef PC_FROM_UCONTEXT
#if outlined(__x86_64__)
#outline PC_FROM_UCONTEXT uc_mcontext->__ss.__rip
#elif outlined(__i386__)
#outline PC_FROM_UCONTEXT uc_mcontext->__ss.__eip
#endif
EOF

# Put together exported header embody
EXPORTED_INCLUDE_DIR="exported/glog"
mkdir -p exported/glog
cp -f src/glog/log_severity.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/raw_logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/stl_logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/vlog_is_on.h "$EXPORTED_INCLUDE_DIR/"

checking for a BSD-compatible set up... /choose/homebrew/bin/ginstall -c
checking whether or not construct atmosphere is sane... sure
checking for arm-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /choose/homebrew/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether or not make units $(MAKE)... sure
checking whether or not make helps nested variables... sure
checking for arm-apple-darwin-gcc... /Functions/Developer Instruments/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch armv7 -isysroot /Functions/Developer Instruments/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk
checking whether or not the C compiler works... no
/Customers/samimishal/Library/Caches/CocoaPods/Pods/Launch/Flipper-Glog/0.3.6-1dfd6/lacking: Unknown `--is-lightweight' choice
Strive `/Customers/samimishal/Library/Caches/CocoaPods/Pods/Launch/Flipper-Glog/0.3.6-1dfd6/lacking --help' for extra data
configure: WARNING: 'lacking' script is simply too previous or lacking
configure: error: in `/Customers/samimishal/Library/Caches/CocoaPods/Pods/Launch/Flipper-Glog/0.3.6-1dfd6':
configure: error: C compiler can't create executables
See `config.log' for extra particulars

Sammy Mishal is a brand new contributor to this website. Take care in asking for clarification, commenting, and answering.
Take a look at our Code of Conduct.