MacOS 10.12 Sierra/XCode 8 - Quicktime deprecation workaround


I just installed MacOS Sierra 10.12 Beta 3 on a Mac Mini with Xcode 8 Beta 4 and thought I would give OF a shot.

Unfortunately as of 10.12, the Quicktime Framework has been removed from Xcode. I suspect this will be the case if you try to build any old OF version in 10.12 when all the stuff moves forward.

The quick fix options would be to get the 10.11 SDK package and put that in Xcode to build against Quicktime. The alternative is going to be removing all quicktime code or put in some compiler flag to ignore those files in 10.12. Things with Quicktime will still run in 10.12 (for now)

To get the SDK Package for 10.11 on a fresh macOS and Xcode install, you can get it from a previous version by doing:> Right Click “Show package Contents” -> Contents -> Developer -> Platforms -> MacOSX.platform -> Developer -> SDKS -> MaxOSX10.11.sdk

Once you have that in there (and have closed and opened Xcode) - you will need to change your project settings as well - In Project settings -> Build Settings (make sure you have selected “All” at the top) -> Base SDK-> OS X 10.11 (not “Latest”)

You will also need to change the openFrameworks Project file (in your project in the openFrameworks folder - select the openFrameworksLib.xcodeproj) and go to build settings and set that Base SDK to OS X 10.11 as well

QuickTime/QuickTime.h: file not found

I’ve downloaded 10.11 SDK, and put it in the Xcode package, but (I’m new to Xcode) I can’t find the Build Settings! Can you give me a hint?


Yep - you’ll need to click the xcodeproj in the left column - then you’ll see the list of options along the top edge…see if you can follow the breadcrumbs from this screenshot:


Thanks LaserPilot for this share.

I had the same problem even if I did not make the upgrade to 10.12

I update to Xcode 8 on osx 10.11 and no more 10.11 frameworks was available.

Using your technique and downloading the SDK there : phracker OSX 10.11 SDK
I was able to compile



I had to change the build settings for my open frameworks project as well as my actual code project… But all working perfectly again.

ofQTKitGrabber / QuickTime devices missing - AVFoundation change?

Came across this in the process of trying to get the SDK, might be helpful as a tool:


Hi all - we have a 0.9.4 Release Candidate out.
This should fix the Quicktime linking errors.

If you are able to please give it a try and post feedback in this thread.


Code compiled on osx10.9 looks different on newer osx versions

Hey there, Same Big issues here BUT even replacing base SDK to 10.11 hasn’t worked…
Xcode 8.1

Replaced base SDK to OS X 10.11 but still getting…
‘‘QTKit/QTKit.h’ file not found’

any idea’s?


Try updating to OF 0.9.4 as Theo mentioned


also make sure you make the SDK change in both your project AND the openframeworks project that is included (in the openframeworks directory of the Xcode project there is another embedded Xcode project)


only updated in the parent project, thanks!!


Hit another issue with this in Xcode 8.1 and found a workaround.

On 8.1 it limits the minimum SDK to 10.11 in a .plist file so if you try putting in 10.10 or 10.9, they just won’t show up in the SDK list.

UNLESS - you run the terminal command from this to modify the .plist:

sudo /usr/libexec/PlistBuddy -c "Set :MinimumSDKVersion 10.7" /Applications/  

Found from the bottom of this thread: - it took forever to google it…



The videoGrabberExample succeeds but does not appear for me… (of_v0.9.7_osx_release)
Does anyone else experience this ?


Can you explain what you mean by this? I can’t seem to find the embedded project… What are the paths to both projects?



I have oF 0.9.8 installed yet I still get the QTKit error. What am I doing wrong?