search

Home  >  Q&A  >  body text

ios - 下载了一个Masonry的demo里面报错

报错信息:linker command failed with exit code 1 (use -v to see invocation)

这个库文件是虚影,在文件夹里也找不到这个.a文件

ringa_leeringa_lee2773 days ago724

reply all(3)I'll reply

  • 迷茫

    迷茫2017-04-17 17:47:27

    你没有用cocoapods安装依赖的包。

    WHAT IS COCOAPODS

    CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. It has over ten thousand libraries and can help you scale your projects elegantly. Interested in the news about Swift Package Manager? Check our FAQ

    COCOAPODS

    reply
    0
  • 迷茫

    迷茫2017-04-17 17:47:27

    First open the root directory and run

    pop install --verbose --no-repo-update

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 17:47:27

    As mentioned above, you must first use CocoaPods to install the referenced third-party libraries:

    pod install

    Then add that after the installation is complete, use xxx.xcworkspace to open the project.

    reply
    0
  • Cancelreply