Xcode 7.0.1与CocaoPods应用程序编译错误退出代码1
我最近升级到最新的Xcode,并添加了一堆新的代码,并修复了所有正常的编译错误后,我得到了以下,我不知道如何纠正这个错误。 任何build议,请。
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 @ChadPodoskybuild议在评论。 对我来说有诡计了
我也尝试杀死我的豆荚目录和pod install
再次,但没有帮助。
好,所以我想发布我所做的,以清除这个错误。
closuresXcode
在我的项目文件夹中,我删除了Pods文件夹,Podfile.lock和xcworkspace文件。
然后我重新安装在我的项目文件夹上。
一旦我这样做,我就能够编译和运行。
下面是我用cocoapods 1.2.1版本解决这个问题的步骤,Xcode版本8.3.3(8E3004b)
-
删除DerivedData文件夹中的应用程序的数据。
-
删除了Pods floder,Podfile.lock和xcworkspace文件。
-
重新启动Mac。
-
再次安装pod
或者在命令行中运行shell。
killall Xcode
xcrun -k
xcodebuild -alltargets干净
rm -rf“$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache”
rm -rf“$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang。$(whoami)/ ModuleCache”
rm -rf〜/ Library / Developer / Xcode / DerivedData / *
rm -rf〜/ Library / Caches / com.apple.dt.Xcode / *
sudo shutdown -r now
- 错误在Swift类:属性没有在super.init调用初始化 – 如何初始化需要使用self在他们的初始化参数
- NSInternalInconsistencyException',原因:'无法在捆绑中加载NIB:'NSBundle
- 无法为桥接头发出预编译头
- 无法将类实例分配给其协议types?
- 如何解决显示文件名使用两次的错误
- Xcode 8.0命令/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc失败,退出代码1
- 未加载库:@ rpath / Alamofire.framework / Alamofire
- 6架构i386的重复符号
- 如何为iOS构buildOpenCV 2.4.9?