使用cocoapods package打包

使用cocoapods package打包

//打包命令

pod package YHCommonSDK.podspec --force --no-mangle --exclude-deps

//--exclude-deps 将需要依赖的包移除framework

//将pod授权给其他人

pod trunk add-owner YHCommonSDK [email protected]

//校验

pod spec lint YHCommonSDK.podspec --verbose --allow-warnings --use-libraries

//推荐提交

pod trunk push YHCommonSDK.podspec --verbose --allow-warnings --use-libraries

你可能感兴趣的:(使用cocoapods package打包)