ld:找不到框架MBProgressHUD(Nativescript)

时间:2016-05-18 05:42:26

标签: nativescript

我是使用Xcode的新手,我想要归档项目。更新到Xcode 7.3和cocopod 1.0.0后,它会导致这种错误。我尝试降级到Xcode 7.1也一样。什么设置会导致此错误消息?

ld: warning: directory not found for option '-F/Users/bae-nb-050/Library/Developer/Xcode/DerivedData/SL-fbodsjqbjvdhcgeemiobyapkoekm/Build/Intermediates/ArchiveIntermediates/SL/BuildProductsPath/Release-iphoneos/MBProgressHUD'
    ld: framework not found MBProgressHUD
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

1 个答案:

答案 0 :(得分:0)

如果您已将Xcode或cocoapods升级到更新版本。我建议您对项目进行清理和重建。升级natviescript时也是如此。

  • tns platform remove ios
  • tns platform add ios
  • tns prepare ios