@@ -38,7 +38,6 @@ const run = () => {
3838 const versionSpec = core . getInput ( "xcode-version" , { required : false } ) ;
3939 core . info ( `Switching Xcode to version '${ versionSpec } '...` ) ;
4040 const selector = new xcode_selector_1 . XcodeSelector ( ) ;
41- console . log ( JSON . stringify ( selector . getAllVersions ( ) , null , 2 ) ) ;
4241 const targetVersion = selector . findVersion ( versionSpec ) ;
4342 if ( ! targetVersion ) {
4443 throw new Error ( [
@@ -187,15 +186,15 @@ exports.getXcodeReleaseType = (xcodeRootPath) => {
187186 const licenseInfoPlistPath = path . join ( xcodeRootPath , "Contents" , "Resources" , "LicenseInfo.plist" ) ;
188187 if ( ! fs . existsSync ( licenseInfoPlistPath ) ) {
189188 // Every Xcode should contain license plist but it can be changed in future
190- core . warning ( "Unable to determine Xcode version type based on license plist" ) ;
191- core . warning ( `Xcode License plist doesn't on exist on path '${ licenseInfoPlistPath } '` ) ;
189+ core . debug ( "Unable to determine Xcode version type based on license plist" ) ;
190+ core . debug ( `Xcode License plist doesn't on exist on path '${ licenseInfoPlistPath } '` ) ;
192191 return XcodeReleaseType . Unknown ;
193192 }
194193 const licenseInfoRawContent = fs . readFileSync ( licenseInfoPlistPath , "utf8" ) ;
195194 const licenseInfo = plist . parse ( licenseInfoRawContent ) ;
196195 if ( ! licenseInfo . licenseType ) {
197- core . warning ( "Unable to determine Xcode version type based on license plist" ) ;
198- core . warning ( "Xcode License plist doesn't contain 'licenseType' property" ) ;
196+ core . debug ( "Unable to determine Xcode version type based on license plist" ) ;
197+ core . debug ( "Xcode License plist doesn't contain 'licenseType' property" ) ;
199198 return XcodeReleaseType . Unknown ;
200199 }
201200 const licenseType = licenseInfo . licenseType . toString ( ) . toLowerCase ( ) ;
0 commit comments