Skip to content

Commit

Permalink
v3.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mzsoliman committed Aug 7, 2014
1 parent f297154 commit 90517d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Instabug.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Instabug"
s.version = "3.4.5"
s.version = "3.4.6"
s.summary = "Bug reporting for mobile apps. Learn more at http://instabug.com"
s.homepage = "http://instabug.com"
s.license = {
Expand All @@ -23,7 +23,7 @@ Pod::Spec.new do |s|
}
s.author = { "Instabug" => "contactus@instabug.com" }
s.platform = :ios, '5.0'
s.source = { :git => "https://github.com/Instabug/Instabug-iOS.git", :tag => "3.4.5" }
s.source = { :git => "https://github.com/Instabug/Instabug-iOS.git", :tag => "3.4.6" }
s.source_files = 'Instabug.framework/Versions/A/Headers/*.{h}'
s.resources = 'Instabug.bundle'
s.preserve_paths = 'Instabug.framework/*', 'Instabug.bundle'
Expand Down
11 changes: 5 additions & 6 deletions add_instabug_build_script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,19 @@
source "${SCRIPT_SRC}"
SCRIPTEND

current_dir = nil
while current_dir != Dir.pwd
project_path = Dir.glob("#{current_dir}/*.xcodeproj")
current_path = nil
while current_path != Dir.pwd
current_path = Dir.pwd
project_path = Dir.glob("#{current_path}/*.xcodeproj")

unless project_path.first.nil?
project = Xcodeproj::Project.open(project_path.first)
main_target = project.targets.first
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)
phase.shell_path = "/bin/sh"
phase = main_target.new_shell_script_build_phase(INSTABUG_PHASE_NAME)
phase.shell_script = INSTABUG_PHASE_SCRIPT
project.save()
break
end

Dir.chdir("..")
current_dir = Dir.pwd
end

0 comments on commit 90517d7

Please sign in to comment.