自动化打包 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

相关推荐
半桶水专家6 小时前
go语言中package详解
开发语言·golang·xcode
DisonTangor8 小时前
苹果发布iOS 18.2首个公测版:Siri接入ChatGPT、iPhone 16拍照按钮有用了
ios·chatgpt·iphone
- 羊羊不超越 -8 小时前
App渠道来源追踪方案全面分析(iOS/Android/鸿蒙)
android·ios·harmonyos
青花瓷21 小时前
C++__XCode工程中Debug版本库向Release版本库的切换
c++·xcode
2401_865854881 天前
iOS应用想要下载到手机上只能苹果签名吗?
后端·ios·iphone
HackerTom1 天前
iOS用rime且导入自制输入方案
ios·iphone·rime
良技漫谈1 天前
Rust移动开发:Rust在iOS端集成使用介绍
后端·程序人生·ios·rust·objective-c·swift
2401_852403551 天前
高效管理iPhone存储:苹果手机怎么删除相似照片
ios·智能手机·iphone
星际码仔2 天前
【动画图解】是怎样的方法,能被称作是 Flutter Widget 系统的核心?
android·flutter·ios
emperinter2 天前
WordCloudStudio:AI生成模版为您的文字云创意赋能 !
图像处理·人工智能·macos·ios·信息可视化·iphone