Xcode 7.0.1 与 CocoaPods 应用程序编译错误退出代码 1

2024-01-07

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

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 目录。


尝试重新启动您的 Mac正如 @ChadPodosky 在评论中建议的那样。对我有用

我还尝试杀死我的 Pods 目录并pod install- 再次,但没有帮助。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Xcode 7.0.1 与 CocoaPods 应用程序编译错误退出代码 1 的相关文章

随机推荐