@@ -107,9 +107,17 @@ protected String call() throws TSSException {
107
107
try {
108
108
saveFor (iosVersion , args );
109
109
} 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
+ }
113
121
}
114
122
throw e ;
115
123
}
@@ -362,7 +370,7 @@ && containsIgnoreCase(tsscheckerLog, "checking tss status failed")) {
362
370
if (manualIpswURL != null ) {
363
371
throw new TSSException ("Failed to load manifest. The IPSW or build manifest URL is not valid.\n \n " , false );
364
372
} 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
366
374
}
367
375
} else if (containsIgnoreCase (tsscheckerLog , "selected device can't be used with that buildmanifest" )) {
368
376
throw new TSSException ("Device and build manifest don't match." , false );
0 commit comments