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:
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
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:
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)
Iām willing to be able to load .MOV encoded with Quicktime PNG codec in OSX, which is not accepted by current video player AvFoundation. Iām using OF 0.1with XCode 10.1
Is still there any option to relink with Quicktime lib in order to load PNG encoded video files ?
Iāve tried the above workaround and I still have AVFoundation trying to decode the file with error.
Iāve added the OSX SDK 10.11, set it as the default SDK in my XCode project and target ⦠but still canāt make that the project loads Quicktime as video lib ā¦
Anyone has any hint on how to proceed ?
One thing from the process that Iām not user if Iāve done correctly is that this is how my project looks :
Hi @autr ! Thanks . I have been looking at how to set it back to 32 bits ⦠I canāt find it. I tried adding i386 as a valid architecture under OS X 10.11 and XCode doesnāt like it.
Error: The i386 architecture is deprecated. You should update your ARCHS build setting to remove the i386 architecture.
Do you know any other way of setting it up to 32 bits ?
Ah, I think in Mojave the 32bit option is removed, and itās also be the last version of macOS that will run 32bit apps. On High Sierra Iām able to compile with 32bit / SDK 10.11 to use old QuickTime video grabbers. JPEG and HAP are a video format you could use instead - unless youāre trying to load the QT PNG to convert them to begin with?