Jenkins打包报错如下:
xcodebuild[70366:1418228] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/r9/h61bkhb56mdgwv7mj76qt6lh0000gn/T/demo_2023-04-12_17-44-51.984.xcdistributionlogs".
error: exportArchive: ipatool failed
AppThinning.StubError(errorDescription: Optional("ipatool failed"))
按照提示的路径找到log文件,定位报错为cannot load such file — sqlite3 (LoadError)
,但机器是安装了sqlite3
的。
Jenkins机器执行如下命令,然后重启,解决。
# 安装 CFPropertyList
$ sudo gem install CFPropertyList
#安装 sqlite3
$ sudo gem install sqlite3
#更新环境
$ rvm use system --default
参考资料:Flutter ios打包报错 cannot load such file — sqlite3 (LoadError)
网友评论