Not sure if this will work for everyone.
I got around this issue by removing the "the magic - implicit
dependencies" Xcode maintains and build the libs and project
separately. I understand it defeats the purpose of having the "xCode
scheme" and everything, but i do like to have my own build structure
and dependency map explicitly.
--
Hari
> >> /Users/aufflick/.rvm/rubies/**ruby-1.9.2-p290/lib/ruby/1.9.**1/fileutils.rb :1252:in
> >> `mkdir': No such file or directory - Frank/frankified_build/**
> >> Frankified.app/frank_static_**resources.bundle (Errno::ENOENT)
> >> from /Users/aufflick/.rvm/rubies/**ruby-1.9.2-p290/lib/ruby/1.9.**1/fileutils.rb :1252:in
> >> `copy'
> >> from /Users/aufflick/.rvm/rubies/**ruby-1.9.2-p290/lib/ruby/1.9.**1/fileutils.rb :461:in
> >> `block in copy_entry'
> >> from /Users/aufflick/.rvm/rubies/**ruby-1.9.2-p290/lib/ruby/1.9.**1/fileutils.rb :1341:in
> >> `preorder_traverse'
> >> from /Users/aufflick/.rvm/rubies/**ruby-1.9.2-p290/lib/ruby/1.9.**1/fileutils.rb :458:in
> >> `copy_entry'
> >> from /Users/aufflick/.rvm/rubies/**ruby-1.9.2-p290/lib/ruby/1.9.**1/fileutils.rb :433:in
> >> `block in cp_r'
> >> from /Users/aufflick/.rvm/rubies/**ruby-1.9.2-p290/lib/ruby/1.9.**1/fileutils.rb :1423:in
> >> `block in fu_each_src_dest'
> >> from /Users/aufflick/.rvm/rubies/**ruby-1.9.2-p290/lib/ruby/1.9.**1/fileutils.rb :1439:in
> >> `fu_each_src_dest0'
> >> from /Users/aufflick/.rvm/rubies/**ruby-1.9.2-p290/lib/ruby/1.9.**1/fileutils.rb :1421:in
> >> `fu_each_src_dest'
> >> from /Users/aufflick/.rvm/rubies/**ruby-1.9.2-p290/lib/ruby/1.9.**1/fileutils.rb :432:in
> >> `cp_r'
> >> from /Users/aufflick/.rvm/gems/**ruby-1.9.2-p290@frank-fa2/**
> >> gems/frank-cucumber-0.9.5.**pre1/lib/frank-cucumber/cli.**rb:61:in
> >> `block in build'
> >> from /Users/aufflick/.rvm/gems/**ruby-1.9.2-p290@frank-fa2/**
> >> gems/thor-0.15.4/lib/thor/**actions.rb:192:in `block in in_root'
> >> from /Users/aufflick/.rvm/gems/**ruby-1.9.2-p290@frank-fa2/**
> >> gems/thor-0.15.4/lib/thor/**actions.rb:182:in `block in inside'
> >> from /Users/aufflick/.rvm/rubies/**ruby-1.9.2-p290/lib/ruby/1.9.**1/fileutils.rb :121:in
> >> `chdir'
> >> from /Users/aufflick/.rvm/rubies/**ruby-1.9.2-p290/lib/ruby/1.9.**1/fileutils.rb :121:in
> >> `cd'
> >> from /Users/aufflick/.rvm/gems/**ruby-1.9.2-p290@frank-fa2/**
> >> gems/thor-0.15.4/lib/thor/**actions.rb:182:in `inside'
> >> from /Users/aufflick/.rvm/gems/**ruby-1.9.2-p290@frank-fa2/**
> >> gems/thor-0.15.4/lib/thor/**actions.rb:192:in `in_root'
> >> from /Users/aufflick/.rvm/gems/**ruby-1.9.2-p290@frank-fa2/**
> >> gems/frank-cucumber-0.9.5.**pre1/lib/frank-cucumber/cli.**rb:60:in
> >> `build'
> >> from /Users/aufflick/.rvm/gems/**ruby-1.9.2-p290@frank-fa2/**
> >> gems/thor-0.15.4/lib/thor/**task.rb:27:in `run'
> >> from /Users/aufflick/.rvm/gems/**ruby-1.9.2-p290@frank-fa2/**
> >> gems/thor-0.15.4/lib/thor/**invocation.rb:120:in `invoke_task'
> >> from /Users/aufflick/.rvm/gems/**ruby-1.9.2-p290@frank-fa2/**
> >> gems/thor-0.15.4/lib/thor.rb:**275:in `dispatch'
> >> from /Users/aufflick/.rvm/gems/**ruby-1.9.2-p290@frank-fa2/**
> >> gems/thor-0.15.4/lib/thor/**base.rb:425:in `start'
> >> from /Users/aufflick/.rvm/gems/**ruby-1.9.2-p290@frank-fa2/**
> >> gems/frank-cucumber-0.9.5.**pre1/bin/frank:5:in `<top (required)>'
> >> from /Users/aufflick/.rvm/gems/**ruby-1.9.2-p290@frank-fa2/bin/**frank:19:in
> >> `load'
> >> from /Users/aufflick/.rvm/gems/**ruby-1.9.2-p290@frank-fa2/bin/**frank:19:in
> >> `<main>'
>
> >> On Wednesday, 11 July 2012 15:21:00 UTC+10, Pete Hodgson wrote:
>
> >>> Hi Mark,
>
> >>> Can you try the pre-release frank-cucumber gem I just pushed. `gem
> >>> install frank-cucumber --prerelease` should get you set up. Amongst other
> >>> things this gem updates `frank build` to take optional --workspace,
> >>> --scheme and --target flags. It passes the value of these flags through to
> >>> the underlying xcodebuild command which frank build uses. Note that frank
> >>> build wants flags with two dashes (--workspace), despite xcodebuild using
> >>> single-dashed flags (-workspace). I'd have preferred to get frank build to
> >>> work with single-dashed flags, but it was a bit of a hassle. Ce la vie.
>
> >>> Let me know if you run into any problems.
>
> >>> Cheers,
> >>> Pete
>