File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments