【问题标题】:'rake device' keeps on crashing“耙子设备”不断崩溃
【发布时间】:2016-04-13 10:57:51
【问题描述】:

我使用 Ruby Motion 创建了一个应用程序,该应用程序在模拟器中打开。但是当我尝试用设备打开它时它崩溃了。

我已注册设备并创建了 IOP 配置文件,我已将其包含在应用程序的 Rake 文件以及应用程序主菜单的“签名”文件夹中。

这是终端机关于崩溃原因的信息。 非常感谢您的帮助,因为我已经尝试了所有我能想到的方法。

谢谢 丹尼尔

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$

【问题讨论】:

    标签: ruby-on-rails xcode ios-simulator rubymotion


    【解决方案1】:

    问题已解决。 mobileprovision 文件没有“ProvisionalDevices”,所以我再次下载了它。 它马上就奏效了。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-07-05
      • 1970-01-01
      • 2011-03-02
      • 2021-04-12
      • 2012-09-03
      • 2015-08-08
      • 2018-05-24
      • 2013-10-17
      相关资源
      最近更新 更多