Command / bin / sh失败,退出代码1和嵌入式pods框架

编程入门 行业动态 更新时间:2024-10-16 18:24:46
本文介绍了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

  • 代码签名/用户/ Gaurav / Library / Developer / Xcode / DerivedData / Appname - ****** / Build / Products / Debug-iphoneos / Appname.app / Frameworks / Alamofire.framework with Identity iPhone Developer:Account Name(Account Id)
  • / 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
  • / Users / Username / Library / Developer / Xcode / DerivedData / Appname - ****** ****** / Build / Products / Debug-iphoneos / Appname.app / Frameworks / Alamofire.framework:捆绑包格式无法识别,无效或不适合
  • 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)
  • /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"
  • /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框架

    本文发布于:2023-11-26 13:42:44,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1634041.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:嵌入式   框架   代码   bin   Command

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!