From 9d4eb8a6dde2c66f9397884c930febd5c95b5def Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 6 Feb 2022 10:00:58 +0100 Subject: [PATCH] test_install_SPM_Dynamic_Project: use a destination MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise `make test_install_SPM_Dynamic_Project` uses a default destination, which CAN be the current mac, and thus require code signing: % make test_install_SPM_Dynamic_Project ... --- xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], ... } { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } ... ❌ error: Signing for "ios-dynamic" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'ios-dynamic' from project 'ios-dynamic') ** BUILD FAILED ** --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 84eff3fba..6223d70a0 100644 --- a/Makefile +++ b/Makefile @@ -398,6 +398,7 @@ test_install_SPM_Dynamic_Project: $(XCODEBUILD) \ -project Tests/SPM/ios-dynamic/ios-dynamic.xcodeproj \ -scheme ios-dynamic \ + -destination $(MAX_IOS_DESTINATION) \ -configuration Release \ clean build \ $(XCPRETTY)