升级到XCode 9.1,命令/bin/sh退出代码1错误失败

时间:2021-10-08 09:39:58

I have an existing app, and upgraded the OS on my mac High Sierra and also Xcode from 8 to 9.1. Since then, when I try to build, I am getting an error with some shell script failing. The strangest thing is that this happens only when I try to build using my iPad device. No problems iPhone device or simulator, and no problem with iPad simulators. I tried updating all the pod files, clearing Derived Data and similar things. Below is the screenshot with all the error info. I am a newbie to iOS programming, and any help is very much appreciated. Thank you all in advance. 升级到XCode 9.1,命令/bin/sh退出代码1错误失败

我有一个现有的应用,并升级了我的mac High Sierra上的操作系统以及Xcode从8升级到9.1。从那时起,当我尝试构建时,我就会遇到一些shell脚本失败的错误。最奇怪的是,只有当我尝试用iPad设备构建时才会发生这种情况。iPhone设备或模拟器没有问题,iPad模拟器也没有问题。我尝试更新所有pod文件,清除派生数据和类似的东西。下面是包含所有错误信息的屏幕截图。我是iOS编程的新手,非常感谢您的帮助。提前谢谢大家。

1 个解决方案

#1


1  

This is a typical signing issue. Try delete Keychain certificates pertaining your project and rebuild using fresh ones off developer.apple.com.

这是一个典型的签名问题。尝试删除与项目相关的密钥链证书,并使用developer.apple.com上的新证书进行重新构建。

#1


1  

This is a typical signing issue. Try delete Keychain certificates pertaining your project and rebuild using fresh ones off developer.apple.com.

这是一个典型的签名问题。尝试删除与项目相关的密钥链证书,并使用developer.apple.com上的新证书进行重新构建。