带有CocoaPods应用的Xcode 7.0.1编译错误退出代码1 [英] Xcode 7.0.1 with CocoaPods app compile error Exit code 1

查看:81
本文介绍了带有CocoaPods应用的Xcode 7.0.1编译错误退出代码1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近升级到最新的Xcode,并添加了一堆新代码并修复了所有正常的编译错误后,出现了以下错误。

I recently upgraded to the latest Xcode and after adding a bunch of new code and fixing all my normal compile errors I got the following error.

PhaseScriptExecution Copy\ Pods\ Resources /Users/dpreston10/Library/Developer/Xcode/DerivedData/Pesto-dxseswuhgbzbluabjffcnlgzjelu/Build/Intermediates/Pesto.build/Debug-iphoneos/Pesto.build/Script-EF1179D6E7811474BD220AEA.sh
cd /Users/dpreston10/Dropbox/Pesto
/bin/sh -c /Users/dpreston10/Library/Developer/Xcode/DerivedData/Pesto-dxseswuhgbzbluabjffcnlgzjelu/Build/Intermediates/Pesto.build/Debug-iphoneos/Pesto.build/Script-EF1179D6E7811474BD220AEA.sh

/Users/dpreston10/Dropbox/Pesto/Pods/GoogleMaps/Frameworks/GoogleMaps.framework/Versions/A/Resources/GoogleMaps.bundle
/Users/dpreston10/Dropbox/Pesto/Pods/JSQMessagesViewController/JSQMessagesViewController/Assets/JSQMessagesAssets.bundle
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile /Users/dpreston10/Library/Developer/Xcode/DerivedData/Pesto-dxseswuhgbzbluabjffcnlgzjelu/Build/Products/Debug-iphoneos/Pesto.app/JSQMessagesViewController.nib /Users/dpreston10/Dropbox/Pesto/Pods/JSQMessagesViewController/JSQMessagesViewController/Controllers/JSQMessagesViewController.xib --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk
2015-10-03 16:35:22.011 Interface Builder Cocoa Touch Tool[12168:7780607] CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetClass' from MGCopyAnswer got '{
ArtworkDeviceIdiom = pad;
ArtworkDeviceScaleFactor = "-1";
DevicePerformanceMemoryClass = 1;
 }'
 2015-10-03 16:35:22.011 Interface Builder Cocoa Touch Tool[12168:7780607] CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetFallbacks' from MGCopyAnswer got '{
ArtworkDeviceIdiom = pad;
ArtworkDeviceScaleFactor = "-1";
DevicePerformanceMemoryClass = 1;
}'
2015-10-03 16:35:22.017 Interface Builder Cocoa Touch Tool[12168:7780607] CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetClass' from MGCopyAnswer got '{
ArtworkDeviceIdiom = pad;
ArtworkDeviceScaleFactor = "-1";
DevicePerformanceMemoryClass = 1;
}'2015-10-03 16:35:22.017 Interface Builder Cocoa Touch Tool[12168:7780607] CoreUI: CUICatalog: couldn't get 'kMGArtworkGraphicsFeatureSetFallbacks' from MGCopyAnswer got '{
ArtworkDeviceIdiom = pad;
ArtworkDeviceScaleFactor = "-1";
DevicePerformanceMemoryClass = 1;
}'
2015-10-03 16:35:22.024 Interface Builder Cocoa Touch Tool[12168:7780607] Please stop using -[UIToolbar _setForceTopBarAppearance:]
2015-10-03 16:35:22.024 Interface Builder Cocoa Touch Tool[12168:7780607] Please stop using -[UIToolbar _setForceTopBarAppearance:]
2015-10-03 16:35:22.025 Interface Builder Cocoa Touch Tool[12168:7780607] Error creating notification handler for simulator graphics quality override: 1000000
2015-10-03 16:35:22.035 Interface Builder Cocoa Touch Tool[12168:7780607] Please stop using -[UIToolbar _setForceTopBarAppearance:]
2015-10-03 16:35:22.035 Interface Builder Cocoa Touch Tool[12168:7780607] Please stop using -[UIToolbar _setForceTopBarAppearance:]
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile /Users/dpreston10/Library/Developer/Xcode/DerivedData/Pesto-dxseswuhgbzbluabjffcnlgzjelu/Build/Products/Debug-iphoneos/Pesto.app/JSQMessagesCollectionViewCellIncoming.nib /Users/dpreston10/Dropbox/Pesto/Pods/JSQMessagesViewController/JSQMessagesViewController/Views/JSQMessagesCollectionViewCellIncoming.xib --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer//Users/dpreston10/Dropbox/Pesto/Pods/Target Support Files/Pods/Pods-resources.sh: line 25: echo: write error: Resource temporarily unavailable
Command /bin/sh failed with exit code 1

我试图清理项目,还删除了我的应用程序的Xcode / DerivedData目录。

I have tried to clean the project and also have removed Xcode/DerivedData directory for my app.

推荐答案

尝试重新启动Mac ,如@ChadPodosky在注释中建议的那样。

Try restarting your Mac as @ChadPodosky recommends in the comments. Did the trick for me

我还尝试杀死我的Pods目录和 pod安装 -ing,但是没有帮不上忙。

I also tried killing my Pods directory and pod install-ing again, but it didn't help.

这篇关于带有CocoaPods应用的Xcode 7.0.1编译错误退出代码1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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