@@ -177,7 +177,7 @@ public string PodFilePodLine {
177177 /// reference.</param>
178178 public Pod ( string name , string version , bool bitcodeEnabled , string minTargetSdk ,
179179 bool addToAllTargets , IEnumerable < string > sources ,
180- Dictionary < string , string > propertiesByName ) , {
180+ Dictionary < string , string > propertiesByName ) {
181181 this . name = name ;
182182 this . version = version ;
183183 if ( propertiesByName != null ) {
@@ -542,7 +542,7 @@ protected override bool Read(string filename, Logger logger) {
542542 private const int DEFAULT_TARGET_SDK = 82 ;
543543
544544 // Default tvOS target SDK if the selected version is invalid.
545- private const string DEFAULT_TVOS_TARGET_SDK = "12.0"
545+ private const string DEFAULT_TVOS_TARGET_SDK = "12.0" ;
546546
547547 // Valid iOS / tvOS target SDK version.
548548 private static Regex TARGET_SDK_REGEX = new Regex ( "^[0-9]+\\ .[0-9]$" ) ;
@@ -1507,8 +1507,7 @@ static string TargetSdk {
15071507 string name = null ;
15081508 if ( EditorUserBuildSettings . activeBuildTarget == BuildTarget . tvOS ) {
15091509 var tvosSettingsType = typeof ( UnityEditor . PlayerSettings . tvOs ) ;
1510- var osVersionProperty = iosSettingsType . GetProperty (
1511- "targetOSVersionString" ) ;
1510+ var osVersionProperty = iosSettingsType . GetProperty ( "targetOSVersionString" ) ;
15121511 if ( osVersionProperty != null ) {
15131512 name = ( string ) osVersionProperty . GetValue ( null , null ) ;
15141513 }
@@ -1518,8 +1517,7 @@ static string TargetSdk {
15181517 return name . Trim ( ) . Replace ( "tvOS_" , "" ) . Replace ( "_" , "." ) ;
15191518 } else {
15201519 var iosSettingsType = typeof ( UnityEditor . PlayerSettings . iOS ) ;
1521- var osVersionProperty = iosSettingsType . GetProperty (
1522- "targetOSVersionString" ) ;
1520+ var osVersionProperty = iosSettingsType . GetProperty ( "targetOSVersionString" ) ;
15231521 if ( osVersionProperty != null ) {
15241522 name = ( string ) osVersionProperty . GetValue ( null , null ) ;
15251523 }
@@ -2204,7 +2202,7 @@ public static void GenPodfile(BuildTarget buildTarget,
22042202
22052203 using ( StreamWriter file = new StreamWriter ( podfilePath ) ) {
22062204 file . WriteLine ( GeneratePodfileSourcesSection ( ) ) ;
2207- String platform_name = ( EditorUserBuildSettings . activeBuildTarget == BuildTarget . tvOS ) ?
2205+ String platform_name = EditorUserBuildSettings . activeBuildTarget == BuildTarget . tvOS ?
22082206 "tvos" : "ios" ;
22092207 file . WriteLine ( String . Format ( "platform :{0}}, '{1}'\n " , platform_name , TargetSdk ) ) ;
22102208
0 commit comments