tvos: fix code sign script to use the shared iOS modules dir

This commit is contained in:
Yoshi Sugawara 2019-02-03 18:48:29 -10:00
parent 9750719074
commit 4461b55375
2 changed files with 3 additions and 3 deletions

View File

@ -470,7 +470,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "./code-sign-cores.sh iOS\n";
shellScript = "./code-sign-cores.sh\n";
};
92CC057521FE2D4900FF79F0 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
@ -487,7 +487,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "./code-sign-cores.sh tvOS\n";
shellScript = "./code-sign-cores.sh\n";
};
/* End PBXShellScriptBuildPhase section */

View File

@ -16,7 +16,7 @@ fi
ITEMS=""
CORES_DIR="${PROJECT_DIR}/$1/modules"
CORES_DIR="${PROJECT_DIR}/iOS/modules"
echo "Cores dir: ${CORES_DIR}"
if [ -d "$CORES_DIR" ] ; then
CORES=$(find "${CORES_DIR}" -depth -type d -name "*.framework" -or -name "*.dylib" -or -name "*.bundle" | sed -e "s/\(.*framework\)/\1\/Versions\/A\//")