Skip to content

Commit a3de592

Browse files
bump
1 parent 086225d commit a3de592

4 files changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/validate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ jobs:
119119
fi
120120
TARGET_PLATFORM=${{ matrix.build-target }}
121121
if [ "$TARGET_PLATFORM" == "StandaloneOSX" ]; then
122-
INFO_PLIST_PATH="${{ env.UNITY_PROJECT_PATH }}/Builds/StandaloneOSX/com.test.buildalon.xcode/UnityProject/UnityProject/Info.plist"
122+
INFO_PLIST_PATH="${{ env.UNITY_PROJECT_PATH }}/Builds/${{ matrix.build-target }}/com.test.buildalon.xcode/UnityProject/UnityProject/Info.plist"
123123
else
124-
INFO_PLIST_PATH="${{ env.UNITY_PROJECT_PATH }}/Builds/iOS/com.test.buildalon.xcode/Info.plist"
124+
INFO_PLIST_PATH="${{ env.UNITY_PROJECT_PATH }}/Builds/${{ matrix.build-target }}/com.test.buildalon.xcode/Info.plist"
125125
fi
126126
# ITSAppUsesNonExemptEncryption === false
127127
/usr/libexec/PlistBuddy -c "Add :ITSAppUsesNonExemptEncryption bool false" "$INFO_PLIST_PATH"

dist/sign-app-bundle.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ SIGNING_IDENTITY="$3"
1212
# remove any metadata from the app bundle
1313
xattr -cr "$APP_BUNDLE_PATH"
1414

15-
# remove any existing code signature
16-
find "$APP_BUNDLE_PATH" -name "_CodeSignature" -type d -exec rm -rf {} +
17-
find "$APP_BUNDLE_PATH" -name ".DS_Store" -delete
18-
1915
if [ -z "$SIGNING_IDENTITY" ]; then
2016
# get the signing identity that matches Developer ID Application
2117
SIGNING_IDENTITY=$(security find-identity -p codesigning -v | grep "Developer ID Application" | awk -F'"' '{print $2}' | head -n 1)

src/sign-app-bundle.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ SIGNING_IDENTITY="$3"
1212
# remove any metadata from the app bundle
1313
xattr -cr "$APP_BUNDLE_PATH"
1414

15-
# remove any existing code signature
16-
find "$APP_BUNDLE_PATH" -name "_CodeSignature" -type d -exec rm -rf {} +
17-
find "$APP_BUNDLE_PATH" -name ".DS_Store" -delete
18-
1915
if [ -z "$SIGNING_IDENTITY" ]; then
2016
# get the signing identity that matches Developer ID Application
2117
SIGNING_IDENTITY=$(security find-identity -p codesigning -v | grep "Developer ID Application" | awk -F'"' '{print $2}' | head -n 1)

src/xcode.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,8 @@ async function createMacOSInstallerPkg(projectRef: XcodeProject): Promise<string
523523
} catch (error) {
524524
throw new Error(`Failed to create the pkg at: ${pkgPath}!`);
525525
}
526-
// TODO get Developer ID Installer signing certificate from app store connect API
526+
// /Users/runner/work/unity-xcode-builder/unity-xcode-builder/UnityProject/Builds/VisionOS/com.test.buildalon.xcode/Info.plist
527+
// /Users/runner/work/unity-xcode-builder/unity-xcode-builder/UnityProject/Builds/iOS/com.test.buildalon.xcode/Info.plist
527528
const developerIdInstallerCert = await GetCertificate(projectRef, 'MAC_INSTALLER_DISTRIBUTION');
528529
core.info(`Found Developer ID Installer certificate: [${developerIdInstallerCert.id}] ${developerIdInstallerCert.attributes.name}`);
529530
await ImportCertificate(developerIdInstallerCert);

0 commit comments

Comments
 (0)