do we need to execute it once or before each test?
did i understand correctly that needed to enter:
'sh /Applications/Appium.app/Contents/Resources/node/lib/node_modules/appium/bin/xcode_iwd.sh /Applications/Xcode.app appium in mine case?
tried and got: /Applications/Xcode.app: /Applications/Appium.app/Contents/Resources/node/lib/node_modules/appium/bin/xcode_iwd.sh: Permission denied
then did: chmod 700 /Applications/Appium.app/Contents/Resources/node/lib/node_modules/appium/bin/xcode_iwd.sh
and now:
sh -c /Applications/Appium.app/Contents/Resources/node/lib/node_modules/appium/bin/xcode_iwd.sh /Applications/Xcode.app appium
File Doesn’t Exist, Will Create: /Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Developer/Library/LaunchDaemons/com.apple.instruments.deviceservice.plist
File Doesn’t Exist, Will Create: /Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Developer/Library/LaunchDaemons/com.apple.instruments.deviceservice.plist
File Doesn’t Exist, Will Create: /Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Developer/Library/LaunchDaemons/com.apple.instruments.deviceservice.plist
Is there a way to know if the appium server is running with this library? I can’t seem to get this to work and it looks like my plist is exactly the same except for the appium path.
Should something like the following be displayed in the server log? I’m not seeing them, but I’ve seen other peoples’ logs displaying this and was wondering if I’m doing something wrong and that’s why I’m not seeing it.
debug: And extra without-delay
env: {“DYLD_INSERT_LIBRARIES”:“/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd/InstrumentsShim.dylib”,“LIB_PATH”:“/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd”}
I haven’t upgraded to 1.4.16 I just upgraded to 1.4.15 and it seems to be working still(Xcode 7.0.1). I don’t know what those lines are from since I don’t fully understand Xcode and all the file types. The error(instruments-without-delay does not work) is normal as it says that on mine as well. If you follow the link I put in(Xcode 6 + iOS 7.1 sim slowness?) it does a work around that works.
I ran into that same issue @djwgit and ran an instruments script directly to get around it. It doesn’t help with the rest of the slowness, but it helps for that one scenario.
When you build, did you point to the right version of simluator? i.e. 9.2 in your case? I had the same issue when I pointed to, i.e. 9.1 but i launch a 9.2 simluator and hence I see no increase in test run performance
I tried to install iwd-xcode7, after that test with iOS9 simulator gets very faster,
but with iPhone6 doesn’t change.
iOS9 simulator (iPhone6s) -> my test time is 5 minutes
iPhone6 (9.2.1) -> my test time is 5 minutes
iOS9 simulator (iPhone6s) -> my test time is 2.5 minutes
iPhone6 (9.2.1) -> my test time is 5 minutes, same...
So I’ve gone through the setup but I can’t seem to get it work. There is no difference in length of time it takes my tests to run. Does anyone have any suggesstions? My current setup is:
i had to run iwd with sudo in order to have the /Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Developer/Library/LaunchDaemons/com.apple.instruments.deviceservice.plist changed. can you check the timestamp of this file after running the iwd command?