Is it planned to add ability to run Xcode test bundles using devicectl tool? If it is possible now how to achieve it?
Is there any other ways to run tests bundle .app file using command line?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I am just looking for the native watchOS applications bundle ids.
For example:
for iPhone: "com.apple.news" and what is for Watch: ???
I tried "com.apple.news.watchkitapp" which doesn't work. Maybe someone know how to help me?
Topic:
App & System Services
SubTopic:
Core OS
Tags:
watchOS
Watch Complications
Bundle ID
Apple Watch
Currently, I am struggling with the following issue and it's kind of big blocker for our project.
We need to run ui tests for apple watch test target in the iOS App with Watch App using terminal and we receive such error, which is quite frustrating
Command I use:
xcodebuild test -workspace WatchTesterApp.xcworkspace -scheme 'Watch' -destination 'id=F35DCC98-0F7D-460E-A49F-A446FD5FB4BE'
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ id:F35DCC98-0F7D-460E-A49F-A446FD5FB4BE }
The requested device could not be found because no available devices matched the request.
Available destinations for the "Watch" scheme:
{ platform:iOS Simulator, id:F35DCC98-0F7D-460E-A49F-A446FD5FB4BE, OS:14.5, name:iPhone 12 Pro }
Ineligible destinations for the "Watch" scheme:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:watchOS, id:dvtdevice-DVTiOSDevicePlaceholder-watchos:placeholder, name:Any watchOS Device }
Destination is iPhone's simulator id which is paired with apple watch
Has anyone faced such issue?
Hi
I am working on the iPhone + Apple Watch development and I am facing this issue a few days in a row.
I know how to fix it - unpair and then pair Apple Watch again, but it is not a solution at all.
(Yes, I'm certain that my watch is paired)
Maybe someone knows how to fix it?