From 9500e0862e65da2b92507ffa569ffbef083aaaa2 Mon Sep 17 00:00:00 2001 From: Salma ElTarzi Date: Sun, 10 Sep 2017 13:09:36 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Change=20the=20Embed=20Instabug?= =?UTF-8?q?=20framework=20name.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- link.rb | 2 +- unlink.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/link.rb b/link.rb index fc7c045a0..b3b5e23f6 100644 --- a/link.rb +++ b/link.rb @@ -29,7 +29,7 @@ frameworks_build_phase = target.build_phases.find { |build_phase| build_phase.to_s == 'FrameworksBuildPhase' } # Add new "Embed Frameworks" build phase to target -embed_frameworks_build_phase = target.build_phases.find { |build_phase| build_phase.to_s == 'Embed Frameworks'} +embed_frameworks_build_phase = target.build_phases.find { |build_phase| build_phase.to_s == 'Embed Instabug Framework'} Kernel.exit(0) if embed_frameworks_build_phase embed_frameworks_build_phase = project.new(Xcodeproj::Project::Object::PBXCopyFilesBuildPhase) embed_frameworks_build_phase.name = 'Embed Instabug Framework' diff --git a/unlink.rb b/unlink.rb index d994fb6f4..014d4dcae 100644 --- a/unlink.rb +++ b/unlink.rb @@ -24,7 +24,7 @@ frameworks_build_phase = target.build_phases.find { |build_phase| build_phase.to_s == 'FrameworksBuildPhase' } # Remove "Embed Frameworks" build phase to target -embed_frameworks_build_phase = target.build_phases.find { |build_phase| build_phase.to_s == 'Embed Frameworks'} +embed_frameworks_build_phase = target.build_phases.find { |build_phase| build_phase.to_s == 'Embed Instabug Framework'} Kernel.exit(0) unless embed_frameworks_build_phase target.build_phases.delete(embed_frameworks_build_phase)