美文网首页
iOS Jenkins打包报错 cannot load such

iOS Jenkins打包报错 cannot load such

作者: Accepted_ | 来源:发表于2023-04-11 19:47 被阅读0次

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)

相关文章

网友评论

      本文标题:iOS Jenkins打包报错 cannot load such

      本文链接:https://www.haomeiwen.com/subject/sqtnddtx.html