iOS 集成RN Installing glog (0.3.5)报错的解决方案
在集成执行RN bundle exec pod install 命令到Installing glog (0.3.5)时报错,报错信息如下:
Installing glog (0.3.5)
[!] /bin/bash -c
set -e
#!/bin/bash
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.set -ePLATFORM_NAME="${PLATFORM_NAME:-iphoneos}"
CURRENT_ARCH="${CURRENT_ARCH}"if [ -z "$CURRENT_ARCH" ] || [ "$CURRENT_ARCH" == "undefined_arch" ]; then# Xcode 10 beta sets CURRENT_ARCH to "undefined_arch", this leads to incorrect linker arg.# it's better to rely on platform name as fallback because architecture differs between simulator and deviceif [[ "$PLATFORM