CocoaPods has reached version 1.0, and is celebrating its milestone by officially changing how Podfiles work, and giving Pod owners more control.
Though the changes to Podfiles were known (via a migration guide), they’re now official. Of the more important things to note is that targets must now be explicitly defined in Podfiles, and the names must match what’s in Xcode.
Ever been to a tech festival?
TNW Conference won best European Event 2016 for our festival vibe. See what's in store for 2017.
CocoaPods is also making abstract pods available for cross-platform dependencies, and have moved some command line options to Podfile installation options.
It’s not all about flipping it upside down, though. CocoaPods also have a new linter, which is meant to make sure libraries conform to Podspec before being compiled and imported into apps. Pod owners now have two new commands for trunks: pod trunk deprecate and pod trunk delete. That was implemented because CocoaPods will no longer be accepting pull requests to the specs repo, and felt the commands were a way to ensure Pod owners still had full control of their work.
Finally, deintegration is now standard fare for CocoaPods. If you change targets in a Podfile, it will no longer wreck things when you build in Xcode. To that, cocoapods-deintegrate is a default plugin, and the pod install command now makes sure targets not pointing to Pods have no traces of CocoaPods.