Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ferramentas Indispensáveis no Desenvolvimento iOS

Ferramentas Indispensáveis no Desenvolvimento iOS

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.

Marcilio Junior

March 22, 2016
Tweet

More Decks by Marcilio Junior

Other Decks in Programming

Transcript

  1. MARCILIO JUNIOR #cocoaheadsbh Agenda • Gestão de Dependências • Estruturação

    de Projeto • Métricas • Crash Reporting • Beta Testing • Continuous Delivery
  2. MARCILIO JUNIOR #cocoaheadsbh source 'https://github.com/CocoaPods/Specs' platform :ios, '9.0' use_frameworks! inhibit_all_warnings!

    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
  3. MARCILIO JUNIOR #cocoaheadsbh # Require version 2.3.1 or later github

    "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"
  4. MARCILIO JUNIOR #cocoaheadsbh test_target_name: UnitTests configure_git: true warnings_as_errors: true enable_static_analyzer:

    true indentation_level: 4 use_tabs: false dependency_managers: cocoapods enable_settings: true strict_prompts: false deployment_target: 9.0 . . . project_template: swift app_target_templates: swift: - <%= project_name %>: - Model: - View: - Controller: - Client: - Util: - Extensions: - AppDelegate: - AppDelegate.swift - Resources: - Fonts: - Storyboards: - Main.storyboard - LaunchScreen.storyboard - Assets.xcassets - Supporting Files: - Info.plist . . .
  5. MARCILIO JUNIOR #cocoaheadsbh fastlane_version "1.51.0" default_platform :ios platform :ios do

    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