Problems running Zucchini since Xcode 5.0.1 with iOS 7.0.3

657 views
Skip to first unread message

Thomas W.

unread,
Oct 30, 2013, 7:33:32 AM10/30/13
to zucchini...@googlegroups.com
Hi,

since I updated my Xcode to 5.0.1 with iOS 7.0.3 I'm unable to run the UI tests. Zucchini is launching Instruments, but can't exec the UI tests in the app and failed with the message, that the app is not fronMost.

This what I got at the command line:

2013-10-30 12:29:27.131 ScriptAgent[14858:2d07] CFPreferences: user home directory at file:///Users/me/Library/Application%20Support/iPhone%20Simulator/7.0/ is unavailable. User domains will be volatile.
2013-10-30 12:29:27.225 ScriptAgent[14858:2d07] CLTilesManagerClient: initialize, sSharedTilesManagerClient
2013-10-30 12:29:27.226 ScriptAgent[14858:2d07] CLTilesManagerClient: init
2013-10-30 12:29:27.226 ScriptAgent[14858:2d07] CLTilesManagerClient: reconnecting, 0x960e360
2013-10-30 12:29:57.381 ScriptAgent[14858:2d07] +[UIAXElement initializeAccessibility]: UIAutomation never received kAXAccessibilityLoaded.  Waited 30.03 seconds.
2013-10-30 12:29:57.382 ScriptAgent[14858:2d07] AXError: Could not auto-register for pid status change
2013-10-30 12:29:57.383 ScriptAgent[14858:2d07] Failed to enable accessiblity, kAXErrorServerNotFound
2013-10-30 12:29:58.547 instruments[14813:6b63] Automation Instrument ran into an exception while trying to run the script.  UIAScriptAgentSignaledException
2013-10-30 11:29:58 +0000 Fail: An error occurred while trying to run the script.
Instruments Trace Complete (Duration : 47.820408s; Output : /Users/tweese/workspace/mobile-ios-client/instrumentscli0.trace)
1..1
ok 1 - SRP_save_search
    1..0

TAP report generated to /tmp/zucchini.t
HTML report generated to /tmp/zucchini_report.html

@update
Just now I found out that if I sym link the iPhoneSimulator 7.0.3 folder to 7.0 than zucchini works again.

Regards,
Thomas

Tony Mann

unread,
Oct 30, 2013, 2:11:21 PM10/30/13
to zucchini...@googlegroups.com
Maybe you need to update the Automation Template with the new version of Instruments?

..tony..

--
You received this message because you are subscribed to the Google Groups "Zucchini Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zucchini-discu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Sandhya

unread,
Nov 6, 2013, 2:36:06 AM11/6/13
to zucchini...@googlegroups.com
hi,
 'm also getting the same error like u posted... But i didn't understand how you solved the error. Can you please tell me a brief idea what you have done for removing the error. It will help me a lot..

thanks & Regards,
Sandhya.

kongqingyun123

unread,
Nov 6, 2013, 4:47:33 AM11/6/13
to zucchini-discuss
This is Xcode5.0.1 instrument bug, You can use Xcode5.0.
 
2013-11-06

kongqingyun123

发件人:Sandhya <sandh...@gmail.com>
发送时间:2013-11-06 15:36
主题:Re: Problems running Zucchini since Xcode 5.0.1 with iOS 7.0.3
收件人:"zucchini-discuss"<zucchini...@googlegroups.com>
抄送:
 
--

Sandhya

unread,
Nov 6, 2013, 8:02:16 AM11/6/13
to zucchini...@googlegroups.com
Thanx 孔庆云 , i have tried it with xcode 5.0 but now not even app is launching.. :( got error:

2013-11-06 18:28:36.104 instruments[6673:1207] Recording cancelled : At least one target failed to launch; aborting run
Instruments Trace Error : Error Domain=com.apple.instruments Code=1 "Error Starting Recording" UserInfo=0x7fed8ebd2990 {NSLocalizedDescription=Error Starting Recording, NSLocalizedRecoverySuggestion=At least one target failed to launch; aborting run}
Instruments Trace Error : Failed to start trace.
1..1
not ok 1 - feature
    1..0
    Bail out! Instruments run error

TAP report generated to /tmp/zucchini.t
HTML report generated to /tmp/zucchini_report.html


thanks &Regards,
Sandhya

On Wednesday, October 30, 2013 5:03:32 PM UTC+5:30, Thomas W. wrote:

Thomas W.

unread,
Nov 6, 2013, 11:19:41 AM11/6/13
to zucchini...@googlegroups.com
It is simple, just go into "~/Library/Application Support/iPhone Simulator". There is beside the folder 7.0 an folder named 7.0.3 and maybe 7.0.3-64. Simply remove the 7.0 folder and exec following command:

ln -s 7.0.3 7.0

Now should zucchini be able to run and remote control your app.

Sandhya

unread,
Nov 7, 2013, 12:39:09 AM11/7/13
to zucchini...@googlegroups.com
Thanks Thomas. I tried it but it was not successful for me... Getting instrument error.Dnt knw my version of xcode and ios are same as like you.. Then y 'm getting this error.. i am also able to launch the Automation template via the Instruments app...

2013-11-07 10:29:42.663 ScriptAgent[903:2d07] CLTilesManagerClient: initialize, sSharedTilesManagerClient
2013-11-07 10:29:42.663 ScriptAgent[903:2d07] CLTilesManagerClient: init
2013-11-07 10:29:42.664 ScriptAgent[903:2d07] CLTilesManagerClient: reconnecting, 0x96964c0
2013-11-07 04:59:43 +0000 Debug: target.setDeviceOrientation("1")
2013-11-07 04:59:43 +0000 Error: Script threw an uncaught JavaScript error: Screen 'Register for Safe Space' not defined on line 615 of feature.js
2013-11-07 04:59:43 +0000 Stopped: Script was stopped by the user
Instruments Trace Complete (Duration : 4.139430s; Output : /Users/navaneethan/Documents/zucchini_Test/instrumentscli0.trace)
1..1
not ok 1 - feature
    1..0
    Bail out! Instruments run error

TAP report generated to /tmp/zucchini.t
HTML report generated to /tmp/zucchini_report.html

please help me if you got any idea of this error..

thanks,
sandhya

On Wednesday, October 30, 2013 5:03:32 PM UTC+5:30, Thomas W. wrote:

raheel...@riksof.com

unread,
Mar 4, 2014, 3:01:19 AM3/4/14
to zucchini...@googlegroups.com

kindly stop the build on your xcode only run the file directly in simulator or device .

Regards.
M.Raheel

Ryan Marsh

unread,
Mar 6, 2014, 11:49:51 PM3/6/14
to zucchini...@googlegroups.com
I ran into this bug with [redacted] beta [redacted] and a reboot solved it for me. 


On Wednesday, November 6, 2013 3:47:33 AM UTC-6, 孔庆云 wrote:
This is Xcode5.0.1 instrument bug, You can use Xcode5.0.
 
2013-11-06

kongqingyun123

发件人:Sandhya <sandh...@gmail.com>
发送时间:2013-11-06 15:36
主题:Re: Problems running Zucchini since Xcode 5.0.1 with iOS 7.0.3
收件人:"zucchini-discuss"<zucchini-di...@googlegroups.com>

Ryan Marsh

unread,
Mar 7, 2014, 3:34:26 PM3/7/14
to zucchini...@googlegroups.com
Nevermind, it looks like it's back and a reboot doesn't work anymore. 
Reply all
Reply to author
Forward
0 new messages