Peter Hodgson has an excellent write up on how to get started with Frank.
He also has a short screen cast here to help get you going.
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.
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:
2. Add and run this build script.
Follow this instructions:
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:
And you should be able to run the sample cucumber test from the command line like this: