CocoaPods 都做了什么? - 面向信仰编程
draveness.me · 1,478 words · saved by 1 readers
稍有 iOS 开发经验的人应该都是用过 CocoaPods,而对于 CI、CD 有了解的同学也都知道 Fastlane。而这两个在 iOS 开发中非常便捷的第三方库都是使用 Ruby 来编写的,这是为什么?
稍有 iOS 开发经验的人应该都是用过 CocoaPods,而对于 CI、CD 有了解的同学也都知道 Fastlane。而这两个在 iOS 开发中非常便捷的第三方库都是使用 Ruby 来编写的,这是为什么? 先抛开这个话题不谈,我们来看一下 CocoaPods 和 Fastlane 是如何使用的,首先是 CocoaPods,在每一个工程使用 CocoaPods 的工程中都有一个 Podfile: source 'https://github.com/CocoaPods/Specs.git' target 'Demo' do pod 'Mantle', '~> 1.5.1' pod 'SDWebImage', '~> 3.7.1' pod 'BlocksKit', '~> 2.2.5' pod 'SSKeychain', '~> 1.2.3' pod 'UMengAnalytics', '~> 3.1.8' pod 'UMengFeedback', '~> 1.4.2' pod 'Masonry', '~> 0.5.3' pod 'AFNetworking', '~> 2.4.1' pod 'Aspects', '~> 1.4.1' end Ruby 这是一个使用 Podfile 定义依赖的一个例子,不过 Podfile 对约束的描述其实是这样的: Ruby…
saved by
related reading
- iOS的CoreData技术详解为什么写这篇文章 最近因为新项目想用到数据持久化,本来这是很简单的事情,复杂数据一般直接 - 掘金juejin.cn
- Core Data by Tutorials, Chapter v: Introduction | Kodecokodeco.com
- Custom Software Development and Consulting Company | RubyGaragerubygarage.org
- @StateObject 和 @ObservedObject 的区别和使用 | OneV's Denonevcat.com
- Digital Bunkerdigitalbunker.dev
- Swift: From Protocol to AssociatedType then Type Erasure | Welcome to Monstarlab’s Engineering Blogengineering.monstar-lab.com
- Swift Protocol 背后的故事(Swift 5.6/5.7) | 雪峰的blogzxfcumtcs.github.io
- 類別(Class)與模組(Module) 為你自己學 Ruby on Rails | 高見龍railsbook.tw
- 數字、字串、陣列、範圍、雜湊、符號 為你自己學 Ruby on Rails | 高見龍railsbook.tw
- 變數、常數、流程控制、迴圈 為你自己學 Ruby on Rails | 高見龍railsbook.tw
- Code-first vs. Product-firstthezbook.com
- CRUD 分解動作 - 簡易票選系統實作(上) 為你自己學 Ruby on Rails | 高見龍railsbook.tw