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
网友评论