使用cocoapods package打包
//打包命令
pod package YHCommonSDK.podspec --force --no-mangle --exclude-deps
//--exclude-deps 将需要依赖的包移除framework
//将pod授权给其他人
pod trunk add-owner YHCommonSDK mingming@163.com
//校验
pod spec lint YHCommonSDK.podspec --verbose --allow-warnings --use-libraries
//推荐提交
pod trunk push YHCommonSDK.podspec --verbose --allow-warnings --use-libraries
网友评论