leanflutter / flutter_distributor

An all-in-one Flutter application packaging and distribution tool, providing you with a one-stop solution to meet various distribution needs.
https://distributor.leanflutter.dev/
MIT License
817 stars 115 forks source link

同时打包2个IPA,编译成功之后复制到dist出错 #55

Closed weiwill closed 2 years ago

weiwill commented 2 years ago

distribute_options.yaml

image
File ipaFile = appDirectory
        .listSync()
        .where((e) => e.path.endsWith('.$packageFormat'))
        .map((e) => File(e.path))
        .first;

这里的代码目前只取第一个

image

iOS和Android都有同样的问题

BytesZero commented 2 years ago

确实有这个问题存在

BytesZero commented 2 years ago

可以按添加文件时间排个序,然后取第一个,最新的在最前面,这样就不会出错了

lijy91 commented 2 years ago

已修复,请更新到 0.2.0