Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild without arguments.
I have this error when I start to build QtLibraries, on mac, El Capitan.
XCode is installed from Apple Store. Work nice.
Hi and welcome to devnet,
Did you do what's suggested ? i.e. call
/usr/bin/xcodebuildin a Terminal session ?
Of course, I was do proposed action from error message as first attempt to solve problem :)
I think that I found what is error.
I have El Capitan and 10.11 sdk.
But target for my app is 10.7.
Now I must to find solution to add all other sdk's.
Is it possible to install earlier version of XCode, and get older SDKs?
Or currently just set the target SDK to the one you have. Set QMAKE_MACOSX_DEPLOYMENT_TARGET to something more recent
Hm, I must to set target 10.7 :|
I was fixed that with SDK 10.7.
But now I was have new problem with Qt build (I was always build Qt with project):
declaration of anonymous struct must be a definition
I was solved also last error:
El Capitano is pain in a.. for developing :)