使用退出代码1的命令

使用退出代码1的命令

当我运行我的项目时,我得到这个错误,我不能理解这个问题。。。

Showing Recent Issues
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/leo/Library/Developer/Xcode/DerivedData/Clubber-ghdadinxjzgblkgllmrradwnzqcv/Build/Intermediates.noindex/Clubber.build/Debug-iphoneos/Clubber.build/Script-6032B42DA46117C50C8623CC.sh
    cd /Users/leo/Documents/Progetti/iOS/Clubber
    /bin/sh -c /Users/leo/Library/Developer/Xcode/DerivedData/Clubber-ghdadinxjzgblkgllmrradwnzqcv/Build/Intermediates.noindex/Clubber.build/Debug-iphoneos/Clubber.build/Script-6032B42DA46117C50C8623CC.sh

mkdir -p /Users/leo/Library/Developer/Xcode/DerivedData/Clubber-ghdadinxjzgblkgllmrradwnzqcv/Build/Products/Debug-iphoneos/Clubber.app/Frameworks
rsync --delete -av --filter P .*.?????? --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "/Users/leo/Library/Developer/Xcode/DerivedData/Clubber-ghdadinxjzgblkgllmrradwnzqcv/Build/Products/Debug-iphoneos/AFNetworking/AFNetworking.framework" "/Users/leo/Library/Developer/Xcode/DerivedData/Clubber-ghdadinxjzgblkgllmrradwnzqcv/Build/Products/Debug-iphoneos/Clubber.app/Frameworks"
building file list ... done
AFNetworking.framework/
AFNetworking.framework/AFNetworking
AFNetworking.framework/Info.plist

sent 1305423 bytes  received 70 bytes  2610986.00 bytes/sec
total size is 1305025  speedup is 1.00
Stripped /Users/leo/Library/Developer/Xcode/DerivedData/Clubber-ghdadinxjzgblkgllmrradwnzqcv/Build/Products/Debug-iphoneos/Clubber.app/Frameworks/AFNetworking.framework/AFNetworking of architectures: armv7
Code Signing /Users/leo/Library/Developer/Xcode/DerivedData/Clubber-ghdadinxjzgblkgllmrradwnzqcv/Build/Products/Debug-iphoneos/Clubber.app/Frameworks/AFNetworking.framework with Identity iPhone Developer: [email protected] (U698V62S44)
/usr/bin/codesign --force --sign 17E36AAB0AE20D9A471180DEC67D5500DF962DC0  --preserve-metadata=identifier,entitlements '/Users/leo/Library/Developer/Xcode/DerivedData/Clubber-ghdadinxjzgblkgllmrradwnzqcv/Build/Products/Debug-iphoneos/Clubber.app/Frameworks/AFNetworking.framework'
/Users/leo/Library/Developer/Xcode/DerivedData/Clubber-ghdadinxjzgblkgllmrradwnzqcv/Build/Products/Debug-iphoneos/Clubber.app/Frameworks/AFNetworking.framework: unknown error -1=ffffffffffffffff
Command /bin/sh failed with exit code 1

我试着:
清理我的项目
删除派生数据
重新安装我的播客
在我的POD项目中将Build Active architecture only设置为NO
我也试着读了很多相关的帖子,但是什么也没读。。。-.-
这个问题把我逼疯了,有人能帮我吗?

最佳答案

这是因为您可能没有检查“仅在安装时运行脚本”
转到项目生成文件夹
选择目标
选择生成阶段选项卡
打开运行脚本下拉选项
选中“仅在安装时运行脚本”复选框
然后清理项目(cmd+shift+k)并构建项目。

关于swift - Xcode AFNetworking-使用退出代码1的命令/bin/sh,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/48013338/

10-10 23:59