Peter Hodgson has an excellent write up on how to get started with Frank.

http://blog.thepete.net/blog/2012/06/24/writing-your-first-frank-test/

He also has a short screen cast here to help get you going.

http://blog.thepete.net/blog/2012/06/16/lowering-franks-barrier-to-entry/

I am new to Frank. But by following these intros I was able to get the Olympic test app up and running. So start there, and things will probably work.

If however you do run into complications, see if any of these workarounds work for you.

“Error: No developer directory found at /Developer”?

If you get this error, run this command from the command line:

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

Unable to activate rspec-2.9.0, … conflicts with rspec-expectations (Gem::LoadError)

You get this error if you’be been doing some rails development and you have a different version of rspec setup in your rvm.

You can resolve this by creating a new gemset and then installing the latest rspec version as follows:

> rvm gemset list
> rvm gemset create frank
> rvm 1.9.3@frank
> gem install rspec

Note: you will have to substitute 1.9.3 with whatever version of ruby you are currently on:

> ruby -v

Make your app accessible

Follow these instructions here:

Can read about how to do that here.

Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax

Follow Solution 1 on this page.

http://helpx.adobe.com/photoshop/kb/unit-type-conversion-error-applescript.html

More info

No architectures to compile for (ARCHS=armv6 armv7, VALID_ARCHS=i386)

I got this error when we made a lot of changes to our project file, and it wouldn’t work out of the box with the nice >frank build command😦

To work around this I had to manually frankify my app, and then run a build script as shown below:

1. Manually frankifying your app

Follow these instructions:

https://github.com/moredip/Frank/wiki/Frankifying-your-app-in-XCode-4

2. Add and run this build script.

Follow this instructions:

How to add a run build script to Xcode project

To run this build script:

echo APP_BUNDLE_PATH=\"$BUILT_PRODUCTS_DIR/$EXECUTABLE_NAME.app\" > $SRCROOT/Frank/features/support/bundle_path.rb

If everything works you should see your app on Symbiote here:

http://localhost:37265/

And you should be able to run the sample cucumber test from the command line like this:

cucumber Frank/features/my_first.feature

Discussion on Frank google group

Symbiote