Skip to content

Commit

Permalink
[#10] create '/usr/local/itms'
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Dec 5, 2015
1 parent a39ba19 commit ae16849
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ext/installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,11 @@ def install_plugins
FileUtils.mkdir_p(dir) unless File.exist?(dir)
FileUtils.ln_sf src, dst
end

# http://stackoverflow.com/questions/28461768/xcode-organizer-trying-to-access-transporter-at-wrong-directory-pathhttp://stackoverflow.com/questions/28461768/xcode-organizer-trying-to-access-transporter-at-wrong-directory-path
itms_src = '/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms'
itms_dst = '/usr/local/itms'
if File.exist?(itms_src) && !File.exist?(itms_dst)
FileUtils.ln_sf itms_src, itms_dst
end
end

0 comments on commit ae16849

Please sign in to comment.