Zucchini with iOS8 and xcode 6

202 views
Skip to first unread message

Thomas PAQUETEAU

unread,
Sep 15, 2014, 6:23:22 AM9/15/14
to zucchini...@googlegroups.com
Hi there,
As you should now Apple released a new iOS version : iOS8 and with a new xcode version : xcode6.
I have just installed the GM version but when I tried to execute my zucchini tests I had an error :

/Library/Ruby/Gems/2.0.0/gems/zucchini-ios-0.7.4/lib/zucchini/config.rb:71:in `template': Can't find Instruments template (tried /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate, /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate) (RuntimeError)


In fact it seems that zucchini tries to use Automation.tracetemplate but with xcode6 the path of this file have changed (new path is /Applications/Xcode6-beta.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate)

I had never developed in ruby but I search in the code where this path is set. I find it in config.rb file. I changed it : add the new path but keep the two other for old xcode version. I compiled it and the error seems fixe.

So my first question is I just want to know if someone had the same issue and how he fixed it.
The second is to ask if a new commit is expected. Maybe I can try to do (propose) it but I'm not really comfortable with it.

Thomas

Thomas W.

unread,
Sep 22, 2014, 4:36:37 AM9/22/14
to zucchini...@googlegroups.com
Hi,

just create a sym link for /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle from /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin as source

Thomas

André Michels Freitas

unread,
Jan 28, 2015, 2:24:10 PM1/28/15
to zucchini...@googlegroups.com
Thanks!

It worked for me!
Reply all
Reply to author
Forward
0 new messages