Code Monkey home page Code Monkey logo

Comments (7)

alexcrichton avatar alexcrichton commented on July 19, 2024

Sorry I've been meaning to update that site for awhile to say 10.7+ (it now says that). I use xcode 10.7 to build hermes, and I don't know of a way to build for a lower version of OSX.

There are previous versions which work with 10.6, but sadly Pandora has updated it's API version since then. Until I find a way to compile for versions lower than 10.7, I won't be able to release version compatible with 10.6/10.5

from hermes.

tresni avatar tresni commented on July 19, 2024
From 915352b3a02cb5baf4d576da387d0275b72232f7 Mon Sep 17 00:00:00 2001
From: Brian Hartvigsen <[email protected]>
Date: Sat, 12 Nov 2011 16:57:09 -0700
Subject: [PATCH] Making hermes 10.6 compatible

---
 Classes/HermesAppDelegate.m      |    2 --
 Hermes.xcodeproj/project.pbxproj |    4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/Classes/HermesAppDelegate.m b/Classes/HermesAppDelegate.m
index 7a8037f..ca8c9a8 100644
--- a/Classes/HermesAppDelegate.m
+++ b/Classes/HermesAppDelegate.m
@@ -72,8 +72,6 @@
 }

 - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
-  [window setRestorable:YES];
-  [window setRestorationClass:[self class]];

   [[NSNotificationCenter defaultCenter]
     addObserver:self
diff --git a/Hermes.xcodeproj/project.pbxproj b/Hermes.xcodeproj/project.pbxproj
index 35e0e68..2a8fe04 100644
--- a/Hermes.xcodeproj/project.pbxproj
+++ b/Hermes.xcodeproj/project.pbxproj
@@ -543,7 +543,7 @@
                GCC_WARN_PEDANTIC = NO;
                INFOPLIST_FILE = "Resources/Hermes-Info.plist";
                INSTALL_PATH = "$(HOME)/Applications";
-               MACOSX_DEPLOYMENT_TARGET = 10.7;
+               MACOSX_DEPLOYMENT_TARGET = 10.6;
                OTHER_CFLAGS = "-DDEBUG";
                PRODUCT_NAME = Hermes;
                SDKROOT = macosx;
@@ -566,7 +566,7 @@
                GCC_WARN_PEDANTIC = NO;
                INFOPLIST_FILE = "Resources/Hermes-Info.plist";
                INSTALL_PATH = "$(HOME)/Applications";
-               MACOSX_DEPLOYMENT_TARGET = 10.7;
+               MACOSX_DEPLOYMENT_TARGET = 10.6;
                PRODUCT_NAME = Hermes;
                SDKROOT = macosx;
            };
-- 
1.7.3.3

from hermes.

alexcrichton avatar alexcrichton commented on July 19, 2024

The problem with this is that I'm still not sure how to compile Hermes for 10.6. It's certainly possible to just not use 10.7 APIs, but the resulting binary isn't compatible with 10.6. Do you know if this patch fixes this? Does a binary compiled with recent xcode run on 10.6 by just changing the deployment target? If it does, by all means I'll pull this in :)

from hermes.

tresni avatar tresni commented on July 19, 2024

I'm using XCode 4.0 to compile and run a binary on 10.6. That is the only difference between your code and what it took for me to make it run on 10.6.

While I have a machine running 10.7, it does not have XCode installed (and I'm currently remote) so I can't test. What I've been told is that if you are compiling using the 10.7 SDK then you don't have to remove the 10.7 specific APIs, simply change the MacOS Target and everything will auto compensate.

from hermes.

alexcrichton avatar alexcrichton commented on July 19, 2024

Does this build work for you on 10.6?

from hermes.

tresni avatar tresni commented on July 19, 2024

Works for me on 10.6.8, Image Proof

from hermes.

alexcrichton avatar alexcrichton commented on July 19, 2024

Awesome, thanks!

from hermes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.