Skip to content

Commit 1d761ea

Browse files
tweak
1 parent f86db86 commit 1d761ea

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/validate.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,18 @@ jobs:
113113
# find the Info.plist file in the build directory
114114
# MacOSStandalone Info.plist path: /Users/runner/work/unity-xcode-builder/unity-xcode-builder/UnityProject/Builds/StandaloneOSX/com.test.buildalon.xcode/UnityProject/UnityProject/Info.plist
115115
# all others: /Users/runner/work/unity-xcode-builder/unity-xcode-builder/UnityProject/Builds/iOS/com.test.buildalon.xcode/Info.plist
116+
EXPORT_OPTION=${{ env.EXPORT_OPTION }}
117+
if [ "$EXPORT_OPTION" != "app-store-connect" ]; then
118+
exit 0
119+
fi
116120
TARGET_PLATFORM=${{ matrix.build-target }}
117121
if [ "$TARGET_PLATFORM" == "StandaloneOSX" ]; then
118122
INFO_PLIST_PATH="${{ env.UNITY_PROJECT_PATH }}/Builds/StandaloneOSX/com.test.buildalon.xcode/UnityProject/UnityProject/Info.plist"
119123
else
120124
INFO_PLIST_PATH="${{ env.UNITY_PROJECT_PATH }}/Builds/iOS/com.test.buildalon.xcode/Info.plist"
121125
fi
122-
/usr/libexec/PlistBuddy -c "Add :ATSSettings:ATSStatus string NSAppTransportSecurity" "${INFO_PLIST_PATH}"
126+
# ITSAppUsesNonExemptEncryption === false
127+
/usr/libexec/PlistBuddy -c "Add :ITSAppUsesNonExemptEncryption bool false" "$INFO_PLIST_PATH"
123128
- uses: ./ # buildalon/unity-xcode-builder
124129
id: xcode-build
125130
with:

0 commit comments

Comments
 (0)