I keep getting this error in AppCode, but usually it runs just fine with Xcode:
Error:xcodebuild: error: The run destination iPad Mini is not valid for Running the scheme 'Appname'.
Error:iPad Mini doesn't match any of Appname.app's targeted device families. You can expand Appname.app's targeted device families to support iPad Mini.
Error:Build failed with 2 errors and 0 warnings in 7 sec
Note:Building for 2 architectures.
Double click to set 'ONLY_ACTIVE_ARCH=YES' to speed up compilation.
Target sdk is 7.1 in AppCode 3.0.6 (Xcode 6.1)
TARGETED_DEVICE_FAMILY = 2 (iPad)
VALID_ARCHS = armv7 armv7s i386 arm64
Architectures = Standard architectures (armv7, arm64)
I have the problem with both an iPad Mini with iOS 8.1 and a iPad 4 with iOS 7.1.
Any idea why it will not work from AppCode?