Closed americanhanko closed 6 years ago
@americanhanko @KrauseFx Hi! Any ideas how to fix it properly?
I made it like this but I'm not very familiar with ruby
link = nil
pre_link1 = body.scan(%r{<button .*"(.+?.xip)".*</button>})
if !pre_link1.nil?
pre_link2 = pre_link1.first
if !pre_link2.nil?
link = pre_link2.first
end
end
if link.nil?
pre_link1 = body.scan(%r{<button .*"(.+?.dmg)".*</button>})
if !pre_link1.nil?
pre_link2 = pre_link1.first
if !pre_link2.nil?
link = pre_link2.first
end
end
end
Upon running
xcversion update
, the following failure occurs:Line 438 in
lib/xcode/install.rb
:As it turns out, Xcode 10 beta 3 is an XIP archive bundled in a DMG. This is different from previous versions that were hosted directly as XIP archives.