Command / bin / sh失败,退出代码1和嵌入式pods框架 [英] Command /bin/sh failed with exit code 1 and Embedded pods framework

查看:100
本文介绍了Command / bin / sh失败,退出代码1和嵌入式pods框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法识别实际问题,在更新coco pod时收到消息由于主要版本更新而重新创建CocoaPod。
(仅出现一次)和pod更新很成功。在构建后,我收到错误。 命令/ bin / sh失败,退出代码为1
以下是我得到的一些细节

Not able to identified actual issue, During updating coco pod getting a message "Re-creating CocoaPods due to major version update." (that was come only once) and pod updation is successful. After on build i am getting the error. Command /bin/sh failed with exit code 1. Below is some detail also which i am getting


  1. 代码签名/用户/ Gaurav / Library / Developer / Xcode / DerivedData / Appname - ****** / Build / Products / Debug-iphoneos / Appname.app / Frameworks / Alamofire.framework with Identity iPhone Developer:Account Name(Account Id)

  2. / usr / bin / codesign --force --sign ***************** --preserve- metadata = identifier,entitlements/Users/UserName/Library/Developer/Xcode/DerivedData/Appname-***************/Build/Products/Debug-iphoneos/Appname.app/Frameworks /Alamofire.framework

  3. / Users / Username / Library / Developer / Xcode / DerivedData / Appname - ****** ****** / Build / Products / Debug-iphoneos / Appname.app / Frameworks / Alamofire.framework:捆绑包格式无法识别,无效或不适合

  1. Code Signing /Users/Gaurav/Library/Developer/Xcode/DerivedData/Appname-******/Build/Products/Debug-iphoneos/Appname.app/Frameworks/Alamofire.framework with Identity iPhone Developer: Account Name (Account Id)
  2. /usr/bin/codesign --force --sign ***************** --preserve-metadata=identifier,entitlements "/Users/UserName/Library/Developer/Xcode/DerivedData/Appname-***************/Build/Products/Debug-iphoneos/Appname.app/Frameworks/Alamofire.framework"
  3. /Users/Username/Library/Developer/Xcode/DerivedData/Appname-************/Build/Products/Debug-iphoneos/Appname.app/Frameworks/Alamofire.framework: bundle format unrecognized, invalid, or unsuitable

我使用iOS 8作为部署目标和Xcode 7.3.1
我检查了没有任何问题的代码签名身份。我已经重新安装了所有pod和Alamofire,但没有确定问题。

I'm using iOS 8 as deployment target and Xcode 7.3.1 I have checked code signing identity that doesn't have any issue. I have reinstall again all pod and Alamofire also but not abel to identified issue.

推荐答案

清理项目,并删除派生数据(〜/ Library / Developer / Xcode / DerivedData /)为我修复了它

Clean the project, and deleting the derived data (~/Library/Developer/Xcode/DerivedData/) fixed it for me

这篇关于Command / bin / sh失败,退出代码1和嵌入式pods框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