Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frankified app can't launch after build #198

Open
chouti opened this issue Apr 24, 2013 · 7 comments
Open

Frankified app can't launch after build #198

chouti opened this issue Apr 24, 2013 · 7 comments

Comments

@chouti
Copy link

chouti commented Apr 24, 2013

Before build I've removed the "-all_load" FRANK_LDFLAGS, in order to avoid the duplicate symbol issue

after build succeeded I've got below error message

** BUILD SUCCEEDED **

/Users/emon/.rvm/rubies/ruby-1.9.3-rc1/lib/ruby/1.9.1/fileutils.rb:1357:in `copy': cannot handle socket (RuntimeError)
    from /Users/emon/.rvm/rubies/ruby-1.9.3-rc1/lib/ruby/1.9.1/fileutils.rb:465:in `block in copy_entry'
    from /Users/emon/.rvm/rubies/ruby-1.9.3-rc1/lib/ruby/1.9.1/fileutils.rb:1433:in `preorder_traverse'
    from /Users/emon/.rvm/rubies/ruby-1.9.3-rc1/lib/ruby/1.9.1/fileutils.rb:462:in `copy_entry'
    from /Users/emon/.rvm/rubies/ruby-1.9.3-rc1/lib/ruby/1.9.1/fileutils.rb:437:in `block in cp_r'
    from /Users/emon/.rvm/rubies/ruby-1.9.3-rc1/lib/ruby/1.9.1/fileutils.rb:1515:in `block in fu_each_src_dest'
    from /Users/emon/.rvm/rubies/ruby-1.9.3-rc1/lib/ruby/1.9.1/fileutils.rb:1531:in `fu_each_src_dest0'
    from /Users/emon/.rvm/rubies/ruby-1.9.3-rc1/lib/ruby/1.9.1/fileutils.rb:1513:in `fu_each_src_dest'
    from /Users/emon/.rvm/rubies/ruby-1.9.3-rc1/lib/ruby/1.9.1/fileutils.rb:436:in `cp_r'
    from /Users/emon/.rvm/gems/ruby-1.9.3-rc1@rails3.2/gems/frank-cucumber-1.1.10/lib/frank-cucumber/cli.rb:115:in `build'
    from /Users/emon/.rvm/gems/ruby-1.9.3-rc1@rails3.2/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
    from /Users/emon/.rvm/gems/ruby-1.9.3-rc1@rails3.2/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
    from /Users/emon/.rvm/gems/ruby-1.9.3-rc1@rails3.2/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
    from /Users/emon/.rvm/gems/ruby-1.9.3-rc1@rails3.2/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
    from /Users/emon/.rvm/gems/ruby-1.9.3-rc1@rails3.2/gems/frank-cucumber-1.1.10/bin/frank:5:in `<top (required)>'
    from /Users/emon/.rvm/gems/ruby-1.9.3-rc1@rails3.2/bin/frank:19:in `load'
    from /Users/emon/.rvm/gems/ruby-1.9.3-rc1@rails3.2/bin/frank:19:in `<main>'

And my frankified app can't be launched with frank launch

@moredip
Copy link
Owner

moredip commented Apr 24, 2013

That's a strange error. It looks like it's happening when the frank build is trying to copy the Frankified app into the new directory. I don't suppose your machine's disk is full?

Can you share the full output of the build to help me diagnose this.

@chouti
Copy link
Author

chouti commented Apr 24, 2013

@moredip Yep, my disk has enough free space.

And I thought this issue mostly like wrong FRANK_LDFLAGS here, I've tried several different LDFLAGS and finally got this build finished successfully.

https://gist.github.com/chouti/5453155 This is the out put while build successfully.

BUT when I try frank launch after that, I can get my simulator up and running, when I try frank inspect, I can't open http://localhost:37265 in Safari

https://gist.github.com/chouti/5453164 here is the out put when I tried curl -vv http://localhost:37265

I've no idea why the http sever was not start.

@moredip
Copy link
Owner

moredip commented May 10, 2013

I'm at a bit of a loss on this one. Is there any chance you could share your repo with me so I can help get to the bottom of this?

@Palleas
Copy link

Palleas commented Oct 17, 2013

I'm having the same issue right now, any news ?

@dlongmuir
Copy link
Collaborator

I was seeing that until I switched to use "Debug" configuration for command line builds. I also build for frank using:

frank build --workspace Project.xcworkspace --scheme Project --configuration ONLY_ACTIVE_ARCH=NO

@alexnauda
Copy link

I'm getting this error too, using frank-cucumber-1.2.2 on mac ruby 1.8 (and bundler). Adding the configuration parameter to frank build didn't help. @dlongmuir How can I make sure 'frank build' is using the "Debug" configuration for command line builds?

@alexnauda
Copy link

And (oh right) I forgot to mention that I'm using Cocoapods. After reading this related discussion I noticed that, after running 'frank build', my app is in ./Frank/frankified_build/Applications/ instead of ./Frank/frankified_build/. I did this a579fd8 and now the whole process seems to be working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants