fix(iOS打包): 添加非豁免加密配置项避免手动处理加密问卷

在iOS打包后处理脚本中添加ITSAppUsesNonExemptEncryption配置,设为false表示未使用非豁免加密,无需每次提交时手动回答苹果加密相关问卷
This commit is contained in:
“虞渠成” 2026-09-02 10:13:03 +08:00
parent 0a5b4d04cb
commit 457fee5651

View File

@ -17,8 +17,9 @@ public class iOSPermissionPostProcessor
PlistElementDict rootDict = plist.root;
// 添加摄像头权限描述
rootDict.SetString("NSCameraUsageDescription", "Camera access is used to scan the QR code on your device for pairing. For example, scan the QR code on the device body to complete the connection.");
// 声明 App 仅使用豁免加密(标准 HTTPS/TLS避免每次提交时手动回答加密文稿问卷
// 值设为 false未使用非豁免加密
rootDict.SetBoolean("ITSAppUsesNonExemptEncryption", false);
File.WriteAllText(plistPath, plist.WriteToString());
}