美文网首页
framework静态库上传git,和pod问题报错解决

framework静态库上传git,和pod问题报错解决

作者: LeonSoong | 来源:发表于2021-02-03 17:34 被阅读0次

    1.git push origin master报错:

    在git push origin master之后再执行:git push指令

    2.对podspec文件进行校验报错:

    - ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information.

    - NOTE  | [iOS] xcodebuild:  clang: error: linker command failed with exit code 1 (use -v to see invocation)

    --verbose之后报错如下:

    App.build/Release-iphonesimulator/App.build/Objects-normal/arm64/Binary/App normal arm64

    解决方案:pod lib lint --skip-import-validation --allow-warnings

    3.上传.podspec文件到git的Specs仓库:pod trunk push SHelloSDK.podspec  报错:

     - ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information.

    - NOTE  | [iOS] xcodebuild:  clang: error: linker command failed with exit code 1 (use -v to see invocation)

    解决方案:pod trunk push SHelloSDK.podspec --skip-import-validation --allow-warnings

    相关文章

      网友评论

          本文标题:framework静态库上传git,和pod问题报错解决

          本文链接:https://www.haomeiwen.com/subject/cirmtltx.html