Closed HealsCodes closed 9 years ago
Ah I see - I'd also be happy to merge any PR which fixes this! (maybe there's a better constant/method to use inside the RubyMotion library itself?)
Since creating this issue I've been working on a reliable way to locate the app data and the simulator instance. Does the screenshots target support specifying the simulated device? I could usecthat as a starting point for a fix.
Also - would you require backward compatibility to older Xcode versions?
If used with XCode 6 motion-screenshots is looking for screenshots in the wrong directory resulting in a crash:
The old path
~/Library/Developer/CoreSimulator/Devices/*/Applications
is no longer available and simulator apps have moved to~/Library/Developer/CoreSimulator/Devices/<SIM_UUID>/data/Containers/Data/Application/<APP_UUID>/