Xcode project .xcodeproj файл поврежден - PullRequest
0 голосов
/ 20 мая 2019

Я пытаюсь найти ошибки в моем файле .xcodeproj, используя Kin: https://github.com/Karumi/Kin

После нахождения ошибки ниже:

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.
...