自动化打包 ipatool failed 错误

2024-08-14 05:35:50 +0000 [MT] Output: ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin23]

/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin23/rbconfig.rb:21: warning: Insecure world writable dir /opt/homebrew/opt in PATH, mode 040777

/Applications/Xcode.app/Contents/SharedFrameworks/AppThinning.framework/Resources/ipatool:4135: warning: assigned but unused variable - prev

/Users/daiyazhou/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/CFPropertyList-3.0.6/lib/cfpropertylist/rbCFPropertyList.rb:83: warning: assigned but unused variable - temp

Ignoring executable-hooks-1.6.1 because its extensions are not built. Try: gem pristine executable-hooks --version 1.6.1

Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5

Ignoring gem-wrappers-1.4.0 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.4.0

Ignoring psych-5.1.0 because its extensions are not built. Try: gem pristine psych --version 5.1.0

/Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in `require': cannot load such file -- sqlite3 (LoadError)

from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in `require'

from /Applications/Xcode.app/Contents/SharedFrameworks/AppThinning.framework/Resources/ipatool:24:in `<main>'

2024-08-14 05:35:50 +0000 [MT] JSON: error: Error Domain=NSCocoaErrorDomain Code=260 "The file "ipatool.json" couldn't be opened because there is no such file." UserInfo={NSFilePath=/var/folders/t4/bp39t6w15v39r14hq4rn2vj80000gn/T/IPATool.hTymEGg/ipatool.json, NSUnderlyingError=0x6000020626a0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}

2024-08-14 05:35:51 +0000 [MT] Step "<IDEDistributionCompileBitcodeStep: 0x6000036b5b60>" failed with error "AppThinning.StubError(errorDescription: Optional("ipatool failed"))"

自动化打包 ipatool failed 错误

AppThinning.StubError(errorDescription: Optional("ipatool failed"))

$ gem install CFPropertyList

$ gem install sqlite3

出现如下错误时

ERROR: While executing gem ... (Errno::EACCES)

Permission denied @ dir_s_mkdir

添加权限

sudo gem install CFPropertyList

sudo gem install sqlite3

M1或以上设备 还有类似报错 执行

sudo​​​​​​​ gem install sqlite3 --platform arm64-darwin

相关推荐
@大迁世界28 分钟前
Swift、Flutter 还是 React Native:2026 年你该学哪个
开发语言·flutter·react native·ios·swift
boss-dog32 分钟前
Record3D 获取iphone RGBD 和 pose
ios·iphone·record3d
@大迁世界34 分钟前
“围墙花园”的终结?iOS 26.3 带来的三大生态系统巨变
macos·ios·objective-c·cocoa
游戏开发爱好者842 分钟前
iPhone 网络调试的过程,请求是否发出,是否经过系统代理,app 绕过代理获取数据
android·网络·ios·小程序·uni-app·iphone·webview
王者鳜錸1 小时前
短语音多语种混合识别-GUI界面开发
ide·macos·xcode
游戏开发爱好者81 小时前
在 Linux 环境通过命令行上传 IPA 到 App Store,iOS自动化构建与发布
android·linux·ios·小程序·uni-app·自动化·iphone
帅次1 小时前
系统分析师-移动应用系统分析与设计
android·ios·微信小程序·小程序·android studio·webview
新镜14 小时前
【Flutter】LTR/RTL 阿拉伯语言/希伯来语言
android·flutter·ios·客户端
2501_9159090618 小时前
设置了 SSL Pinning 与双向 TLS 验证要怎么抓包
网络·网络协议·ios·小程序·uni-app·iphone·ssl
2501_916007471 天前
如何查看 iOS 设备系统与硬件信息,iOS系统信息显示工具
android·ios·小程序·https·uni-app·iphone·webview