cocoapods相关
- 执行验证命令
pod lib lint --verbose --allow-warnings --use-libraries --use-modular-headers
问题截图:

解决措施:
检测的源码在validator.rb
文件 如何找到它?
-
终端
gem which cocoapods
输出:/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.1/lib/cocoapods.rb
-
终端
open /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.1/lib/cocoapods
-
修改
validator.rb

- pod install 安装私有仓库带有.a文件,如
pod 'JZYIPush'
问题截图:
解决措施:
自己封装的库,依赖的第三方里面包含了静态库,直接修改podspec,修改依赖项:s.static_framework = true
网友评论