2016-04-13 11 views
0

Simülatörde açılan Ruby Motion ile bir uygulama oluşturdum. Ancak cihazla açmaya çalıştığımda çöküyor.'Rake aygıtı' çökmeye devam ediyor

Aygıtı kaydettim ve uygulamanın Rake dosyasına eklediğim bir IOP Provisionning Profili oluşturdum ve uygulamanın ana menüsünde 'imzalama' klasöründe.

Ve bu, terminalin kilitlenme nedeni hakkındaki bilgileridir. Düşünebildiğim herşeyi denediğim için çok yardımcı olurdum.

Teşekkür Daniel

Build ./build/iPhoneOS-9.3-Development 
    Build /Users/danielo/.rvm/gems/ruby-2.1.1/gems/motion-yaml-1.4/lib/YAMLKit 
    Build /Users/danielo/.rvm/gems/ruby-2.1.1/gems/cdq-1.0.8/lib/../vendor/cdq/ext 
     Link ./build/iPhoneOS-9.3-Development/4capisco.app/4capisco 
    Create ./build/iPhoneOS-9.3-Development/4capisco.app/Info.plist 
    Create ./build/iPhoneOS-9.3-Development/4capisco.app/embedded.mobileprovision 
    Codesign ./build/iPhoneOS-9.3-Development/4capisco.app 
    Create ./build/iPhoneOS-9.3-Development/4capisco.ipa 
    Deploy ./build/iPhoneOS-9.3-Development/4capisco.ipa 
rake aborted! 
NoMethodError: undefined method `[]' for nil:NilClass 
/Library/RubyMotion/lib/motion/project/template/ios/config.rb:210:in `read_provisioned_profile_array' 
/Library/RubyMotion/lib/motion/project/template/ios/config.rb:233:in `provisioned_devices' 
/Library/RubyMotion/lib/motion/project/template/ios.rb:273:in `block in <top (required)>' 
/Users/danielo/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `eval' 
/Users/danielo/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `<main>' 
Tasks: TOP => device 
(See full trace by running task with --trace) 
Daniel-Os-MacBook-Pro:4capisco danielo$ 

cevap

0

sorun çözüldü. mobileprovision dosyasının bir "ProvisionalDevices" olmadığı için tekrar indirdim. Ve hemen çalıştı.