Permission denied when frankifying an app, am I missing something?

30 views
Skip to first unread message

Marlon Cruz

unread,
May 24, 2015, 9:20:29 PM5/24/15
to frank-...@googlegroups.com
I installed frank-cucumber and performed build on my workspace:

I added pods dependency line on my frankify.xconfig

#include "../Pods.xcconfig"

And performed a build as documented:

frank build --mac --workspace MacOSXApp.xcworkspace/ --scheme MacOSXAppName


And terminal outputs the following:


RegisterWithLaunchServices Frank/frankified_build/Applications/MacOSXAppName.app

...

** BUILD SUCCEEDED **


/Users/username/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/fileutils.rb:1288:in `open': Permission denied - /./.DocumentRevisions-V100 (Errno::EACCES)

from /Users/username/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/fileutils.rb:1288:in `entries'

from /Users/username/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/fileutils.rb:1288:in `entries'

from /Users/username/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/fileutils.rb:1487:in `wrap_traverse'

from /Users/username/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/fileutils.rb:1488:in `block in wrap_traverse'

from /Users/username/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/fileutils.rb:1487:in `each'

from /Users/username/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/fileutils.rb:1487:in `wrap_traverse'

from /Users/username/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/fileutils.rb:460:in `copy_entry'

from /Users/username/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/fileutils.rb:435:in `block in cp_r'

from /Users/username/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/fileutils.rb:1558:in `block in fu_each_src_dest'

from /Users/username/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/fileutils.rb:1574:in `fu_each_src_dest0'

from /Users/username/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/fileutils.rb:1556:in `fu_each_src_dest'

from /Users/username/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/fileutils.rb:434:in `cp_r'

from /Users/username/.rvm/gems/ruby-2.0.0-p643/gems/frank-cucumber-1.2.5/lib/frank-cucumber/cli.rb:140:in `build'

from /Users/username/.rvm/gems/ruby-2.0.0-p643/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'

from /Users/username/.rvm/gems/ruby-2.0.0-p643/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'

from /Users/username/.rvm/gems/ruby-2.0.0-p643/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'

from /Users/username/.rvm/gems/ruby-2.0.0-p643/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'

from /Users/username/.rvm/gems/ruby-2.0.0-p643/gems/frank-cucumber-1.2.5/bin/frank:5:in `<top (required)>'

from /Users/username/.rvm/gems/ruby-2.0.0-p643/bin/frank:23:in `load'

from /Users/username/.rvm/gems/ruby-2.0.0-p643/bin/frank:23:in `<main>'

from /Users/username/.rvm/gems/ruby-2.0.0-p643/bin/ruby_executable_hooks:15:in `eval'

from /Users/username/.rvm/gems/ruby-2.0.0-p643/bin/ruby_executable_hooks:15:in `<main>'


I am encountering 2 issues after this build

1. The frankified app is not executable (It says "You can't open the application "Frankified" because it may be damaged or incomplete")

2. The above error (which I think is the culprit for #1)


I am new to ruby and frank and your help is greatly appreciated. Thanks.

Michael Buckley

unread,
May 25, 2015, 2:02:21 AM5/25/15
to frank-...@googlegroups.com
Hi,

That error is being thrown because Frank can't find a valid app build. We should probably have better error messaging around that case.

One thing that stands out is that Frank looks for the application build in Frank/frankified_build/MacOSXAppName.app, but your logs indicate it was built in Frank/frankified_build/Applications/MacOSXAppName.app. If your build process is creating an extra Applications folder, it may be confusing Frank.

If that doesn't help, posting the full build logs may help better identify the problem.

--
You received this message because you are subscribed to the Google Groups "Frank" group.
To unsubscribe from this group and stop receiving emails from it, send an email to frank-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages