加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ios – 运行自定义shell脚本’Copy Pods Resources’错误

发布时间:2020-12-14 17:14:30 所属栏目:百科 来源:网络整理
导读:我最近遇到了 Xcode构建问题. 错误消息: PhaseScriptExecution Copy Pods Resources /Users/XXX/Library/Developer/Xcode/DerivedData/XXXX-ctiynisxuxnyspgkmjrwbzdlcppc/Build/Intermediates/XXXX.build/Debug-iphonesimulator/XXXX.build/Script-CD616
我最近遇到了 Xcode构建问题.
错误消息:

PhaseScriptExecution Copy Pods Resources /Users/XXX/Library/Developer/Xcode/DerivedData/XXXX-ctiynisxuxnyspgkmjrwbzdlcppc/Build/Intermediates/XXXX.build/Debug-iphonesimulator/XXXX.build/Script-CD61667E1C3E477BBD8B461C.sh
    cd "/Users/XXX/XXXXX/03_Project/XXXX-ios"
    /bin/sh -c /Users/XXX/Library/Developer/Xcode/DerivedData/XXXX-ctiynisxuxnyspgkmjrwbzdlcppc/Build/Intermediates/XXXX.build/Debug-iphonesimulator/XXXX.build/Script-CD61667E1C3E477BBD8B461C.sh

ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/XXX/Library/Developer/Xcode/DerivedData/XXXX-ctiynisxuxnyspgkmjrwbzdlcppc/Build/Products/Debug-iphonesimulator/XXXX.app/PTEAdjustLevelsCell.nib /Users/XXX/XXXXX/03_Project/XXXX-ios/Pods/LumberjackConsole/Source/Adjust Levels/PTEAdjustLevelsCell.xib --sdk /Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/b03931/Library/Developer/Xcode/DerivedData/XXXX-ctiynisxuxnyspgkmjrwbzdlcppc/Build/Products/Debug-iphonesimulator/detox.app/PTEDashboard.nib /Users/XXX/XXXXX/03_Project/XXXX-ios/Pods/LumberjackConsole/Source/PTEDashboard.xib --sdk /Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
Command /bin/sh failed with exit code 255

我猜这两个文件有问题:PTEAdjustLevelsCell.xib和PTEDashboard.xib,但不知道如何准确找出错误的点.谁能告诉我如何找到问题的方法?任何提示都受到欢迎和赞赏.

解决方法

我认为这是由sdk版本和xib编译器工具引起的,但xcode无法解决它,你应该做一些事情来修复ibtool.本文中的解决方案: ibtool fail

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读