【发布时间】:2013-09-14 21:27:03
【问题描述】:
我之前下载了iOS7 GM,在模拟器和/或设备上构建时出现以下错误:
由于未捕获的异常“NameError”而终止应用,原因:“未初始化的常量 BubbleWrap::Device::Camera::KUTTypeMovie (NameError)。
奇怪的是我只需要在我的 Rakefile 中使用 bubble-wrap/core。另外,我在 bubblewrap 中使用的唯一函数是 BW::JSON 和 App.Persistence。
如果我将 xcode-select 路径改回 xcode4,应用程序会再次运行。
有什么想法吗?
附:我有最新的 rubymotion 和(我认为)最新的 BubbleWrap(因为在 Gemfile 中,我有以下行,但我是 rubymotion/ruby 的新手:
gem 'bubble-wrap', :git => 'https://github.com/rubymotion/BubbleWrap.git'
编辑:还尝试需要气泡包装/相机(即使我不使用相机),更新 xcode 命令行工具。
【问题讨论】:
标签: ios7 rubymotion xcode5