Talk realizada no 6º CocoaTalks BH onde falei um pouco de algumas ferramentas extremamente úteis para desenvolvermos aplicações de qualidade para a plataforma iOS.
target :app, :exclusive => true do link_with 'MyApp' pod 'Alamofire' pod 'Gloss' pod 'Nuke', '~> 1.4.0’ end target :unit_tests, :exclusive => true do link_with 'UnitTests' pod 'Specta' pod ‘Expecta' end
"ReactiveCocoa/ReactiveCocoa" >= 2.3.1 # Require version 1.x github "Mantle/Mantle" ~> 1.0 # (1.0 or later, but less than 2.0) # Require exactly version 0.4.1 github "jspahrsummers/libextobjc" == 0.4.1 # Use the latest version github "jspahrsummers/xcconfigs" # Use the branch github "jspahrsummers/xcconfigs" "branch" # Use a project from GitHub Enterprise github "https://enterprise.local/ghe/desktop/git- error-translations" # Use a project from any arbitrary server, on the "development" branch git "https://enterprise.local/desktop/git-error- translations2.git" "development" # Use a local project git "file:///directory/to/project" "branch"
before_all do update_fastlane ensure_git_status_clean ENV["SLACK_URL"] = “https://hooks.slack.com...” cocoapods end desc "Submit a new Beta Build to Apple TestFlight" lane :beta do match gym pilot(ipa: “MyApp.ipa”) slack(message: “New version submitted :rocket:”) end after_all do |lane| notification(title: "MyApp", subtitle: "Fastlane finished successfully.", message: "Lane: ‘#{lane}'") end end