美文网首页
创建自己的pod

创建自己的pod

作者: AnnieAri | 来源:发表于2018-06-11 16:51 被阅读0次

    具体的创建过程懒得写,百度一搜就有,转一篇写的比较详细的:
    iOS开发: 配置CocoaPods远程私有仓库 作者:冰凌天

    最终使用的时候注意: 如果没有提交到官方的pod库,记得在Podfile中注明source

    # Uncomment this line to define a global platform for your project
    platform :ios, '10.0'
    #私有
    source 'http://xxxx.git'
    #官方
    source 'https://github.com/CocoaPods/Specs.git'
    
    #################
    #########
    target 'xxx' do
        use_frameworks!
        
        pod "xxxx"
    end
    
    

    相关文章

      网友评论

          本文标题:创建自己的pod

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