Warning : before upgrading to Xcode 7

*** update:
There is a better solution here:

*** original post:
Xcode 7 does not include OS X SDK 10.10 or earlier and this causes errors complaining about OpenSSL when building an oF project.

To overcome this, before upgrading to Xcode 7, you need to make and keep a copy of “MacOSX10.10.sdk” from the current Xcode, which can be found in “Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs” folder.

And after upgrading to Xcode 7, put MacOSX10.10.sdk back into the same location, and set Base SDK setting of your projects (both the target and the “openFrameworksLib.xcodeproj”) to “OS X 10.10”. This will make your current project alive.

6 Likes

erghhh…

is there not an “official” way to get the MacOSX10.10.sdk?

And about Who have updated before Know that?
In my case!

I think you’ll have to go to Apple’s Dev page and manually download Xcode 6. Or trust the internet. :smile:

Update: @admsyn as an easier solution.

1 Like

I downloaded ''MacOSX10.10.sdk ‘’ from your ''trust the internet" and put into

“Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs” folder.

Surprise!!!It’s not working

I got #include “Poco/Net/HTTPClientSession.h” error about OpenSSL

Did you set “OS X 10.10” to “Base SDK” setting for “openFrameworksLib.xcodeproj” ?
Actually the target setting does not seem to matter, but the more important thing is the setting in openFrameworksLib.xcodeproj.

1 Like

Oh!!
I was just changing the MYProject “Base SDK” :smile:
And not “openFrameworksLib.xcodeproj” from openFrameworks folder.

Now it’s just working.

It solved my problem
Thank you jaeho

Solved the problem ! Thank you

How do I update the Base SDK setting in openFrameworksLib.xcodeproj?

you go on project settings (the blue icon on the project tree under openFrameworks). It’s in the menu build settings

I downloaded ''MacOSX10.10.sdk ‘’ and changed the"Base SDK",but there is still an error ,‘openssl/opensslconf.h’ file not found.

@Evie: You have to change it in your project and in the openframeworks project.

Yes.I changed, but the problem cannot be solved.

Did you change the settings of the “target” instead of “project” as in the attached image?

I’ve just tried but the error is still there," ‘openssl/opensslconf.h’ file not found" .

We’ll see how long this lasts, but I’ll try to save some people some trouble:

MacOSX10.10.sdk.dmg

Thank you for posting this!

There may be a better way :slight_smile:

EDIT: there’s a simpler version of this fix that doesn’t involve manually installing openssl

The issue looks like openssl has been removed. You can install openssl with homebrew

brew install openssl

…and then add its path to the openFrameworks project:

  • Click on the openFrameworks project in Xcode to show its build settings
  • Select User Header Search Paths and add this:
    /usr/local/opt/openssl/include

To fix this for all your projects, open the file CoreOF.xcconfig in libs/openFrameworksCompiled/project/osx/ and add the following line at the bottom:

USER_HEADER_SEARCH_PATHS = $(INHERITED) /usr/local/opt/openssl/include
2 Likes

Thank u!!!My problem was solved!

Great, thank you! Trusting the Internet and following your instructions helped me fixing the problem.

In particular, I had troubles compiling the examples/addons/kinectExample project in the 0.8.4 OF OSX release. Following your instructions, no additional changes needed, it compiles (and runs) just fine now.