Appium 1.4.0 Release


#21

i get the “Could not initialize ideviceinstaller; make sure it is installed and works on your system” error on this build.
is this a bug?
info: [debug] Attempting iOS device log capture via libimobiledevice idevicesyslog
warn: Could not capture device log using libimobiledevice idevicesyslog. Libimobiledevice probably isn’t installed
info: [debug] Attempting iOS device log capture via deviceconsole

info: [debug] Creating iDevice object with udid dc87ff52b20857e60a521f18599db44338eaf5cc

error: Could not initialize ideviceinstaller; make sure it is installed and works on your system

info: [debug] Couldn’t find ideviceinstaller, trying built-in at /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
info: [debug] Cleaning up appium session

error: Failed to start an Appium session, err was: Error: Could not initialize ideviceinstaller; make sure it is installed and works on your system

info: [debug] Error: Could not initialize ideviceinstaller; make sure it is installed and works on your system
at [object Object].IOS.getIDeviceObj (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios.js:909:13)
at [object Object].IOS.installToRealDevice (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios.js:856:32)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:607:21
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:246:17
at iterate (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:146:13)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:157:25
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:248:21
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:612:34
at [object Object]. (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios-crash-log.js:52:5)
at [object Object]. (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios-crash-log.js:27:5)
at f (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/node_modules/once/once.js:17:25)
at Glob. (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/glob.js:131:7)
at Glob.emit (events.js:107:17)
at Glob._finish (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/glob.js:168:8)
at done (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/glob.js:157:12)
at Glob._processReaddir2 (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/glob.js:351:12)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/glob.js:288:17
at RES (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/node_modules/inflight/inflight.js:23:14)
at f (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/node_modules/once/once.js:17:25)
at Glob._readdirEntries (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/glob.js:480:10)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/glob/glob.js:457:12
at FSReqWrap.oncomplete (fs.js:95:15)
info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Could not initialize ideviceinstaller; make sure it is installed and works on your system)”,“origValue”:“Could not initialize ideviceinstaller; make sure it is installed and works on your system”},“sessionId”:null}
info: <-- POST /wd/hub/session 500 1206.261 ms - 300


#22

Is this in dmg? Can you raise a defect in git repo. Thanks


#23

Yes this issue occurs on the latest 1.4.0 dmg.
Device- iPhone 6+ running iOS 8.3.
I have open a bug as suggested.
Thanks.


#24

Solution is here.


#25

Appium server not running. Installed appium 1.4.0 and using server address 127.0.0.1 and port 4723.

Getting the below error
Launching Appium with command: ‘/usr/local/bin/node’ lib/server/main.js --address “127.0.0.1” --command-timeout “7200” --debug-log-spacing --log-timestamp --platform-version “8.1” --platform-name “iOS” --app “/Users//Desktop/My.app” --show-ios-log --default-device

dyld: lazy symbol binding failed: Symbol not found: _node_module_register
Referenced from: /Applications/Appium.app/Contents/R
esources/node_modules/appium/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build/Release/bufferutil.node
Expected in: dynamic lookup

dyld: Symbol not found: _node_module_register
Referenced from: /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build/Release/bufferutil.node
Expected in: dynamic lookup

Please help in resolving this issue.


#26

I have the same issue when trying to launch Appium programmatically. It complains about “Could not initialize ideviceinstaller”. This issue seems to be limited to Eclipse. When I run mvn test from the command line, it runs fine, and I can run the Appium app too. Any idea what can cause this behavior?


#27

I suggest to roll back to 1.3.5 for the time being til things get sorted out. Thtat’s what I am doing at the moment


#28

installing idevice installer from brew will solve the issue
install brew from -> ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
and install -> brew install ideviceinstaller


#29

Hi

I am trying to run my app and my app is getting crashed and is getting restarted and get crashed again.

I was facing the same issues with 1.3.7 and same with latest 1.4.0.

Can you one please help me resolve this so that I can make a start on iOS automation.

Thanks,
Pradeep.K


#30

Do you also have release notes for minor releases? I just did a npm install -g appium and got Appium version 1.4.6.
It would be good to know what are the different to previous versions. The last versions I used was 1.4.1 for this version there is a release note in GitHub.


#31

The ‘Search’ in soft-keyboard stopped working for me from iOS 8.3 (it will shut down the testing app after click the ‘Search’)…it was fine in iOS 8.2. and I tried with iOS 8.4, it’s still not working. can anyone please help to take a look? many thanks!


