ios - 下载了一个Masonry的demo里面报错
ringa_lee
ringa_lee 2017-04-17 17:45:27
0
3
719

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

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

ringa_lee
ringa_lee

ringa_lee

membalas semua(3)
迷茫

你没有用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

迷茫

先打开根目录,运行

pop install --verbose --no-repo-update
大家讲道理

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

pod install

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

Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan