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>'
Post
Replies
Boosts
Views
Activity
error: Building for iOS, but the linked framework 'xxxxx.framework' was built for tvOS + tvOS Simulator. (in target 'xyz' from project 'abc')error: Building for iOS, but the linked framework 'yyyyy.framework' was built for tvOS + tvOS Simulator. (in target 'xyz' from project 'abc')error: Building for iOS, but the embedded framework 'www_sim.framework' was built for iOS Simulator. (in target 'uvw' from project 'abc')Any idea what to do here? turning the framework to optional doesn't work either.We have frameworks that are built and use for simulator only, or tvOS only, or iOS only, is this no longer allowed in Xcode 11.4 going forward?If so what is the workaround?