Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add watchOS destination support #1271

Open
jrcrespoh opened this issue Aug 27, 2021 · 1 comment
Open

Add watchOS destination support #1271

jrcrespoh opened this issue Aug 27, 2021 · 1 comment

Comments

@jrcrespoh
Copy link
Contributor

elif [[ "$OS" == macOS || "$OS" == catalyst ]]; then
DESTINATION="platform=macos"
flags+=( -destination "$DESTINATION" )
elif [[ "$OS" == watchOS ]]; then
DESTINATION="platform=watchOS Simulator,name=${DEVICE}"
else

@jrcrespoh
Copy link
Contributor Author

xcodebuild: error: Unable to find a destination matching the provided destination specifier:
		{ platform:iOS Simulator, id:CBDFEF00-6452-4CFF-B8FC-3C3A19EF360F }

	The requested device could not be found because no available devices matched the request.

	Available destinations for the "ABTestingExample (watchOS)" scheme:
		{ platform:iOS Simulator, id:D5CE1612-CFCD-4B7F-A47A-716B710EFAC6, OS:14.5, name:iPhone 11 }
		{ platform:iOS Simulator, id:9A2E88CB-3B04-42F8-B132-BD429A96ECFC, OS:14.5, name:iPhone 11 Pro }
		{ platform:iOS Simulator, id:876FEB8F-5CC6-47E6-B535-BBC169D42B71, OS:14.5, name:iPhone 11 Pro Max }
		{ platform:iOS Simulator, id:CBDFEF00-6452-4CFF-B8FC-3C3A19EF360F, OS:14.5, name:iPhone 12 }
		{ platform:iOS Simulator, id:1D74468B-EEE8-4F2E-9C0B-B2771AAE729C, OS:14.5, name:iPhone 12 Pro }
		{ platform:iOS Simulator, id:3735C965-96A5-4528-91C1-9025D27E67FF, OS:14.5, name:iPhone 12 Pro Max }
		{ platform:iOS Simulator, id:F86F8777-3125-4B30-BF59-E78B3CE01C7C, OS:14.5, name:iPhone 12 mini }

	Ineligible destinations for the "ABTestingExample (watchOS)" scheme:
		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
		{ platform:watchOS, id:dvtdevice-DVTiOSDevicePlaceholder-watchos:placeholder, name:Any watchOS Device }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant