Exemple #1
0
        /// <summary>
        /// Perform post processing on the build to only run Shopify Tests
        /// </summary>
        public static void ProcessForTests(string buildPath)
        {
            var project = new ExtendedPBXProject(buildPath);

            SetBuildProperties(project);
            SetCorrectTestsTarget(project);
            project.RemoveFileFromBuild(project.TestTargetGuid, project.FindFileGuidByProjectPath("Unity-iPhone Tests/Unity_iPhone_Tests.m"));
            iOSPostProcessor.SetSwiftInterfaceHeader(project);
            project.Save();
        }
        public static void ProcessForExport(BuildTarget target, string buildPath)
        {
            if (target != BuildTarget.iOS)
            {
                return;
            }

            var project = new ExtendedPBXProject(buildPath);

            SetCorrectTestsTarget(project);
            SetBuildProperties(project);
            SetSwiftInterfaceHeader(project);
            project.Save();
        }