Skip to content

Instantly share code, notes, and snippets.

@Kibsgaard
Kibsgaard / ExcemptFromEncryption.cs
Created December 17, 2021 14:24 — forked from TiborUdvari/ExcemptFromEncryption.cs
Marks ITSAppUsesNonExemptEncryption in Unity generated Info.plist file to false. Doing this no longer requires manually marking the app as not using non-exempt encryption in iTunes Connect for Testflight beta testing.
using UnityEngine;
using UnityEditor.Build;
using UnityEditor.Build.Reporting;
using UnityEditor;
using UnityEditor.iOS.Xcode;
using System.IO;
public class ExcemptFromEncryption : IPostprocessBuildWithReport // Will execute after XCode project is built
{
public int callbackOrder { get { return 0; } }