zzyzy
zzyzy

Reputation: 983

How to use OSX 10.14 SDK on Xcode 11?

I have a project being developed on Xcode 10.2.1 which uses the (32-bit) QTKit framework, specifically QTMovieModernizer. The project deploys on OSX 10.14.6.

On Xcode 11, this fails (which is somewhat expected):

#import <QTKit/QTMovieModernizer.h>

How to I get Xcode 11.x to eschew the MacOSX 10.15 SDK and use the 10.14 SDK instead?

Previously, subbing in SDK's was an easier task, but I don't see the option any longer. I guess I'm okay with continuing with Xcode 10.x for now.

Upvotes: 4

Views: 3146

Answers (2)

Alex Seidlitz
Alex Seidlitz

Reputation: 3736

This worked for me in similar situation (YMMV):

cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
sudo ln -s MacOSX.sdk/ MacOSX10.14.sdk

Upvotes: 0

s3cur3
s3cur3

Reputation: 3025

Just symlinking the 10.15 SDK as 10.14 didn't work for me (since there are, of course, some differences between the two).

I had to download the 10.14 SDK from a third-party archive and manually unzip it to:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk

Upvotes: 3

Related Questions