Skip to content

Commit cd1b1a4

Browse files
committed
v4.1.1
1 parent 99eba01 commit cd1b1a4

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

Instabug.bundle/Info.plist

0 Bytes
Binary file not shown.

Instabug.framework/Versions/A/Headers/Instabug.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2014 by Instabug, Inc., all rights reserved.
77
8-
Version: 4.1
8+
Version: 4.1.1
99
*/
1010

1111
//===========================================================================================================================================
-83.1 KB
Binary file not shown.

Instabug.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Instabug"
3-
s.version = "4.1"
3+
s.version = "4.1.1"
44
s.summary = "Bug reporting for mobile apps. Learn more at http://instabug.com"
55
s.homepage = "http://instabug.com"
66
s.license = {
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
2323
}
2424
s.author = { "Instabug" => "[email protected]" }
2525
s.platform = :ios, '5.0'
26-
s.source = { :git => "https://github.com/Instabug/Instabug-iOS.git", :tag => "4.1" }
26+
s.source = { :git => "https://github.com/Instabug/Instabug-iOS.git", :tag => s.version.to_s }
2727
s.source_files = 'Instabug.framework/Versions/A/Headers/*.{h}'
2828
s.resources = 'Instabug.bundle'
2929
s.preserve_paths = 'Instabug.framework/*', 'Instabug.bundle'

add_instabug_build_script.rb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@
2222

2323
targets.each do |target|
2424
if target.product_type == "com.apple.product-type.application" or target.product_type == "com.apple.product-type.app-extension"
25-
phase = target.new_shell_script_build_phase(INSTABUG_PHASE_NAME)
26-
phase.shell_script = INSTABUG_PHASE_SCRIPT
27-
project.save()
25+
if target.shell_script_build_phases.detect { |existing_build_phase| existing_build_phase.name == INSTABUG_PHASE_NAME } == nil
26+
phase = target.new_shell_script_build_phase(INSTABUG_PHASE_NAME)
27+
phase.shell_script = INSTABUG_PHASE_SCRIPT
28+
project.save()
29+
end
2830
end
2931
end
3032

0 commit comments

Comments
 (0)