error: uncaughtException: undefined

23 views
Skip to first unread message

Salem Artin

unread,
Feb 6, 2014, 12:05:33 PM2/6/14
to appium-...@googlegroups.com

Hello,

I have just started using Appium to do iOS automation. I have a native iOS app that I am able to run on the iPad simulator through Appium.app Version 0.14.2 application with no problems so far... However, when I launch the app via Appium.app on an iPad (real device) the application under test does not launch on the iPad but rather I get this in the logs

info: Starting Appium in pre-launch mode

info: Pre-launching app
info: Using local app from command line: /Users/sartin/Library/Developer/Xcode/DerivedData/Teesnap-flluqiyociefbweqskktmyilkbtr/Build/Products/Debug-iphoneos/Teesnap.app
info: Creating new appium session eefceba4-6c95-4eb5-8337-aa3cb2080c56
info: Removing any remaining instruments sockets
info: Cleaned up instruments socket /tmp/instruments_sock

warn: Could not parse plist file at /Users/sartin/Library/Developer/Xcode/DerivedData/Teesnap-flluqiyociefbweqskktmyilkbtr/Build/Products/Debug-iphoneos/Teesnap.app/en.lproj/Localizable.strings

info: Not setting locale because we're using a real device
info: Not setting iOS and app preferences since we're on a real device
info: Starting iOS device log capture via idevicesyslog

info: Not setting device type since we're connected to a device

error: uncaughtException: undefined date=Wed Feb 05 2014 13:53:21 GMT-0500 (EST), pid=7725, uid=323083206, gid=1631709674, cwd=/Applications/Appium.app/Contents/Resources/node_modules/appium, execPath=/Applications/Appium.app/Contents/Resources/node/bin/node, version=v0.10.17, argv=[/Applications/Appium.app/Contents/Resources/node/bin/node, /Applications/Appium.app/Contents/Resources/node_modules/appium/lib/server/main.js, --address, 127.0.0.1, --port, 4723, --app, /Users/sartin/Library/Developer/Xcode/DerivedData/Teesnap-flluqiyociefbweqskktmyilkbtr/Build/Products/Debug-iphoneos/Teesnap.app, --udid, 087c47f, --pre-launch, --keep-artifacts, --device-name, iPad], rss=43491328, heapTotal=32171264, heapUsed=20651104, loadavg=[1.34033203125, 1.7451171875, 1.76708984375], uptime=163715, trace=[], stack=undefined

Note that

  • I am using Xcode Version 5.0.2 (5A3005) and my application is at iOS 7.x
  • when I launch the app on the simulator, I pick the Debug-iphonesimulator/myApp.app and when launch it on the real device (the iPad) I am selecting the Debug-iPhones/myApp.app
  • my app cannot run on an iPhone... it has to be an iPad!
  • I am running on Mountain Lion 10.8.5

I filed an issue on github here https://github.com/appium/appium/issues/1873

Is anyone else facing this issue?

Thanks



Jonathan Lipps

unread,
Feb 6, 2014, 12:45:11 PM2/6/14
to Salem Artin, appium-...@googlegroups.com
I think this is fixed in master.

--
http://appium.io
---
You received this message because you are subscribed to the Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages