我有Xcode 7.1.1。我已經下載了iPhone 9.0模擬器,但我仍然得到這個錯誤。錯誤!找不到iPhoneSimulator SDK 9.0 RubyMotion
❯ 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模擬器。你可以在下面的截圖中看到。
我在哪裏可以找到xcode舊版本? – AbhimanyuAryan
@ androidplusios.design https://developer.apple.com/downloads/ – JAL
有沒有什麼方法可以不刪除新的SDK,並且仍然可以訪問舊的SDK來構建我的RubyMotion項目?通過指定一些路徑或其他東西。因爲據我所知,如果我更新Xcode – AbhimanyuAryan