lib/run_loop/device.rb in run_loop-4.2.3 vs lib/run_loop/device.rb in run_loop-4.3.0
- old
+ new
@@ -776,10 +776,12 @@
end
# @!visibility private
def simulator_running_system_app_pids
base_dir = xcode.developer_dir
- if xcode.version_gte_90?
+ if xcode.version_gte_110?
+ sim_apps_dir = "Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Applications"
+ elsif xcode.version_gte_90?
sim_apps_dir = "Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Applications"
else
sim_apps_dir = "Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Applications"
end
path = File.expand_path(File.join(base_dir, sim_apps_dir))