infinitered / cdq

Core Data Query for RubyMotion
MIT License
172 stars 35 forks source link

cdq kills permissions (was issue #20) #34

Open ghost opened 10 years ago

ghost commented 10 years ago

I am getting this same issue even when running cdq.setup in the delegate. I can run sudo rake but the REPL permissions are denied.

Tuman829 commented 10 years ago

I am running into the same issue. DId you solve it?

jhwayne commented 10 years ago

I am getting this issue as well. Any help would be greatly appreciated!

jacklynrose commented 10 years ago

@stephenlaughton @Tuman829 @jhwayne could you please give a code example and the output you got?

Tuman829 commented 10 years ago

Hey @FluffyJack , I was following http://stefan.haflidason.com/simpler-core-data-with-rubymotion-and-core-data-query-part-1/ pretty much exactly. Let me know if you need more info

Tuman829 commented 10 years ago

Here is the output

learn-cdq Tuman829$ rake
     Build ./build/iPhoneSimulator-7.1-Development
     Build /Library/Ruby/Gems/2.0.0/gems/motion-yaml-1.2.1/lib/YAMLKit
rake aborted!
Errno::EACCES: Permission denied - build-iPhoneSimulator
/Library/RubyMotion/lib/motion/project/vendor.rb:138:in `block in build_static'
/Library/RubyMotion/lib/motion/project/vendor.rb:67:in `chdir'
/Library/RubyMotion/lib/motion/project/vendor.rb:67:in `build_static'
/Library/RubyMotion/lib/motion/project/vendor.rb:44:in `build'
/Library/RubyMotion/lib/motion/project/builder.rb:67:in `block in build'
/Library/RubyMotion/lib/motion/project/builder.rb:66:in `each'
/Library/RubyMotion/lib/motion/project/builder.rb:66:in `build'
/Library/RubyMotion/lib/motion/project/app.rb:78:in `build'
/Library/RubyMotion/lib/motion/project/template/ios.rb:68:in `block (2 levels) in <top (required)>'
/Library/RubyMotion/lib/motion/project/template/ios.rb:122:in `block in <top (required)>'
Tasks: TOP => build:simulator
(See full trace by running task with --trace)
styrmis commented 10 years ago

Please see my comment on Issue https://github.com/infinitered/cdq/issues/20.

The tutorial specifies version 0.1.5 of CDQ but this appears to be incompatible with recent versions of RubyMotion. The issue does not occur with CDQ 0.1.10 so if you update your Gemfile the problem should go away.