lib/gym/xcodebuild_fixes/watchkit_fix.rb in gym-1.2.0 vs lib/gym/xcodebuild_fixes/watchkit_fix.rb in gym-1.3.0
- old
+ new
@@ -3,11 +3,11 @@
class << self
# Determine whether this app has WatchKit support and manually package up the WatchKit framework
def watchkit_fix
return unless should_apply_watchkit1_fix?
- Helper.log.info "Adding WatchKit support" if $verbose
+ UI.verbose "Adding WatchKit support"
Dir.mktmpdir do |tmpdir|
# Make watchkit support directory
watchkit_support = File.join(tmpdir, "WatchKitSupport")
Dir.mkdir(watchkit_support)
@@ -18,10 +18,10 @@
# Add "WatchKitSupport" to the .ipa archive
Dir.chdir(tmpdir) do
abort unless system %(zip --recurse-paths "#{PackageCommandGenerator.ipa_path}" "WatchKitSupport" > /dev/null)
end
- Helper.log.info "Successfully added WatchKit support" if $verbose
+ UI.verbose "Successfully added WatchKit support"
end
end
# Does this application have a WatchKit target
def watchkit?