Post

Replies

Boosts

Views

Activity

Reply to xcodebuild issues on Apple Watch - watchOS 9.1
Also, when I look for available destinations for my WatchKit App Scheme: xcodebuild -project MyApp.xcodeproj -scheme 'MyApp Watch App' -showdestinations { platform:watchOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-watchsimulator:placeholder, name:Any watchOS Simulator Device } { platform:watchOS Simulator, id:39A53B67-98A5-43B6-9099-510C2EF0E9D4, OS:9.1, name:Apple Watch SE (40mm) (2nd generation) } { platform:watchOS Simulator, id:8165D3B1-F37F-482C-96A2-B902211C7F9D, OS:9.1, name:Apple Watch SE (44mm) (2nd generation) } { platform:watchOS Simulator, id:8199459C-E62E-411A-B094-CE8421E29C72, OS:9.1, name:Apple Watch Series 5 (40mm) } { platform:watchOS Simulator, id:18F33EAE-F8BE-4992-BB32-9E1FEC36FC25, OS:9.1, name:Apple Watch Series 5 (44mm) } { platform:watchOS Simulator, id:08C8B124-9AE2-4A46-A298-C553198450E0, OS:9.1, name:Apple Watch Series 6 (40mm) } { platform:watchOS Simulator, id:140DF90B-77A1-40AA-A627-F9A29D4A2080, OS:9.1, name:Apple Watch Series 6 (44mm) } { platform:watchOS Simulator, id:1BAB865B-C3EA-493F-A492-12CBDB196055, OS:9.1, name:Apple Watch Series 7 (41mm) } { platform:watchOS Simulator, id:65759D16-9551-414D-A8B2-DD99A29A7C84, OS:9.1, name:Apple Watch Series 7 (45mm) } { platform:watchOS Simulator, id:5B1852DF-88C8-4390-BAD7-5D51D317192E, OS:9.1, name:Apple Watch Series 8 (41mm) } { platform:watchOS Simulator, id:314E2275-F161-43D5-ACC4-4B833EEEEEFC, OS:9.1, name:Apple Watch Series 8 (45mm) } { platform:watchOS Simulator, id:1A225E88-FE82-42EE-8A0D-AD3744EBF7B9, OS:9.1, name:Apple Watch Ultra (49mm) } ```
Nov ’22
Reply to xcodebuild Apple Watch - iOS 16.1/wachOS 9.1 - fails
UPD Everything works fine when we use -target option for xcododebuild command line arguments instead of -scheme, but could not use option due to project -target. The problem is in the scheme configuration or devices visibility for scheme, or both Also, it is working when I use generic destination: xcodebuild -project MyApp.xcodeproj -scheme 'MyApp WatchKit App' -destination generic/platform=watchOS build command I used: xcodebuild -workspace MyApp.xcworkspace -scheme 'MyApp WatchKit App' -destination 'platform=watchOS,id=Watch's ID' And I see this error: (null) needs to connect to determine its availability. Check the connection between the device and its companion iPhone, and the connection between the iPhone and Xcode. Both devices may also need to be restarted and unlocked.``` P.S. Restarting and unlocking doesn't help
Nov ’22