cari

Rumah  >  Soal Jawab  >  teks badan

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

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

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

ringa_leeringa_lee2773 hari yang lalu718

membalas semua(3)saya akan balas

  • 迷茫

    迷茫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

    balas
    0
  • 迷茫

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

    先打开根目录,运行

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

    balas
    0
  • 大家讲道理

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

    楼上说过了,首先要用 CocoaPods 安装引用的第三方库:

    pod install

    然后补充一点,安装完成后用 xxx.xcworkspace 打开项目。

    balas
    0
  • Batalbalas