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
- Custom Software Development and Consulting Company | RubyGaragerubygarage.org
- Notes • Nick Arnernickarner.com
- uvdocs.astral.sh
- GitHub - nikivdev/go: Go tools, libraries · GitHubgithub.com
- The Alternative Implementation Problempointersgonewild.com
- Programming language evolution: with all that, we are still flyingzverok.github.io
- MetalForge — Beautiful Metal shaders for SwiftUImetalforge.xyz
- Codex use casesdevelopers.openai.com
- Ruby on Rails37signals.com
- Summary - Rust for C-Programmersrust-for-c-programmers.com
- GitHub - GetStream/effects-library: The Effects Library allows developers to create sophisticated and realistic particle systems such as snow, fire, rain, confetti, fireworks, and smoke with no or minimal effort.github.com