the latest xcode 11.2 beta fail to export tvOS adhoc distribution in xcode UI or xcodebuild, appstore works.
xcodebuild[18094:11579909] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/w8/19cq3b653sb3ybqk0tsc38hh0000gn/T/***_2019-10-08_14-49-17.541.xcdistributionlogs'.
error: exportArchive: ipatool failed with an exception: #<RuntimeError: Unknown UIDeviceFamily: '5' from '["3", "5"]'>
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/ipatool:3223:in `block in assetutil_idioms_for_UIDeviceFamily'
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/ipatool:3212:in `map'
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/ipatool:3212:in `assetutil_idioms_for_UIDeviceFamily'
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/ipatool:1520:in `block in supportedIdioms'
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/ipatool:1521:in `supportedIdioms'
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/ipatool:2229:in `ValidatePayloadBundle'
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/ipatool:2265:in `block in ValidatePayloadBundle'
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/ipatool:2264:in `each'
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/ipatool:2264:in `ValidatePayloadBundle'
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/ipatool:2202:in `ValidateIPA'
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/ipatool:2871:in `block in ProcessIPA'
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/ipatool:2864:in `each'
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/ipatool:2864:in `ProcessIPA'
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/ipatool:3811:in `<main>'