File tree 2 files changed +11
-11
lines changed
2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = "Instabug"
3
- s . version = "3.4.4 "
3
+ s . version = "3.4.5 "
4
4
s . summary = "Bug reporting for mobile apps. Learn more at http://instabug.com"
5
5
s . homepage = "http://instabug.com"
6
6
s . license = {
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
23
23
}
24
24
s . author = { "Instabug" => "[email protected] " }
25
25
s . platform = :ios , '5.0'
26
- s . source = { :git => "https://github.com/Instabug/Instabug-iOS.git" , :tag => "3.4.4 " }
26
+ s . source = { :git => "https://github.com/Instabug/Instabug-iOS.git" , :tag => "3.4.5 " }
27
27
s . source_files = 'Instabug.framework/Versions/A/Headers/*.{h}'
28
28
s . resources = 'Instabug.bundle'
29
29
s . preserve_paths = 'Instabug.framework/*' , 'Instabug.bundle'
Original file line number Diff line number Diff line change 10
10
fi
11
11
source "${SCRIPT_SRC}"
12
12
SCRIPTEND
13
- current_dir = Dir . pwd
14
- while true
15
- Dir . chdir ( ".." )
16
- if current_dir != Dir . pwd
17
- current_dir = Dir . pwd
18
- else
19
- break
20
- end
13
+
14
+ current_dir = nil
15
+ while current_dir != Dir . pwd
21
16
project_path = Dir . glob ( "#{ current_dir } /*.xcodeproj" )
17
+
22
18
unless project_path . first . nil?
23
19
project = Xcodeproj ::Project . open ( project_path . first )
24
20
main_target = project . targets . first
25
- phase = main_target . new_shell_script_build_phase ( INSTABUG_PHASE_NAME )
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"
26
23
phase . shell_script = INSTABUG_PHASE_SCRIPT
27
24
project . save ( )
28
25
break
29
26
end
27
+
28
+ Dir . chdir ( ".." )
29
+ current_dir = Dir . pwd
30
30
end
You can’t perform that action at this time.
0 commit comments