diff --git a/pkg/apple/RetroArch_iOS11.xcodeproj/project.pbxproj b/pkg/apple/RetroArch_iOS11.xcodeproj/project.pbxproj index c3b9811da9..3a60cd2dbd 100644 --- a/pkg/apple/RetroArch_iOS11.xcodeproj/project.pbxproj +++ b/pkg/apple/RetroArch_iOS11.xcodeproj/project.pbxproj @@ -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 */ diff --git a/pkg/apple/code-sign-cores.sh b/pkg/apple/code-sign-cores.sh index c28c0e1925..21c36146e9 100755 --- a/pkg/apple/code-sign-cores.sh +++ b/pkg/apple/code-sign-cores.sh @@ -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\//")