@@ -1424,7 +1424,6 @@ private static void AddPodInternal(string podName,
1424
1424
/// Determine whether the target iOS SDK has changed.
1425
1425
/// </summary>
1426
1426
private static void PollTargetIosSdk ( ) {
1427
- LogToDialog ( "DEDB PollTargetIosSdk" ) ;
1428
1427
iosTargetSdkPoller . Poll ( ( ) => TargetIosSdkVersionString ,
1429
1428
( previousValue , currentValue ) => { ScheduleCheckTargetIosSdkVersion ( ) ; } ) ;
1430
1429
}
@@ -1433,7 +1432,6 @@ private static void PollTargetIosSdk() {
1433
1432
/// Determine whether the target tvOS SDK has changed.
1434
1433
/// </summary>
1435
1434
private static void PollTargetTvosSdk ( ) {
1436
- LogToDialog ( "DEDB PollTargetTvosSdk" ) ;
1437
1435
tvosTargetSdkPoller . Poll ( ( ) => TargetTvosSdkVersionString ,
1438
1436
( previousValue , currentValue ) => { ScheduleCheckTargetTvosSdkVersion ( ) ; } ) ;
1439
1437
}
@@ -1447,9 +1445,7 @@ private static void PollTargetTvosSdk() {
1447
1445
/// Cocoapods.
1448
1446
/// </summary>
1449
1447
private static void ScheduleCheckTargetIosSdkVersion ( ) {
1450
- LogToDialog ( "DEDB ScheduleCheckTargetIosSdkVersion" ) ;
1451
1448
if ( EditorUserBuildSettings . activeBuildTarget == BuildTarget . iOS ) {
1452
- LogToDialog ( "DEDB Scheduling Check" ) ;
1453
1449
RunOnMainThread . Cancel ( checkIosTargetSdkVersionJobId ) ;
1454
1450
checkIosTargetSdkVersionJobId = RunOnMainThread . Schedule ( ( ) => {
1455
1451
UpdateTargetIosSdkVersion ( false ) ;
@@ -1466,9 +1462,7 @@ private static void ScheduleCheckTargetIosSdkVersion() {
1466
1462
/// Cocoapods.
1467
1463
/// </summary>
1468
1464
private static void ScheduleCheckTargetTvosSdkVersion ( ) {
1469
- LogToDialog ( "DEDB ScheduleCheckTargetTvosSdkVersion" ) ;
1470
1465
if ( EditorUserBuildSettings . activeBuildTarget == BuildTarget . tvOS ) {
1471
- LogToDialog ( "DEDB Scheduling Check" ) ;
1472
1466
RunOnMainThread . Cancel ( checkTvosTargetSdkJobId ) ;
1473
1467
checkTvosTargetSdkJobId = RunOnMainThread . Schedule ( ( ) => {
1474
1468
UpdateTargetTvosSdkVersion ( false ) ;
@@ -1481,12 +1475,9 @@ private static void ScheduleCheckTargetTvosSdkVersion() {
1481
1475
/// </summary>
1482
1476
/// <param name="runningBuild">Whether the build is being processed.</param>
1483
1477
public static void UpdateTargetIosSdkVersion ( bool runningBuild ) {
1484
- LogToDialog ( "DEDB UpdateTargetIosSdkVersion" ) ;
1485
1478
var minVersionAndPodNames = TargetSdkNeedsUpdate ( TargetIosSdkVersionNum ) ;
1486
- LogToDialog ( "DEDB minVersionAndPodNames: " + minVersionAndPodNames ) ;
1487
1479
if ( minVersionAndPodNames . Value != null ) {
1488
1480
var minVersionString = TargetSdkVersionToString ( minVersionAndPodNames . Key ) ;
1489
- LogToDialog ( "DEDB minVersionString: " + minVersionString ) ;
1490
1481
DialogWindow . Display ( "Unsupported Target iOS SDK" ,
1491
1482
String . Format (
1492
1483
TARGET_SDK_NEEDS_UPDATE_STRING , /*platformName=*/ "iOS" ,
@@ -1517,13 +1508,10 @@ public static void UpdateTargetIosSdkVersion(bool runningBuild) {
1517
1508
/// </summary>
1518
1509
/// <param name="runningBuild">Whether the build is being processed.</param>
1519
1510
public static void UpdateTargetTvosSdkVersion ( bool runningBuild ) {
1520
- LogToDialog ( "DEDB UpdateTargetTvosSdkVersion" ) ;
1521
1511
var minVersionAndPodNames = TargetSdkNeedsUpdate ( TargetTvosSdkVersionNum ) ;
1522
- LogToDialog ( "DEDB minVersionAndPodNames: " + minVersionAndPodNames ) ;
1523
1512
if ( minVersionAndPodNames . Value != null ) {
1524
1513
var minVersionString =
1525
1514
TargetSdkVersionToString ( minVersionAndPodNames . Key ) ;
1526
- LogToDialog ( "DEDB minVersionString: " + minVersionString ) ;
1527
1515
DialogWindow . Display ( "Unsupported Target tvOS SDK" ,
1528
1516
String . Format (
1529
1517
TARGET_SDK_NEEDS_UPDATE_STRING , /*platformName=*/ "tvOS" ,
@@ -1558,7 +1546,6 @@ public static void UpdateTargetTvosSdkVersion(bool runningBuild) {
1558
1546
/// selected target SDK version does not satisfy pod requirements, the list
1559
1547
/// (value) is null otherwise.</returns>
1560
1548
private static KeyValuePair < int , List < string > > TargetSdkNeedsUpdate ( int targetSdkVersionNum ) {
1561
- LogToDialog ( "DEDB TargetSdkNeedsUpdate" ) ;
1562
1549
var emptyVersionAndPodNames = new KeyValuePair < int , List < string > > ( 0 , null ) ;
1563
1550
var minVersionAndPodNames = emptyVersionAndPodNames ;
1564
1551
int maxOfMinRequiredVersions = 0 ;
@@ -1568,7 +1555,6 @@ private static KeyValuePair<int, List<string>> TargetSdkNeedsUpdate(int targetSd
1568
1555
minVersionAndPodNames = versionAndPodList ;
1569
1556
}
1570
1557
}
1571
- LogToDialog ( "DEDB targetSdkVersionNum: " + targetSdkVersionNum + " maxOfMinRequiredVersions: " + maxOfMinRequiredVersions ) ;
1572
1558
// If the target SDK version exceeds the minimum required version return an empty tuple
1573
1559
// otherwise return the minimum required SDK version and the set of pods that need it.
1574
1560
return targetSdkVersionNum >= maxOfMinRequiredVersions ? emptyVersionAndPodNames :
@@ -1598,7 +1584,6 @@ public static string GetProjectPath(string relativeTo) {
1598
1584
/// </summary>
1599
1585
static string TargetIosSdkVersionString {
1600
1586
get {
1601
- LogToDialog ( "DEDB TargetIosSdkVersionString get" ) ;
1602
1587
string name = null ;
1603
1588
1604
1589
var iosSettingsType = typeof ( UnityEditor . PlayerSettings . iOS ) ;
@@ -1613,7 +1598,6 @@ static string TargetIosSdkVersionString {
1613
1598
}
1614
1599
1615
1600
set {
1616
- LogToDialog ( "DEDB TargetIosSdkVersionString set" ) ;
1617
1601
var iosSettingsType = typeof ( UnityEditor . PlayerSettings . iOS ) ;
1618
1602
// Write the version (Unity 5.5 and above).
1619
1603
var osVersionProperty =
@@ -1638,7 +1622,6 @@ static string TargetIosSdkVersionString {
1638
1622
/// </summary>
1639
1623
static string TargetTvosSdkVersionString {
1640
1624
get {
1641
- LogToDialog ( "DEDB TargetTvosSdkVersionString get" ) ;
1642
1625
string name = null ;
1643
1626
var tvosSettingsType = typeof ( UnityEditor . PlayerSettings . tvOS ) ;
1644
1627
var osVersionProperty = tvosSettingsType . GetProperty ( "targetOSVersionString" ) ;
@@ -1652,7 +1635,6 @@ static string TargetTvosSdkVersionString {
1652
1635
}
1653
1636
1654
1637
set {
1655
- LogToDialog ( "DEDB TargetTvosSdkVersionString set" ) ;
1656
1638
var tvosSettingsType = typeof ( UnityEditor . PlayerSettings . tvOS ) ;
1657
1639
var osVersionProperty = tvosSettingsType . GetProperty ( "targetOSVersionString" ) ;
1658
1640
osVersionProperty . SetValue ( null , value , null ) ;
0 commit comments