Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Updating older code from OS X 10.6 to 10.7

I'm trying to update ODBCQueryTool so it builds under 10.7. It was originally targeted against 10.6, which is not directly supported in newer versions of Xcode. For now a working build would be fine, but ideally I'd like to make a version that builds and runs on 10.5 or newer.

So to start I downloaded and installed the 10.6 SDK. A number of problems disappeared at that point, but I got a series of these:

ld: warning: directory not found for option '-F/Users/maury/Develop/odbckit/ODBCQueryTool/../ODBCKit/build/Release'

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_NSMutableOrderedSet", referenced from:
      objc-class-ref in libarclite_macosx.a(arclite.o)

I can't find anything useful in Google. I was under the impression that ARC was part of 10.7 and newer, so it's not clear why I get these at all.

like image 572
Maury Markowitz Avatar asked Mar 15 '13 13:03

Maury Markowitz


People also ask

Can Mac OS X 10.6 be upgraded?

You can upgrade to OS X El Capitan (version 10.11) from OS X Snow Leopard (version 10.6) or later on any of the following Mac models. Your Mac also needs at least 2GB of memory and 8.8GB of available storage space.

How do I update software on an old Mac?

From the Apple menu  in the corner of your screen, choose System Preferences. Click Software Update in the System Preferences window. Can't find Software Update? Software Update now checks for new software.

Can I upgrade Mac OS X 10.5 8 to Lion?

At the moment it is not possible to upgrade to Lion without first installing the App Store, and Apple hasn't announced any plan to make that available on versions older than Snow Leopard.


1 Answers

Just making this an answer based on Chris's post:

In build settings set "Implicitly link Objective-C Runtime Support" to NO.

like image 178
Maury Markowitz Avatar answered Sep 28 '22 03:09

Maury Markowitz