Nothing happens after "debug: Starting iOS device log capture via idevicesyslog"

594 views
Skip to first unread message

Matthew Pessa

unread,
Jul 15, 2014, 2:37:39 PM7/15/14
to appium-...@googlegroups.com
I've been struggling with this for while now. I've been using Appium with Android with no problems but now we're switching to iOS testing. I can't get past the line:

debug: Starting iOS device log capture via idevicesyslog

It just sits there and does nothing. After 10 minutes, arc will timeout and throw an error.

Appium v. 1.2.0
appium_console (1.0.1)
appium_lib (2.1.0)

Appium output:

info: Welcome to Appium v1.2.0 (REV e53f49c706a25242e66d36685c268b599cc18da5)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: LogLevel: debug
info: --> POST /wd/hub/session {"desiredCapabilities":{"newCommandTimeout":999999,"platformName":"iOS","platformVersion":"7.1","deviceName":"iPhone","udid":"ED916ECDADDC215BD3300096FD4D96500A5031DC","app":"/Users/matthewpessa/test/utest_demo/ios/ipas/Demo.ipa","autoAcceptAlerts":"true"}}
debug: Appium request initiated at /wd/hub/session
debug: Request received with params: {"desiredCapabilities":{"newCommandTimeout":999999,"platformName":"iOS","platformVersion":"7.1","deviceName":"iPhone","udid":"ED916ECDADDC215BD3300096FD4D96500A5031DC","app":"/Users/matthewpessa/test/utest_demo/ios/ipas/Demo.ipa","autoAcceptAlerts":"true"}}
debug: Using local .ipa from desired caps: /Users/matthewpessa/test/utest_demo/ios/ipas/Demo.ipa
debug: Copying local zip to tmp dir
debug: /Users/matthewpessa/test/utest_demo/ios/ipas/Demo.ipa copied to /var/folders/y8/35s7fz310db26w621_gtft000000gn/T/114615-57760-n452m2/appium-app.zip
debug: Unzipping /var/folders/y8/35s7fz310db26w621_gtft000000gn/T/114615-57760-n452m2/appium-app.zip
debug: Testing zip archive: /var/folders/y8/35s7fz310db26w621_gtft000000gn/T/114615-57760-n452m2/appium-app.zip
debug: Zip archive tested clean
debug: Unzip successful
debug: Using locally extracted app: /var/folders/y8/35s7fz310db26w621_gtft000000gn/T/114615-57760-n452m2/Payload/Demo.app
debug: Creating new appium session 07472b49-549c-41b5-9f21-0b30815b5fb0
debug: Removing any remaining instruments sockets
debug: Cleaned up instruments socket /tmp/instruments_sock
debug: Cleaning up any tracedirs
debug: No tracedirs to clean up
debug: Setting Xcode folder
debug: Setting Xcode version
debug: Setting iOS SDK Version
debug: iOS SDK Version set to 7.1
debug: Detecting automation tracetemplate
debug: Not auto-detecting udid, running on sim
`parseFileSync()` is deprecated. Use `parseStringSync()` instead.
warn: Could not parse plist file at /var/folders/y8/35s7fz310db26w621_gtft000000gn/T/114615-57760-n452m2/Payload/Demo.app/en.lproj/Localizable.strings
debug: Not setting locale because we're using a real device
debug: Creating instruments
debug: Preparing uiauto bootstrap
debug: Dynamic bootstrap dir: /Users/matthewpessa/Library/Application Support/appium/bootstrap
debug: Dynamic env: {"nodePath":"/usr/local/Cellar/node/0.10.28/bin/node","commandProxyClientPath":"/usr/local/lib/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js"}
debug: Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!

#import "/usr/local/lib/node_modules/appium/node_modules/appium-uiauto/uiauto/bootstrap.js";

bootstrap({
  nodePath: "/usr/local/Cellar/node/0.10.28/bin/node",
  commandProxyClientPath: "/usr/local/lib/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js",
});
debug: Dynamic bootstrap path: /Users/matthewpessa/Library/Application Support/appium/bootstrap/bootstrap-d8367eaee55b910a.js
debug: Creating or overwritting dynamic bootstrap: /Users/matthewpessa/Library/Application Support/appium/bootstrap/bootstrap-d8367eaee55b910a.js
debug: Not setting iOS and app preferences since we're on a real device
debug: Starting iOS device log capture via idevicesyslog
info: <-- POST /wd/hub/session - - ms - -

Error from arc:
/Users/matthewpessa/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/protocol.rb:153:in `read_nonblock': end of file reached (EOFError)

Any help would be appreciated.

Thanks!

bootstrap online

unread,
Jul 15, 2014, 2:44:51 PM7/15/14
to Matthew Pessa, appium-...@googlegroups.com
Are you using the iOS Simulator or a real device?
> --
> 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/d/optout.

Matthew Pessa

unread,
Jul 15, 2014, 2:51:11 PM7/15/14
to appium-...@googlegroups.com
I am using a real device and I'm specifying the udid.

bootstrap online

unread,
Jul 15, 2014, 2:52:42 PM7/15/14
to Matthew Pessa, appium-...@googlegroups.com
How are you deploying the app to the device? When I did physical
device testing on iOS, I had to use Xcode to start the app.

On Tue, Jul 15, 2014 at 2:51 PM, Matthew Pessa <mpe...@evosolutions.com> wrote:
> I am using a real device and I'm specifying the udid.
>

Matthew Pessa

unread,
Jul 15, 2014, 2:57:59 PM7/15/14
to appium-...@googlegroups.com
I already have the app loaded on the device. Eventually I am going to have to have appium install the app from the .ipa file. I have tried manually starting the app but I don't have the XCode project to be able to start it in XCode.

bootstrap online

unread,
Jul 15, 2014, 3:07:27 PM7/15/14
to Matthew Pessa, appium-...@googlegroups.com
I think this issue has to do with the provisioning profile on the
device and how the app is signed. Other than building from source with
Xcode, I'm not sure what the other options are. Maybe others on the
list can help.

Matthew Pessa

unread,
Jul 15, 2014, 3:33:11 PM7/15/14
to appium-...@googlegroups.com
I'll look into that. Thanks for the help.


On Tuesday, July 15, 2014 11:37:39 AM UTC-7, Matthew Pessa wrote:
Reply all
Reply to author
Forward
0 new messages