2016-04-13 12 views
0

Ich habe eine App mit Ruby Motion erstellt, die im Simulator geöffnet wird. Aber es stürzt ab, wenn ich versuche, es mit dem Gerät zu öffnen.'Rake-Gerät' stürzt weiter

Ich habe das Gerät registriert und ein IOP-Provisioning-Profil erstellt, das ich in der Rake-Datei der App sowie in einem Ordner 'signing' im Hauptmenü der App aufgenommen habe.

Und das ist der Terminal Informationen über den Grund für den Absturz. Ich würde mich sehr über Hilfe freuen, da ich alles versucht habe, was mir einfällt.

Dank 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$ 

Antwort

0

Das Problem wurde behoben. Die mobileprovision Datei hat keine "ProvisionalDevices", also habe ich sie erneut heruntergeladen. Und es hat sofort funktioniert.