nfo: <-- POST /wd/hub/session/94a06faa-c034-4692-8298-87a863ddcf2d/element/4/value 200 233.346 ms - 74 {“status”:0,“value”:"",“sessionId”:“94a06faa-c034-4692-8298-87a863ddcf2d”}
info: --> POST /wd/hub/session/94a06faa-c034-4692-8298-87a863ddcf2d/elements {“using”:“name”,“value”:“Search”}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: “au.getElementsByName(‘Search’)”
info: [debug] Sending command to instruments: au.getElementsByName(‘Search’)
info: [debug] [INST] 2015-07-01 18:25:59 +0000 Debug: Got new command 20 from instruments: au.getElementsByName(‘Search’)
info: [debug] [INST] 2015-07-01 18:25:59 +0000 Debug: evaluating au.getElementsByName(‘Search’)
info: [debug] [INST] 2015-07-01 18:25:59 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-07-01 18:25:59 +0000 Debug: Lookup returned [object UIAButton] with the name “Search” (id: 5).
info: [debug] [INST] 2015-07-01 18:25:59 +0000 Debug: responding with:
info: [debug] [INST] 2015-07-01 18:25:59 +0000 Debug: Running system command #21: /usr/local/Cellar/node/0.10.33/bin/node /Users/ywang24/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:[{“ELEMENT”:“5”}]}…
info: [debug] Socket data received (40 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:0,“value”:[{“ELEMENT”:“5”}]}
info: [debug] Responding to client with success: {“status”:0,“value”:[{“ELEMENT”:“5”}],“sessionId”:“94a06faa-c034-4692-8298-87a863ddcf2d”}
info: <-- POST /wd/hub/session/94a06faa-c034-4692-8298-87a863ddcf2d/elements 200 200.085 ms - 89 {“status”:0,“value”:[{“ELEMENT”:“5”}],“sessionId”:“94a06faa-c034-4692-8298-87a863ddcf2d”}
info: --> POST /wd/hub/session/94a06faa-c034-4692-8298-87a863ddcf2d/element/5/click {}
info: [debug] Pushing command to appium work queue: “au.tapById(‘5’)”
info: [debug] Sending command to instruments: au.tapById(‘5’)
info: [debug] [INST] 2015-07-01 18:26:00 +0000 Debug: Got new command 21 from instruments: au.tapById(‘5’)
info: [debug] [INST] 2015-07-01 18:26:00 +0000 Debug: evaluating au.tapById(‘5’)
info: [debug] [INST] 2015-07-01 18:26:00 +0000 Debug: UIAButton.tap()
info: [debug] [INST] 2015-07-01 18:26:00 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-07-01 18:26:00 +0000 Debug: responding with:
info: [debug] [INST] 2015-07-01 18:26:00 +0000 Debug: Running system command #22: /usr/local/Cellar/node/0.10.33/bin/node /Users/ywang24/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:""}…
info: [debug] Socket data received (25 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:0,“value”:""}
info: [debug] Responding to client with success: {“status”:0,“value”:"",“sessionId”:“94a06faa-c034-4692-8298-87a863ddcf2d”}
info: <-- POST /wd/hub/session/94a06faa-c034-4692-8298-87a863ddcf2d/element/5/click 200 259.280 ms - 74 {“status”:0,“value”:"",“sessionId”:“94a06faa-c034-4692-8298-87a863ddcf2d”}
info: [debug] [INST] 2015-07-01 18:26:00 +0000 Fail: The target application appears to have died
info: [debug] [INST STDERR] 2015-07-01 11:26:00.604 instruments[36349:635801] Attempting to set event horizon when core is not engaged, request ignored
info: [debug] [INST STDERR] 2015-07-01 11:26:00.605 instruments[36349:635802] Attempting to set event horizon when core is not engaged, request ignored
info: [debug] [INST] Instruments Trace Complete (Duration : 17.779457s; Output : /tmp/appium-instruments/instrumentscli0.trace)
info: [debug] [INSTSERVER] Instruments exited with code 0
info: [debug] Cleaning up after instruments exit
info: [debug] Instruments exited unexpectedly
info: [debug] Shutting down command proxy and ignoring any errors
info: [debug] Destroying instruments client socket.
info: [debug] Closing socket server.


unpinned #32

#33

Hi…
Does the below github url has the latest updated source code (xcode project) of appium inspector ? If not can you please guide me with the correct link.

Thanks


#34

no, unfortunately it didn’t…