File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change @@ -12,10 +12,6 @@ SIGNING_IDENTITY="$3"
1212# remove any metadata from the app bundle
1313xattr -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-
1915if [ -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)
Original file line number Diff line number Diff line change @@ -12,10 +12,6 @@ SIGNING_IDENTITY="$3"
1212# remove any metadata from the app bundle
1313xattr -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-
1915if [ -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)
Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments