Re: [RubyMotion] Trouble building existing OS X project on 10.10 RM 2.34

202 views
Skip to first unread message

Colin T.A. Gray

unread,
Sep 28, 2014, 12:05:41 PM9/28/14
to rubym...@googlegroups.com
I had some troubles as well, because newer versions of Xcode 6 (which automatically downloaded, and on my machine it actually *wiped out* my cached copy of Xcode 5!) don't include the sdk files for 10.10.  I ended up downloading a previous version of Xcode 6 (or 5 would work) and copied the sdk files from there.  The folder they are stored in is:

ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
MacOSX10.10.sdk  <= this is what I copied from the other copy of Xcode
MacOSX10.9.sdk


Colin T.A. Gray
Community Manager
HipByte




On Sep 27, 2014, at 9:06 PM, tsugua <sh...@eoslightmedia.com> wrote:

I am getting an error when I try to build existing projects on OS X 10.10 DP 8. 

I have upgraded to RM 2.34 and if I create a new project from scratch it builds fine if I target 10.9 like so:

Motion::Project::App.setup do |app|
  # Use `rake config' to see complete project settings.
  app.name = 'test2'
  app.sdk_version = "10.9"
  app.deployment_target = '10.9'
end

If I add the same settings to an existing app I get the following error:

    ERROR! The requested SDK (10.10) is not available or supported by RubyMotion at this time. Supported and available SDKs are: 10.9.


I cannot clean the project because rake won't run at all because of the error message. I have manually deleted all of the build files and pods but the app still won't build. 


Why are the existing projects ignoring the rake file and trying to build with defaults?




--
You received this message because you are subscribed to the Google Groups "RubyMotion - Ruby for iOS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubymotion+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubymotion/c5a01eb8-04bf-40fd-928f-dd2d6352d3db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

tsugua

unread,
Sep 28, 2014, 11:30:43 PM9/28/14
to rubym...@googlegroups.com
Thanks Colin,

It ended up being an Xcode-select, Cocoapods, Xcode 6 issue. Cocoapods wouldn't build with anything but 10.10 and I hadn't installed an Xcode with 10.10. Once I had the new Xcode beta 6.1 installed and pointed Xcode-select to it everything worked fine.

tsugua

unread,
Sep 28, 2014, 11:39:40 PM9/28/14
to rubym...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages