Galaxy
Galaxy

Reputation: 873

Could not resolve SDK path for 'macosx10.10'

I updated my Xcode last night, and found I cannot run my code now. It shows: error: Could not resolve SDK path for 'macosx10.10'

My Xcode is version 7.0. And I'm using Qt on OS X 10.10.5. I didn't change anything, just updated the Xcode from App store.

Does anyone know how to fix it?

Upvotes: 2

Views: 11295

Answers (1)

Galaxy
Galaxy

Reputation: 873

I think I found a solution from https://stackoverflow.com/questions/26320677/error-could-not-resolve-sdk-path-for-macosx10-8`.

I changed it to QMAKE_MAC_SDK = macosx10.11 and it works. But I don't know why here should be 10.11, as I'm using OS X 10.10.5. I just guess that the Xcode updated yesterday is used for new version of Mac OS called OS X el capitan.

Upvotes: 1

Related Questions