Question

I am trying to complete the frank tutorial given here: http://blog.thepete.net/blog/2012/06/24/writing-your-first-frank-test/

However when I reach to 'frank setup' (I have cd into the project directory)

Then I get the error:

/Library/Ruby/Gems/1.8/gems/frank-cucumber-1.1.12/lib/frank-cucumber/frankifier.rb:73:in `decide_on_target': Sorry, this project appears to contain no targets. Nothing I can do here. (RuntimeError)

This is weird because when I use 'xcodebuild -list' it correctly shows me the "2012 Olympics" target.

Anyone had the same error and found a solution?

Was it helpful?

Solution

I made it work. After having tracked the problem down to xcodeproj (0.10.1) I tried another version of xcodeproj (0.9.0), and it worked :) So just uninstall xcodeproj (0.10.1) with:

sudo gem uninstall xcodeproj --version 0.10.1

And after that install xcodeproj (0.9.0) with:

sudo gem install --version 0.9.0 xcodeproj

That's it :)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top