1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-02 01:13:30 +00:00

Merge pull request from yoshisuga/ios-fix-codesign

tvos: fix code sign script to use the shared iOS modules dir
This commit is contained in:
Twinaphex 2019-02-04 06:41:09 +01:00 committed by GitHub
commit 12c6fe1dc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions
pkg/apple
RetroArch_iOS11.xcodeproj
code-sign-cores.sh

@ -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 */

@ -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\//")