AppCenter POD:没有此类文件或目录

时间:2019-05-06 09:40:11

标签: ios xcode react-native cocoapods

一旦我将一个Pod添加到xCode项目中,我就会遇到错误

   diff: /Users/PATH/ios/./Podfile.lock: No such file or directory
   diff: /Users/PATH/ios/./Manifest.lock: No such file or directory
   error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

我尝试更新pod,然后再次安装。但是结果是一样的。

清单锁定设置:

diff "${PODS_PODFILE_DIR_PATH}/Podfile.lock" "${PODS_PODFILE_DIR_PATH}/Manifest.lock" > /dev/null
if [ $? != 0 ] ; then
    # print error to STDERR
    echo "error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation." >&2
    exit 1
fi
# This output is used by Xcode 'outputs' to avoid re-running this script phase.
echo "SUCCESS" > "${SCRIPT_OUTPUT_FILE_0}"

如果有人解决了此问题,请让我知道解决方案。

0 个答案:

没有答案