例如,我想构建自己的flutter应用程序以分发到Firebase或Testflight。如果我输入
flutter运行ios --release
我有以下选择:
public WebDriverWait waitSec(WebDriver driver,int sec) {return new WebDriverWait(driver,sec);}
String filePathFull = stahovani + "exportFeedbacks_" + urlCast1.split("/")[9] + ".csv";
waitSec(driver,30).until(new Function<WebDriver,Boolean>() {
public Boolean apply(WebDriver driver) {
if(Files.exists(Paths.get(filePathFull))) {
return true;
}
else {
try {
Thread.sleep(1000);
}
catch (InterruptedException e) {
}
}
return false;
}
});
File exportFile = new File(filePathFull);
if (Files.size(Paths.get(filePathFull)) == 0) {
try {
waitSec(driver,120).until(new Function<WebDriver,Boolean>() {
public Boolean apply(WebDriver driver) {
try {
if(Files.size(Paths.get(filePathFull)) > 0) {
return true;
}
else {
try {
Thread.sleep(1000);
}
catch (InterruptedException e) {
}
}
}
catch (IOException e) {
}
return false;
}
});
}
catch (TimeoutException e) {
}
}
使用命令行进行构建时,如何选择发行证书?如果我签入Xcode,则会选择我的分发配置文件。