Xcode项目.xcodeproj文件已损坏

时间:2019-05-20 11:16:37

标签: xcode kin

我正在尝试使用Kin https://github.com/Karumi/Kin

在我的.xcodeproj文件中查找错误。

找到以下错误后:

MACBOOKs-MacBook-Pro:IMDBAPP macbookpro$ kin
ERROR: line 238:4 mismatched input '"$(DERIVED_FILE_DIR)/Pods-IMDBAPP-checkManifestLockResult.txt"' expecting {')', NON_QUOTED_STRING}

我检查了文件本身,但我不知道为什么她首先出现错误。

/* Begin PBXShellScriptBuildPhase section */
        B8CD782C480C7AFF83C1CAA1 /* [CP] Check Pods Manifest.lock */ = {
            isa = PBXShellScriptBuildPhase;
            buildActionMask = 2147483647;
            files = (
            );
            inputPaths = (
                "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
                "${PODS_ROOT}/Manifest.lock",
            );
            name = "[CP] Check Pods Manifest.lock";
            outputPaths = (
                "$(DERIVED_FILE_DIR)/Pods-IMDBAPP-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;
        };
/* End PBXShellScriptBuildPhase section */

第238行是:

outputPaths = (
                "$(DERIVED_FILE_DIR)/Pods-IMDBAPP-checkManifestLockResult.txt",
            );```

I cannot find any issue here, no braces not closed.

0 个答案:

没有答案