Skip to content

Instantly share code, notes, and snippets.

@amazedkoumei
Created September 27, 2012 18:46
Show Gist options
  • Save amazedkoumei/3795664 to your computer and use it in GitHub Desktop.
Save amazedkoumei/3795664 to your computer and use it in GitHub Desktop.
ruby motion deploy error
$ rake device --trace
** Invoke device (first_time)
** Invoke archive (first_time)
** Invoke build:device (first_time)
** Execute build:device
** Execute archive
** Execute device
XCODE_DIR="/Applications/Xcode.app/Contents/Developer" /Library/RubyMotion/bin/deploy -d "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" "./build/iPhoneOS-6.0-Development/clipTo.ipa"
log: subscribing to device notification
log: found usb mobile device XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
log: connecting to device
log: pairing device
log: creating lockdown session
log: starting file copy service
Error when starting file copy service: code -402653057
Make sure RubyMotion is using a valid (non-expired) provisioning profile
and that no other process (iTunes, Xcode) is connected to your iOS device
at the same time (even through Wi-Fi).
rake aborted!
Command failed with status (1): [XCODE_DIR="/Applications/Xcode.app/Content...]
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/file_utils.rb:53:in `create_shell_runner'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `call'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `sh'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb:39:in `sh'
/Library/RubyMotion/lib/motion/project.rb:135
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `execute'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `invoke_with_call_chain'
/opt/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `run'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33
/opt/local/bin/rake:19:in `load'
/opt/local/bin/rake:19
Tasks: TOP => device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment