Flutter iOS打包报错 some files could not be transferred (code 23)

95 阅读1分钟

Flutter 老项目 iOS端运行时没有问题,打包时报错some files could not be transferred (code 23),详细报错看下面截图:

image.png

可以尝试在iOS端项目下面的Pods->Targets Support Files->Pods项目名->Pods-项目名-frameworks文件

Xnip2024-01-10_09-26-37.png

source="$(readlink "${source}")" 替换成 source="$(readlink -f "${source}")"

类似于这篇文章错误2

重新打包即可。记录一下。