![]() Rather than copying someone else’s code into your project, you reference their Git repository and a version number and let CocoaPods install it for you. While this certainly works it means any future updates to SwiftyBeaver won’t automatically be merged into our app.ĬocoaPods is designed to solve this. ![]() In this installment we’re going to look at another problem our test app has: although it uses SwiftyBeaver for logging, it does so by literally copying the files directly into the project. This is part two of a tutorial series about upgrading your apps to use modern infrastructure – tools that help you write better software by automating tasks. I'm writing one new, free tutorial every day until WWDC – click here to see the full list!ĬocoaPods is the world’s largest collection of pre-built, open source modules for iOS developers – some 46,000 at the time of writing.Īlthough it’s far from perfect (I have complained about it a great deal in the past), CocoaPods has done more to streamline developer productivity than any other piece of our infrastructure: you can literally pull incredible functionality into your app in just a few seconds, and keep it updated over time.How to validate code changes using CircleCI.How to save and share your work with GitHub.How to streamline your development with Fastlane.How to clean up your code formatting with SwiftLint.Part 2 in a series of tutorials on modern app infrastructure:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |