lib/run_loop/lipo.rb in run_loop-4.9.0 vs lib/run_loop/lipo.rb in run_loop-4.9.1
- old
+ new
@@ -71,11 +71,11 @@
def expect_compatible_arch(device)
if device.physical_device?
raise 'Ensuring compatible arches for physical devices is NYI'
else
arches = self.info
- # An i386 binary will run on any simulator.
- return true if arches.include?('i386')
+ # An i386 and arm64 binary will run on any simulator.
+ return true if arches.include?('i386') || arches.include?('arm64')
instruction_set = device.instruction_set
unless arches.include?(instruction_set)
raise RunLoop::IncompatibleArchitecture,
['Binary at:',