Do you have any plan to enable instruments-without-delay for Xcode 7? Currently I have a test suite that runs for almost 8 hour to finish. I can imagine without instruments-without-delay option, that suite will runs for days
Yes we want to research that option. I have not been able to take time for that. Though for xcode 7 you might have to do it yourself, as old way of passing arguments does not work.
Hi I would just like to say it would be great if we could get a fix for the instruments-without-delay flag in Xcode 7 as Appium is extremely slow without it. Without a way around the 1 second delay it is very difficult to use Appium for testing a whole app, especially at an enterprise level.
@moizjv o i tried using instruments-without-delay using appium 4.1.11 on xcode 7.1 Beta2 and it is much slower than using xcode 6 for the same version of appium and same tests.
@tbao thanks, I’ll give that a try when I get the chance (will be a few days). Obviously a permanent fix in appium would be ideal but thanks for the work around!
Back up this file: ./Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Developer/Library/LaunchDaemons/com.apple.instruments.deviceservice.plist ( I assume your Xcode is installed in the same directory of mine, otherwise you can do a search from Xcode directory with file name “com.apple.instruments.deviceservice.plist”)
Open that file and add this key - dict: <key>EnvironmentVariables</key> <dict> <key>DYLD_INSERT_LIBRARIES</key> <string>/Users/tbao/Developer/tools/appium/instruments-without-delay/build/DTMobileISShim.dylib</string> <key>LIB_PATH</key> <string>/Users/tbao/Developer/tools/appium/instruments-without-delay/build</string </dict>
Note: You have to change the values for the two keys DYLD_INSERT_LIBRARIES, LIB_PATH according to your checked out instruments-without-delay project.
Now try to run appium again and see if it works. To be frankly, how the author of this project solves the problem is still a mystery to me but at least it works for me. Let me know if you have any problem and I’ll try to get back to you when I have time