openbakery / gradle-xcodePlugin

gradle plugin for building Xcode Projects for iOS, watchOS, macOS or tvOS
Apache License 2.0
457 stars 127 forks source link

feature/MASSDE-181 : Bootstrap task #389

Closed shoebox closed 6 years ago

shoebox commented 6 years ago

bootstrap reads Cartfile.resolved, checks out and builds the dependencies at the versions listed.

update reads Cartfile and runs the dependency resolver to check out dependencies recursively, generally aiming for the newest versions that are compatible with all constraints in the tree. It writes Cartfile.resolved.

It too now setup the Xcode DEVELOPER_DIR environment variable which allow to make carthage use the defined version of xcode in the model (if any)

So, if you're updating to newer dependencies, or you've edited your Cartfile, use update. If you've just checked out your project and want the dependencies as specified in the commit you're on, use bootstrap.