@@ -38,7 +38,6 @@ const run = () => {
38
38
const versionSpec = core . getInput ( "xcode-version" , { required : false } ) ;
39
39
core . info ( `Switching Xcode to version '${ versionSpec } '...` ) ;
40
40
const selector = new xcode_selector_1 . XcodeSelector ( ) ;
41
- console . log ( JSON . stringify ( selector . getAllVersions ( ) , null , 2 ) ) ;
42
41
const targetVersion = selector . findVersion ( versionSpec ) ;
43
42
if ( ! targetVersion ) {
44
43
throw new Error ( [
@@ -187,15 +186,15 @@ exports.getXcodeReleaseType = (xcodeRootPath) => {
187
186
const licenseInfoPlistPath = path . join ( xcodeRootPath , "Contents" , "Resources" , "LicenseInfo.plist" ) ;
188
187
if ( ! fs . existsSync ( licenseInfoPlistPath ) ) {
189
188
// 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 } '` ) ;
192
191
return XcodeReleaseType . Unknown ;
193
192
}
194
193
const licenseInfoRawContent = fs . readFileSync ( licenseInfoPlistPath , "utf8" ) ;
195
194
const licenseInfo = plist . parse ( licenseInfoRawContent ) ;
196
195
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" ) ;
199
198
return XcodeReleaseType . Unknown ;
200
199
}
201
200
const licenseType = licenseInfo . licenseType . toString ( ) . toLowerCase ( ) ;
0 commit comments