Managing Xcode Project Dependencies with CocoaPods
More than ever before, developers are faced with the challenges of managing their reliance on third-party libraries to improve productivity and build cutting-edge apps. This course is an exploration in project dependency management for apps that are developed for Apple platforms using a popular dependency manager called CocoaPods.
What you'll learn
CocoaPods is one of the most popular and well-established dependency managers for apps that are developed for OS X, iOS, and even watchOS and tvOS! This course will guide you through the core concepts of dependency management. You will learn how to use CocoaPods to organize third-party libraries and improve your productivity. The course also covers the process of creating CocoaPod libraries and how to share your innovation with the world. Finally, you will see how CocoaPods can enable you to share code with your development team by hosting a private repository, accessible only by your organization.
Table of contents
- Installing CocoaPods 3m
- Demo: Installing CocoaPods 2m
- Discovering Libraries and Frameworks 5m
- Demo: Discovering Libraries and Frameworks 2m
- Understanding a Basic Podfile Structure 1m
- Understanding Pod Versions 3m
- Specifying Pod Versions 5m
- Initializing a Podfile with the Command Line 1m
- Demo: Configuring a Podfile 3m
- Installing Dependencies with the Command Line 1m
- Demo: Installing Dependencies with the Command Line 4m
- Updating Dependencies 2m
- Considerations for Source Control 3m
- Demo: Committing CocoaPods Artifacts to Source Control 1m
- Summary 1m
- Introducing CocoaPod Library Creation 1m
- Scaffolding a CocoaPod Library Project 2m
- Demo: Scaffolding a CocoaPod Library Project 3m
- Demo: Understanding CocoaPod Library Project Sections 4m
- Demo: Hosting Pod Source Code on GitHub 1m
- Demo: Writing a Simple Framework 5m
- Understanding Podspec Metadata 4m
- Validating a Podspec 1m
- Demo: Configuring a Podspec 1m
- Deploying to the CocoaPods Trunk 2m
- Demo: Deploying to the CocoaPods Trunk 2m
- Demo: Integrating Fadeable into Expresso 3m
- Summary 2m
- Introduction and Prerequisites 2m
- Demo: Setting up a Private Spec Repo 1m
- Configuring CocoaPods to Find Your Private Spec Repo 1m
- Demo: Configuring CocoaPods to Find Your Private Spec Repo 2m
- Deploying Podspecs to a Private Spec Repo 2m
- Demo: Deploying Podspecs to a Private Spec Repo 3m
- Demo: Configuring a Podfile to Utilize a Private Spec Repo 3m
- Summary and Closing 2m