Xcode构建错误-CocoaPods-ld:警告:找不到目录

时间:2019-05-06 17:43:50

标签: xcode cocoapods

我有一个旧的iOS应用,正在尝试为较新的硬件进行重建。它最初是为iOS 6开发的。它使用CocoaPods来满足一些依赖性。我已经运行过pod install等。

当我尝试构建时,出现以下链接器错误:

<script>
     function permute(a) {
     if (a.length < 5) return [a];
     var c, d, b = [];
     for (c = 0; c < a.length; c++) {
      var e = a.splice(c, 1),
        f = permute(a);
      for (d = 0; d < f.length; d++) b.push([e].concat(f[d]));
      a.splice(c, 0, e[0])
      }
     return b

    }

   function permuteval() {
   var txtval = document.getElementById('permute_this').value;
   document.getElementById('results').innerHTML = 
   (permute([txtval]).join("\n"));

    }
</script>

这是我的Podfile:

ld: warning: directory not found for option '-L/Users/xxx/Library/Developer/Xcode/DerivedData/InventoryScanner-hantgwmqafypwugwnyerkcfurgwn/Build/Products/Debug-iphoneos/ASIHTTPRequest'
ld: warning: directory not found for option '-L/Users/xxx/Library/Developer/Xcode/DerivedData/InventoryScanner-hantgwmqafypwugwnyerkcfurgwn/Build/Products/Debug-iphoneos/Reachability'
ld: warning: directory not found for option '-L/Users/xxx/Library/Developer/Xcode/DerivedData/InventoryScanner-hantgwmqafypwugwnyerkcfurgwn/Build/Products/Debug-iphoneos/SBJson'
ld: warning: directory not found for option '-L/Users/xxx/Library/Developer/Xcode/DerivedData/InventoryScanner-hantgwmqafypwugwnyerkcfurgwn/Build/Products/Debug-iphoneos/SVProgressHUD'
ld: warning: directory not found for option '-L/Users/xxx/Library/Developer/Xcode/DerivedData/InventoryScanner-hantgwmqafypwugwnyerkcfurgwn/Build/Products/Debug-iphoneos/ZXingObjC'
ld: warning: directory not found for option '-L/Users/xxx/Projects/xxx/inventory-scanner/Pods/build/Debug-iphoneos'
ld: library not found for -lASIHTTPRequest
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我可能会缺少什么?

0 个答案:

没有答案