Skip to content

Instantly share code, notes, and snippets.

@DargonLee
Created October 21, 2022 01:52
Show Gist options
  • Save DargonLee/bd2471cdd65435838790f8ea363c2ab8 to your computer and use it in GitHub Desktop.
Save DargonLee/bd2471cdd65435838790f8ea363c2ab8 to your computer and use it in GitHub Desktop.
pod 'JLRoutes' //每次都获取最新版本
pod 'JLRoutes', '~>0' //高于0的版本
pod 'JLRoutes', '~> 0.1.2' //使用大于等于0.1.2但小于0.2的版本
pod 'JLRoutes', '~>0.1' //使用大于等于0.1但小于1.0的版本一个效果,都表示使用最新版本
pod 'JLRoutes', '2.0' //只使用2.0版本
pod 'JLRoutes', '= 2.0' //只使用2.0版本
pod 'JLRoutes', '> 2.0' //使用高于2.0的版本
pod 'JLRoutes', '>= 2.0' //使用大于或等于2.0的版本
pod 'JLRoutes', '< 2.0' //使用小于2.0的版本
pod 'JLRoutes', '<= 2.0' //使用小于或等于2.0的版本
pod 'JLRoutes', :git => 'http://gitlab.xxxx.com/JLRoutes.git', :branch => 'R20161010' //指定分支
pod 'MyLib', :path => '../MyLib' //指定本地库 与当前工程的相对位置
pod 'WCDB', :git => 'http://gitlab.xxxx.com/JLRoutes.git', :commit => 'R20161010'
pod 'YTXRestfulModel', '~> 1.2.2', :subspecs => ["RACSupport", "YTXRequestRemoteSync", "FMDBSync", "UserDefaultStorageSync"]
pod 'React', :path => './ReactComponent/node_modules/react-native', :subspecs => [
'Core',
'RCTImage',
'RCTNetwork',
'RCTText',
'RCTWebSocket',
# 添加其他你想在工程中使用的依赖。
]
pod 'TwitterTextEditor', :podspec => 'path/to/TwitterTextEditor.podspec'
pod 'WoodPeckeriOS', '>= 1.0.3', :configurations => ['Debug']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment