iOS报错-Command PhaseScriptExecution failed with a nonzero exit code

问题:iOS debug没问题,一打包就报错:

Command PhaseScriptExecution failed with a nonzero exit code

解决方法如下:

在项目的Pods目录下,找到Targets Support Files->Pods-xxxx-frameworks.sh

如下:

搜索一下:

source=" ( r e a d l i n k " (readlink " (readlink"{source}")"

替换成:

source=" ( r e a d l i n k − f " (readlink -f " (readlink−f"{source}")"

重新打包即可

相关推荐
2501_915918418 小时前
iOS 应用上架全流程实践,从开发内测到正式发布的多工具组合方案
android·ios·小程序·https·uni-app·iphone·webview
笔沫拾光8 小时前
iOS 正式包签名指南
flutter·ios·ios签名
Magnetic_h1 天前
【iOS】锁的原理
笔记·学习·macos·ios·objective-c·cocoa·xcode
Digitally1 天前
将 iPhone 联系人转移到 Infinix 的完整指南
ios·cocoa·iphone
imLix2 天前
RunLoop 实现原理
前端·ios
归辞...2 天前
「iOS」————设计架构
ios·架构
i紸定i2 天前
解决html-to-image在 ios 上dom里面的图片不显示出来
前端·ios·vue·html·html-to-image
YungFan3 天前
iOS26适配指南之UIButton
ios·swift
红橙Darren3 天前
手写操作系统 - 编译链接与运行
android·ios·客户端
鹏多多.3 天前
flutter-使用device_info_plus获取手机设备信息完整指南
android·前端·flutter·ios·数据分析·前端框架