Skip to content

Commit 90517d7

Browse files
committed
v3.4.6
1 parent f297154 commit 90517d7

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

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 = "3.4.5"
3+
s.version = "3.4.6"
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 => "3.4.5" }
26+
s.source = { :git => "https://github.com/Instabug/Instabug-iOS.git", :tag => "3.4.6" }
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 & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,19 @@
1111
source "${SCRIPT_SRC}"
1212
SCRIPTEND
1313

14-
current_dir = nil
15-
while current_dir != Dir.pwd
16-
project_path = Dir.glob("#{current_dir}/*.xcodeproj")
14+
current_path = nil
15+
while current_path != Dir.pwd
16+
current_path = Dir.pwd
17+
project_path = Dir.glob("#{current_path}/*.xcodeproj")
1718

1819
unless project_path.first.nil?
1920
project = Xcodeproj::Project.open(project_path.first)
2021
main_target = project.targets.first
21-
phase = main_target.shell_script_build_phases.select{ |bp| bp.name == INSTABUG_PHASE_NAME }.first || main_target.new_shell_script_build_phase(INSTABUG_PHASE_NAME)
22-
phase.shell_path = "/bin/sh"
22+
phase = main_target.new_shell_script_build_phase(INSTABUG_PHASE_NAME)
2323
phase.shell_script = INSTABUG_PHASE_SCRIPT
2424
project.save()
2525
break
2626
end
2727

2828
Dir.chdir("..")
29-
current_dir = Dir.pwd
3029
end

0 commit comments

Comments
 (0)