【发布时间】:2015-11-25 05:40:02
【问题描述】:
我有 Xcode 7.1.1。我已经下载了 iPhone 9.0 模拟器,但仍然出现此错误。
❯ Rake
ERROR! Can't locate iPhoneSimulator SDK 9.0 at `/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk'
我还在我的 Rakefile 中添加了 sdk 9.0 版。
❯ cat Rakefile
# -*- coding: utf-8 -*-
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project/template/ios'
begin
require 'bundler'
Bundler.require
rescue LoadError
end
Motion::Project::App.setup do |app|
app.sdk_version = "9.0"
app.deployment_target = "9.0"
# Use `rake config' to see complete project settings.
app.name = 'HelloMotion'
end
我已经下载了 iOS 9.0 模拟器。您可以在下面的屏幕截图中看到。
【问题讨论】:
标签: ios xcode ios-simulator rubymotion