Skip to content

Commit 2fc8327

Browse files
committed
removed logging output
1 parent 1a7adc4 commit 2fc8327

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

source/IOSResolver/src/IOSResolver.cs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,6 @@ private static void AddPodInternal(string podName,
14241424
/// Determine whether the target iOS SDK has changed.
14251425
/// </summary>
14261426
private static void PollTargetIosSdk() {
1427-
LogToDialog("DEDB PollTargetIosSdk");
14281427
iosTargetSdkPoller.Poll(() => TargetIosSdkVersionString,
14291428
(previousValue, currentValue) => { ScheduleCheckTargetIosSdkVersion(); });
14301429
}
@@ -1433,7 +1432,6 @@ private static void PollTargetIosSdk() {
14331432
/// Determine whether the target tvOS SDK has changed.
14341433
/// </summary>
14351434
private static void PollTargetTvosSdk() {
1436-
LogToDialog("DEDB PollTargetTvosSdk");
14371435
tvosTargetSdkPoller.Poll(() => TargetTvosSdkVersionString,
14381436
(previousValue, currentValue) => { ScheduleCheckTargetTvosSdkVersion(); });
14391437
}
@@ -1447,9 +1445,7 @@ private static void PollTargetTvosSdk() {
14471445
/// Cocoapods.
14481446
/// </summary>
14491447
private static void ScheduleCheckTargetIosSdkVersion() {
1450-
LogToDialog("DEDB ScheduleCheckTargetIosSdkVersion");
14511448
if(EditorUserBuildSettings.activeBuildTarget == BuildTarget.iOS) {
1452-
LogToDialog("DEDB Scheduling Check");
14531449
RunOnMainThread.Cancel(checkIosTargetSdkVersionJobId);
14541450
checkIosTargetSdkVersionJobId = RunOnMainThread.Schedule(() => {
14551451
UpdateTargetIosSdkVersion(false);
@@ -1466,9 +1462,7 @@ private static void ScheduleCheckTargetIosSdkVersion() {
14661462
/// Cocoapods.
14671463
/// </summary>
14681464
private static void ScheduleCheckTargetTvosSdkVersion() {
1469-
LogToDialog("DEDB ScheduleCheckTargetTvosSdkVersion");
14701465
if(EditorUserBuildSettings.activeBuildTarget == BuildTarget.tvOS) {
1471-
LogToDialog("DEDB Scheduling Check");
14721466
RunOnMainThread.Cancel(checkTvosTargetSdkJobId);
14731467
checkTvosTargetSdkJobId = RunOnMainThread.Schedule(() => {
14741468
UpdateTargetTvosSdkVersion(false);
@@ -1481,12 +1475,9 @@ private static void ScheduleCheckTargetTvosSdkVersion() {
14811475
/// </summary>
14821476
/// <param name="runningBuild">Whether the build is being processed.</param>
14831477
public static void UpdateTargetIosSdkVersion(bool runningBuild) {
1484-
LogToDialog("DEDB UpdateTargetIosSdkVersion");
14851478
var minVersionAndPodNames = TargetSdkNeedsUpdate(TargetIosSdkVersionNum);
1486-
LogToDialog("DEDB minVersionAndPodNames: " + minVersionAndPodNames);
14871479
if (minVersionAndPodNames.Value != null) {
14881480
var minVersionString = TargetSdkVersionToString(minVersionAndPodNames.Key);
1489-
LogToDialog("DEDB minVersionString: " + minVersionString);
14901481
DialogWindow.Display("Unsupported Target iOS SDK",
14911482
String.Format(
14921483
TARGET_SDK_NEEDS_UPDATE_STRING, /*platformName=*/"iOS",
@@ -1517,13 +1508,10 @@ public static void UpdateTargetIosSdkVersion(bool runningBuild) {
15171508
/// </summary>
15181509
/// <param name="runningBuild">Whether the build is being processed.</param>
15191510
public static void UpdateTargetTvosSdkVersion(bool runningBuild) {
1520-
LogToDialog("DEDB UpdateTargetTvosSdkVersion");
15211511
var minVersionAndPodNames = TargetSdkNeedsUpdate(TargetTvosSdkVersionNum);
1522-
LogToDialog("DEDB minVersionAndPodNames: " + minVersionAndPodNames);
15231512
if (minVersionAndPodNames.Value != null) {
15241513
var minVersionString =
15251514
TargetSdkVersionToString(minVersionAndPodNames.Key);
1526-
LogToDialog("DEDB minVersionString: " + minVersionString);
15271515
DialogWindow.Display("Unsupported Target tvOS SDK",
15281516
String.Format(
15291517
TARGET_SDK_NEEDS_UPDATE_STRING, /*platformName=*/"tvOS",
@@ -1558,7 +1546,6 @@ public static void UpdateTargetTvosSdkVersion(bool runningBuild) {
15581546
/// selected target SDK version does not satisfy pod requirements, the list
15591547
/// (value) is null otherwise.</returns>
15601548
private static KeyValuePair<int, List<string>> TargetSdkNeedsUpdate(int targetSdkVersionNum) {
1561-
LogToDialog("DEDB TargetSdkNeedsUpdate");
15621549
var emptyVersionAndPodNames = new KeyValuePair<int, List<string>>(0, null);
15631550
var minVersionAndPodNames = emptyVersionAndPodNames;
15641551
int maxOfMinRequiredVersions = 0;
@@ -1568,7 +1555,6 @@ private static KeyValuePair<int, List<string>> TargetSdkNeedsUpdate(int targetSd
15681555
minVersionAndPodNames = versionAndPodList;
15691556
}
15701557
}
1571-
LogToDialog("DEDB targetSdkVersionNum: " + targetSdkVersionNum + " maxOfMinRequiredVersions: " + maxOfMinRequiredVersions);
15721558
// If the target SDK version exceeds the minimum required version return an empty tuple
15731559
// otherwise return the minimum required SDK version and the set of pods that need it.
15741560
return targetSdkVersionNum >= maxOfMinRequiredVersions ? emptyVersionAndPodNames :
@@ -1598,7 +1584,6 @@ public static string GetProjectPath(string relativeTo) {
15981584
/// </summary>
15991585
static string TargetIosSdkVersionString {
16001586
get {
1601-
LogToDialog("DEDB TargetIosSdkVersionString get");
16021587
string name = null;
16031588

16041589
var iosSettingsType = typeof(UnityEditor.PlayerSettings.iOS);
@@ -1613,7 +1598,6 @@ static string TargetIosSdkVersionString {
16131598
}
16141599

16151600
set {
1616-
LogToDialog("DEDB TargetIosSdkVersionString set");
16171601
var iosSettingsType = typeof(UnityEditor.PlayerSettings.iOS);
16181602
// Write the version (Unity 5.5 and above).
16191603
var osVersionProperty =
@@ -1638,7 +1622,6 @@ static string TargetIosSdkVersionString {
16381622
/// </summary>
16391623
static string TargetTvosSdkVersionString {
16401624
get {
1641-
LogToDialog("DEDB TargetTvosSdkVersionString get");
16421625
string name = null;
16431626
var tvosSettingsType = typeof(UnityEditor.PlayerSettings.tvOS);
16441627
var osVersionProperty = tvosSettingsType.GetProperty("targetOSVersionString");
@@ -1652,7 +1635,6 @@ static string TargetTvosSdkVersionString {
16521635
}
16531636

16541637
set {
1655-
LogToDialog("DEDB TargetTvosSdkVersionString set");
16561638
var tvosSettingsType = typeof(UnityEditor.PlayerSettings.tvOS);
16571639
var osVersionProperty = tvosSettingsType.GetProperty("targetOSVersionString");
16581640
osVersionProperty.SetValue(null, value, null);

0 commit comments

Comments
 (0)