From be7e99346f6fbbf08ab52c793cf983bce048460c Mon Sep 17 00:00:00 2001 From: Ben Govero Date: Tue, 11 Feb 2020 14:49:47 -0600 Subject: [PATCH] Upgraded Fabric and Crashlytics pods and moved to using Crashlytics/../run command --- lib/motion-fabric.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/motion-fabric.rb b/lib/motion-fabric.rb index 4c1f030..a8e0575 100644 --- a/lib/motion-fabric.rb +++ b/lib/motion-fabric.rb @@ -89,8 +89,8 @@ def fabric(&block) Motion::Project::App.setup do |app| app.pods do - pod 'Fabric', '~> 1.6' - pod 'Crashlytics', '~> 3.7' + pod 'Fabric', '~> 1.10.2' + pod 'Crashlytics', '~> 3.14.0' end if osx? @@ -140,12 +140,12 @@ def fabric_run(platform) SRCROOT: project_dir, PLATFORM_NAME: platform.downcase, PROJECT_FILE_PATH: "", - CONFIGURATION: App.config_mode == 'development' ? 'debug' : 'release', + CONFIGURATION: App.config_mode == :development ? 'debug' : 'release', } env_string = env.map { |k,v| "#{k}='#{v}'" }.join(' ') fabric_setup do |pods_root, api_key, build_secret| App.info "Fabric", "Uploading .dSYM file" - system("env #{env_string} sh #{pods_root}/Fabric/run #{api_key} #{build_secret}") + system("env #{env_string} sh #{pods_root}/Crashlytics/iOS/Crashlytics.framework/run #{api_key} #{build_secret}") end end