从Xcode构建中删除命令

时间:2017-10-06 14:52:24

标签: ios swift xcode

我正在尝试使用Xcode 8.2.1打开Swift 2项目。

为了让它发挥作用,我改变了一些方法,即为Alamofire添加pod。

我现在能够成功使用

import Alamofire

它检查得很好。

然而,构建尝试存在一个可怕的错误:

  PBXCp /Users/billybob/Library/Developer/Xcode/DerivedData/MyApp-cydfykckqtyklyfbipzafsqlmxxv/Build/Products/Debug-iphonesimulator/Alamofire.framework /Users/billybob/Library/Developer/Xcode/DerivedData/MyApp-cydfykckqtyklyfbipzafsqlmxxv/Build/Products/Debug-iphonesimulator/MyApp.app/Frameworks/Alamofire.framework
      cd /Users/billybob/dev/viablelabs-MyApp-ios-e26ff0e163b3
      export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
      builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -resolve-src-symlinks /Users/billybob/Library/Developer/Xcode/DerivedData/MyApp-cydfykckqtyklyfbipzafsqlmxxv/Build/Products/Debug-iphonesimulator/Alamofire.framework /Users/billybob/Library/Developer/Xcode/DerivedData/MyApp-cydfykckqtyklyfbipzafsqlmxxv/Build/Products/Debug-iphonesimulator/MyApp.app/Frameworks

  error: /Users/billybob/Library/Developer/Xcode/DerivedData/MyApp-cydfykckqtyklyfbipzafsqlmxxv/Build/Products/Debug-iphonesimulator/Alamofire.framework: No such file or directory

其他人建议删除这些文件夹,重新打开Xcode并清理/构建我多次尝试过。

相反,我认为这个错误来自之前的开发人员试图让Alamofire工作。

我在哪里可以找到此命令,以便我可以删除它并获得免费版本。

2 个答案:

答案 0 :(得分:0)

删除Alamofire并重新安装Alamofire for swift 3

答案 1 :(得分:0)

要删除您只需要在终端中运行的数据:

{'D,d': 'q', 'E,e': 'r', 'X,x': 'k', 'I,i': '_', 'O,o': 'b', 'B,b': 'o', ......}