A build only device cannot be used to run this target January 3, 2023 by Tarik add -destination 'platform=iOS Simulator,name=iPhone 6,OS=9.3' to your xcodebuild