CocoaPods制作第三方库出现的错误及解决方法

1.脚本合并真机和模拟器库的时候

ld: framework not found Pods_YYStudio_LoanSDK

clang: error: linker command failed with exit code 1 (use -v to see invocation)

解决方法:
删除Pods_YYStudio_LoanSDK
bitcode设置为No

The repo `com-mobiledevelopers-yzt-loan-pod-spec` at `../../../../../.cocoapods/repos/com-mobiledevelopers-yzt-loan-pod-spec` is not clean

解决方法:

pod repo update com-mobiledevelopers-yzt-loan-pod-spec

warning: Could not find remote branch 0.0.2 to clone.

解决方法:

缺少0.0.2tag 需要git tag 0.0.2

fatal: unable to access 'http://git-ma.paic.com.cn/mobileDevelopers/FCUUID.git/': Could not resolve host: [git-ma.paic.com.cn](http://git-ma.paic.com.cn)

解决方法:

连接响应不了、或者无权限,需要检查连接

ERROR | [iOS] unknown: Encountered an unknown error (Unable to find a specification for `Masonry` depended upon by `YYStudio_ACFaceCheckSDK`) during validation.

解决方法:

需要在pod repo push 的时候 添加—source你的第三方库的地址,类似--sources='https://github.com/CocoaPods/Specs.git'

ERROR | [iOS] unknown: Encountered an unknown error (Pod::DSLError) during validation.

解决方法:可能是podSpec文件有错误,仔细检查下

你可能感兴趣的:(CocoaPods制作第三方库出现的错误及解决方法)