@@ -107,9 +107,17 @@ protected String call() throws TSSException {
107107 try {
108108 saveFor (iosVersion , args );
109109 } catch (TSSException e ) {
110- if ((manualVersion == null && manualIpswURL == null ) && e .getMessage ().contains ("not being signed" )) {
111- System .out .println ("Warning: ignoring unsigned version; API is likely out of date" );
112- continue ; // ignore not being signed (API might not be updated)
110+ if (manualVersion == null && manualIpswURL == null ) {
111+ if (e .getMessage ().contains ("not being signed" )) {
112+ System .err .println ("Warning: ignoring unsigned version; API is likely out of date" );
113+ continue ; // ignore not being signed (API might not be updated)
114+ }
115+ if (e .getMessage ().contains ("Failed to load manifest" ) && includeBetas
116+ && containsIgnoreCase (iosVersion .versionString (), "beta" )
117+ && iosVersion .ipswURL ().contains ("developer.apple" )) {
118+ System .err .println ("Warning: ignoring developer beta" );
119+ continue ;
120+ }
113121 }
114122 throw e ;
115123 }
@@ -362,7 +370,7 @@ && containsIgnoreCase(tsscheckerLog, "checking tss status failed")) {
362370 if (manualIpswURL != null ) {
363371 throw new TSSException ("Failed to load manifest. The IPSW or build manifest URL is not valid.\n \n " , false );
364372 } else {
365- throw new TSSException ("Failed to load manifest." , true , tsscheckerLog );
373+ throw new TSSException ("Failed to load manifest." , true , tsscheckerLog ); // this exact message is used elsewhere; do not modify
366374 }
367375 } else if (containsIgnoreCase (tsscheckerLog , "selected device can't be used with that buildmanifest" )) {
368376 throw new TSSException ("Device and build manifest don't match." , false );
0 commit comments