pod 导入第三方库 Masonry:

在工程masonryTest的文件下新建一个Podfile文件

编辑如下内容:

platform :ios, '8.0'
xcodeproj 'mansoryTest'

pod 'Masonry', '~> 0.6.3'

可以自行更改

切换到masonryTest 的工程目录下面打开终端

$:pod install

等待数分钟,命令行执行完毕OK,

然后在工程目录下面打开masonryTest.workspace

不要打开那个.xcodepro了。说过多少次了

编译通过就好。

我遇到的情况

ld: library not found for -lMasonry

stackOverflow逛了一大圈没有解决,

试过

1、添加静态库,target->build phrase->Link Binary with Libraries 

点+号,添加Mansory.a无效

2、target->build settings ->Build Active Architechure Only = NO ,无果

3、other linker flag :全部删除  OK ,编译通过

 

 

相关文章:

  • 2022-01-03
  • 2021-03-31
  • 2021-04-26
  • 2021-10-25
  • 2021-10-19
  • 2021-05-03
  • 2021-05-18
  • 2021-07-30
猜你喜欢
  • 2022-12-23
  • 2021-10-24
  • 2021-11-21
  • 2022-12-23
  • 2021-12-03
  • 2021-09-11
  • 2021-04-28
相关资源
相似解决方案