I have just updated my Xcode to version 7.2. Now I try to build a framework from command line using xcodebuild but have this error
.... /Applications/Xcode.a
Try to specify the destination, i.e, xcodebuild -workspace 'App.xcworkspace' -scheme 'App Scheme' -destination 'id=[THE_SIMULATOR_ID_YOU_WISH_TO_USE]' -sdk iphonesimulator9.2 -configuration Debug
xcodebuild -workspace 'App.xcworkspace' -scheme 'App Scheme' -destination 'id=[THE_SIMULATOR_ID_YOU_WISH_TO_USE]' -sdk iphonesimulator9.2 -configuration Debug
Reference: https://twitter.com/nlutsenko/status/674863890342109185