diff --git a/ext/installer.rb b/ext/installer.rb index 3b19ba7..865cc93 100644 --- a/ext/installer.rb +++ b/ext/installer.rb @@ -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