File tree 1 file changed +19
-0
lines changed
src/darwin/Framework/Matter.xcodeproj
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1946
1946
isa = PBXNativeTarget;
1947
1947
buildConfigurationList = B20252A12459E34F00F97062 /* Build configuration list for PBXNativeTarget "Matter" */;
1948
1948
buildPhases = (
1949
+ 9B7838562CFE3AE600FB04C4 /* Acquire git revision info */,
1949
1950
0C40A67D246C9AC700885C81 /* Run GN Build (chip_xcode_build_connector) */,
1950
1951
B20252882459E34F00F97062 /* Headers */,
1951
1952
B20252892459E34F00F97062 /* Sources */,
2059
2060
shellPath = /bin/sh;
2060
2061
shellScript = "./chip_xcode_build_connector.sh\n";
2061
2062
};
2063
+ 9B7838562CFE3AE600FB04C4 /* Acquire git revision info */ = {
2064
+ isa = PBXShellScriptBuildPhase;
2065
+ buildActionMask = 2147483647;
2066
+ files = (
2067
+ );
2068
+ inputFileListPaths = (
2069
+ );
2070
+ inputPaths = (
2071
+ );
2072
+ name = "Acquire git revision info";
2073
+ outputFileListPaths = (
2074
+ );
2075
+ outputPaths = (
2076
+ );
2077
+ runOnlyForDeploymentPostprocessing = 0;
2078
+ shellPath = /bin/sh;
2079
+ shellScript = "GIT_COMMIT_SHA=$(git rev-parse --short HEAD)\n\n# Create a temporary header file to hold the commit SHA\ntmp_header_path=\"${DERIVED_FILES_DIR}/git_commit_sha.h\"\ncat << EOF > \"$tmp_header_path\"\n#ifndef GIT_COMMIT_SHA_H\n#define GIT_COMMIT_SHA_H\n\n#define GIT_COMMIT_SHA \"${GIT_COMMIT_SHA}\"\n\n#endif /* GIT_COMMIT_SHA_H */\nEOF\n\necho \"git sha available in ${DERIVED_FILES_DIR}/git_commit_sha.h\"\n";
2080
+ };
2062
2081
/* End PBXShellScriptBuildPhase section */
2063
2082
2064
2083
/* Begin PBXSourcesBuildPhase section */
You can’t perform that action at this time.
0 commit comments