XCode 9.1 命令/bin/sh 失败,退出代码为 1

编程入门 行业动态 更新时间:2024-10-12 01:27:57
本文介绍了XCode 9.1 命令/bin/sh 失败,退出代码为 1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

将 xcode 更新到 9.1 版本后,我无法编译我的项目,总是出现相同的错误 Command/bin/sh failed with exit code 1.我尝试创建空项目,安装我需要的所有 pod,结果是一样的.这是我的 podfile

After updating xcode to version 9.1, I can't compile my projects, always have the same error Command /bin/sh failed with exit code 1. I tried to create empty project, install all pods I need, and the result is the same. Here is my podfile

source 'github/CocoaPods/Specs.git' platform :ios, '8.0' use_frameworks! target 'xcode9.1' do pod 'RMStore' pod 'GoogleMaps' pod 'RMMapper' pod 'FacebookCore' pod 'FacebookLogin' pod 'FacebookShare' pod 'VK-ios-sdk' pod 'TwitterKit' pod 'GoogleSignIn' pod 'Flurry-iOS-SDK/FlurrySDK' pod 'TWSReleaseNotesView' pod 'GoogleAnalytics' pod 'GoogleTagManager','~> 3.15.0' pod 'SBJson' pod 'Fabric' pod 'Crashlytics' pod 'APOfflineReverseGeocoding' pod 'AFNetworking' pod 'Realm' end

这个问题在我所有的项目中都会重复出现,谁能告诉我如何解决它?

This problem repeats in all my projects, can anybody explain me how to fix it?

这是完整错误的屏幕

推荐答案

解决方案很简单.在您的 pod 目标构建设置中,我更改了有效架构列表.此外,将 Build Architecture only 标志更改为 No 可以解决问题.

The solution is very simple. In your pods target, Build settings, I changed valid architectures list. Also Build architectures only flag change to No can resolve the problem.

更多推荐

XCode 9.1 命令/bin/sh 失败,退出代码为 1

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

发布评论

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

>www.elefans.com

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