Post

Replies

Boosts

Views

Activity

xcode-build unable to find real tvOS device from list of available destinations
I am trying to build the WebDriverAgent as provided by Appium for testing on my tvOS device. I noticed that the command was failing so I tried running myself to see what is going wrong. I get a very unusual error where it says "no available devices matched the request" however it then proceeds to list the exact device destination in list of available devices. what is going on here? Is this a bug? 2022-06-15 12:24:22.291 xcodebuild[46151:3561580] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-06-15 12:24:22.291 xcodebuild[46151:3561580] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner_tvOS -destination "id=1dafa12122994bd53425e32165086f586c91c7ba,platform=tvOS,name=Living Room" GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES Build settings from command line: COMPILER_INDEX_STORE_ENABLE = NO GCC_TREAT_WARNINGS_AS_ERRORS = 0 xcodebuild: error: Unable to find a destination matching the provided destination specifier: { platform:tvOS, id:1dafa12122994bd53425e32165086f586c91c7ba, name:Living Room } The requested device could not be found because no available devices matched the request. Available destinations for the "WebDriverAgentRunner_tvOS" scheme: { platform:tvOS, id:1dafa12122994bd53425e32165086f586c91c7ba, name:Living Room } { platform:tvOS Simulator, id:AB7961DA-7101-4F2E-AF7C-2AC7D796213C, OS:15.4, name:Apple TV } { platform:tvOS Simulator, id:10433C26-0EEB-4085-9EED-B94306F2B2E2, OS:15.4, name:Apple TV 4K (2nd generation) } { platform:tvOS Simulator, id:BE4D2F91-FE52-4E7C-81E5-A7A853162572, OS:15.4, name:Apple TV 4K (at 1080p) (2nd generation) } Ineligible destinations for the "WebDriverAgentRunner_tvOS" scheme: { platform:tvOS, id:dvtdevice-DVTiOSDevicePlaceholder-appletvos:placeholder, name:Any tvOS Device } { platform:tvOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-appletvsimulator:placeholder, name:Any tvOS Simulator Device }
2
2
931
Jun ’22
Cannot run xcodebuild for Apple TV 4K
I am trying to run xcodebuild commands to build my WDA app for testing on the device. When I run the xcrun xctrace list devices I can see my Apple TV device available but when I run my command xcodebuild clean build-for-testing -workspace /path/to/WebDriverAgent.xcworkspace -scheme WebDriverAgentRunner_tvOS -destination 'platform=tvOS,id=<device_id>' -configuration Debug -derivedDataPath /derived_data/wda-1.21.0-16, I get error for unable to find destination for specifier. Note devices is paired on apple configurator, but when I open xcode devices and simulators I cannot see my Apple TV to pair/connect with Output of xcrun xctrace list devices: == Devices == app’s Mac mini (109) (DBAD4F3E-9241-55B4-B807-B4A6821D1106) DUBDC2 (15.6) (5f4e732a47cc09583e9465d0c14055aae7e211fb) D, [2022-10-24T13:47:01.979998 #11231] DEBUG -- : == Simulators == Apple TV Simulator (16.0) (08C13957-7CB3-435A-A501-314A281BE198) Apple TV 4K (2nd generation) Simulator (16.0) (C33585C7-CDA9-4892-8D20-76ABAFCA6FD4) Apple TV 4K (at 1080p) (2nd generation) Simulator (16.0) (B5ED5820-CF06-4625-8FD6-2F73938AFA68) Apple Watch SE (44mm) (2nd generation) (9.0) (56512F26-4D9B-44DD-808A-08377EF0A169) Apple Watch Series 5 (40mm) (9.0) (A7E5F23E-A0CC-4D3A-BCB8-52C5AF1BD254) Apple Watch Series 5 (44mm) (9.0) (E46A8BCF-4C41-410A-93CB-B4146E674C3A) Apple Watch Series 6 (40mm) (9.0) (8A698CE6-85B0-4AB1-9223-6DCD434E9B69) Apple Watch Series 6 (44mm) (9.0) (200C575F-9DBC-42BA-A70D-2A6B5099E657) Apple Watch Series 7 (41mm) (9.0) (B646151B-E010-4562-ABE2-E96B04AE350E) iPad (9th generation) Simulator (16.0) (B7FCD718-E13B-49E7-B4C8-6D3856D54E26) iPad Air (5th generation) Simulator (16.0) (7732EC7C-625A-4B19-9316-C0D7E96EFC52) iPad Pro (11-inch) (3rd generation) Simulator (16.0) (BA51A2D7-A4BB-43DB-A7D3-DFB60E940962) iPad Pro (12.9-inch) (5th generation) Simulator (16.0) (39EE38F4-8069-4984-9110-4A733DD808FF) iPad mini (6th generation) Simulator (16.0) (BA470AB4-9224-49AC-ADBC-772883CB98F8) iPhone 14 Simulator (16.0) (1B689D89-A47D-49CE-BA02-C1C683722CCB) iPhone 14 Simulator (16.0) + Apple Watch Series 7 (45mm) (9.0) (A7C80387-8B4D-4062-8807-D9796B218CD9) iPhone 14 Plus Simulator (16.0) (E5A429EE-D07A-4049-99AD-E47D63A90B16) iPhone 14 Plus Simulator (16.0) + Apple Watch Series 8 (41mm) (9.0) (6EAF6B16-C74C-4151-875F-A3EE14F0CE33) iPhone 14 Pro Simulator (16.0) (29F5BA67-D0A0-410C-BC4C-E6161CF78AF8) iPhone 14 Pro Simulator (16.0) + Apple Watch Series 8 (45mm) (9.0) (0E276761-D51A-4D5B-AE61-DE1A62C32FE0) iPhone 14 Pro Max Simulator (16.0) (F9E2F498-6193-4E43-A009-98D17B59CF94) iPhone 14 Pro Max Simulator (16.0) + Apple Watch Ultra (49mm) (9.0) (0F6D9CE8-7BB5-4BC2-9F38-E9B81BEBBCAE) iPhone SE (3rd generation) Simulator (16.0) (E5AF9BC8-3DF9-41FD-A9D7-45C1E7557123) Output of xcodebuild clean build-for-testing -workspace /path/to/WebDriverAgent.xcworkspace -scheme WebDriverAgentRunner_tvOS -destination 'platform=tvOS,id=<device_id>' -configuration Debug -derivedDataPath /derived_data/wda-1.21.0-16 2022-10-24 13:47:34.329 xcodebuild[27968:40302780] Writing error result bundle to /var/folders/ty/yvsx9c_j713fk8jzgrq82vfw0000gn/T/ResultBundle_2022-24-10_13-47-0034.xcresult xcodebuild: error: Unable to find a destination matching the provided destination specifier: { platform:tvOS, id:5f4e732a47cc09583e9465d0c14055aae7e211fb } The requested device could not be found because no available devices matched the request. Available destinations for the "WebDriverAgentRunner_tvOS" scheme: { platform:tvOS, id:dvtdevice-DVTiOSDevicePlaceholder-appletvos:placeholder, name:Any tvOS Device } { platform:tvOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-appletvsimulator:placeholder, name:Any tvOS Simulator Device } { platform:tvOS Simulator, id:08C13957-7CB3-435A-A501-314A281BE198, OS:16.0, name:Apple TV } { platform:tvOS Simulator, id:C33585C7-CDA9-4892-8D20-76ABAFCA6FD4, OS:16.0, name:Apple TV 4K (2nd generation) } { platform:tvOS Simulator, id:B5ED5820-CF06-4625-8FD6-2F73938AFA68, OS:16.0, name:Apple TV 4K (at 1080p) (2nd generation) } --- Build failed with code 70 ---
1
3
1.3k
Oct ’22