问题:
Command /bin/sh failedwithexit code1PhaseScriptExecution 📦\ Embed\ Pods\ Frameworks /Users/yourMac/Library/Developer/Xcode/DerivedData/ProjectName-eyofkrwwvzbqwqgwvbbrpkhwamve/Build/Intermediates/ProjectName.build/Debug-iphoneos/ProjectName.build/Script-FE87731C6B456BBA55A0B469.sh cd /Users/yourMac/Documents/CompanyProject/ProjectName /bin/sh -c /Users/yourMac/Library/Developer/Xcode/DerivedData/ProjectName-eyofkrwwvzbqwqgwvbbrpkhwamve/Build/Intermediates/ProjectName.build/Debug-iphoneos/ProjectName.build/Script-FE87731C6B456BBA55A0B469.shmkdir -p /Users/yourMac/Library/Developer/Xcode/DerivedData/ProjectName-eyofkrwwvzbqwqgwvbbrpkhwamve/Build/Products/Debug-iphoneos/ProjectName.app/Frameworksrsync -av --filter"- CVS/"--filter"- .svn/"--filter"- .git/"--filter"- .hg/"--filter"- Headers"--filter"- PrivateHeaders"--filter"- Modules""/Users/yourMac/Library/Developer/Xcode/DerivedData/ProjectName-eyofkrwwvzbqwqgwvbbrpkhwamve/Build/Products/Debug-iphoneos/ActionCableClient.framework""/Users/yourMac/Library/Developer/Xcode/DerivedData/ProjectName-eyofkrwwvzbqwqgwvbbrpkhwamve/Build/Products/Debug-iphoneos/ProjectName.app/Frameworks"building file list ... doneActionCableClient.framework/ActionCableClient.framework/ActionCableClientActionCableClient.framework/Info.plistActionCableClient.framework/_CodeSignature/ActionCableClient.framework/_CodeSignature/CodeResourcessent399808bytes received98bytes799812.00bytes/sectotal sizeis399396speedupis1.00Code Signing /Users/yourMac/Library/Developer/Xcode/DerivedData/ProjectName-eyofkrwwvzbqwqgwvbbrpkhwamve/Build/Products/Debug-iphoneos/ProjectName.app/Frameworks/ActionCableClient.frameworkwithIdentity iPhone Developer: yourEmail@gmail.com (XP8M6628G4)/usr/bin/codesign --force --sign A10E2F58BF2FF44A9F93AE308F79E9B143FA92FF --preserve-metadata=identifier,entitlements"/Users/yourMac/Library/Developer/Xcode/DerivedData/ProjectName-eyofkrwwvzbqwqgwvbbrpkhwamve/Build/Products/Debug-iphoneos/ProjectName.app/Frameworks/ActionCableClient.framework"A10E2F58BF2FF44A9F93AE308F79E9B143FA92FF: no identity foundCommand /bin/sh failedwithexit code1
解决方案:
删除过期的profile文件, 然后重新安装
cd~/Library/MobileDevice/Provisioning\ Profiles/rm -rf ./*
作者:Chakery
链接:https://www.jianshu.com/p/ed20e629bec7
来源:简书
网友评论