将 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
发布评论