iOS shortcuts are not syncing in watchOS - ios

I have iOS linked watchOS project, shortcuts are working based on intents specified but those shortcuts are not syncing in watchOS shortcuts. Siri capability is added for both targets.
Intent:
iOS Shortcuts screenshot
WatchOS shortcuts screenshot

Have you tried to press Sync shortcuts in settings>developer?

Related

Xcode 12 fails to add watchOS 4.2 simulator

I want to build an app with WatchKit extension with watchOS 4.2 deployment target (for Apple Watch Gen0 support) in Xcode 12.4. I have iOS 14.4 and watchOS 4.2 simulators downloaded. But when i try to add paired watch to any iOS simulator and select "Apple Watch - 42mm" as device, the components windows instantly popups, and if i close it, there is no options in OS versions dropdown menu except "Download more simulator runtimes...". How can i add this simulator, if it possible in Xcode 12?
Pairing watches menu
Components window

SwiftUI App: How to hide title bar for macOS app?

This is NOT a MacCatalyst app or SwiftUI macOS app. But an iOS app with macOS target(As shown below). I'm trying to hide the title bar of the macOS app in this setting.
.windowStyle(HiddenTitleBarWindowStyle()) will not work because
this is not a traditional macOS app. Thus, the API is not available.
titlebar.titleVisibility = .hidden will not work because this is
not a catalyst app. In addition, sceneDelegate does not exist in
SwiftUI lifecycle.
I'm trying to look for a solution that works for the case of above screenshot. An iOS app with macOS 11+ as deployment target.
Some user points out that this is a MacCatalyst app. And I had closed the previous question. But after some testing, I can confirm this is indeed NOT MacCatalyst. It's a new way of running iOS app on Mac that is only available on Apple Silicon Mac. MacCatalyst target refers to the Rosetta approach only.
As shown on image below. My question is about hiding status bar on My Mac(Designed for iPad)
Testing code as below. MacCatalyst code only gets called on target Mac(Rosetta)
New API related to my problem is ProcessInfo.processInfo.isiOSAppOnMac. I'm wondering how to hide title in this particular case.

Focus engine tvOS

I have searched on google and found a couple of example for tvOS focus engine. does this tvOS feature work on iPhone or iPad?
Can a user interact with touch instead of apple remote on iPhone or iPad?
The tvOS focus engine only works for tvOS devices, like the Apple TV, and the feature does not work for iPhones or iPads.
Yes, the user interacts using touch on iPhone and iPad (iOS devices) instead of the Apple remote.
From the App Programming Guide for tvOS
On iOS devices, a user interacts directly with the touchscreen. On Apple TV, a remote is used to control the interface indirectly.

Notification icon missing on Apple Watch in iOS 11

Notifications coming from our app in iOS 11 are missing the app's icon when they appear on the Apple Watch.
We have the iPhone Notification iOS 7-11 icons in our AppIcon asset, as well as iPad Notifications iOS 7-11, and all of the pertinent spotlight, settings, and app icons for various devices for iOS 7-11.
Any ideas as to what we might be missing? This was working fine in iOS 10 and it stopped working in iOS 11.
As #Skyborg pointed out, this appears to be a watchOS bug and is fixed in watchOS 4.1.
Go to AppIcon asset, on the right side, you'll probably see:
Change it, say, to watchOS 2.0 and Later. And you will see that asset is now extended with icons for Apple Watch:
Upload with Application loader in the latest 8 Version of Xcode did the Trick for me. Apple Watch Icons are now on the watch again.
It should be fixed in iOS 11.1 according to apple
Other improvements and fixes
Fixes an issue where app icons were not appearing in notifications on
Apple Watch
iOS11.1 changelog: https://support.apple.com/en-gb/HT208067

the icon of apple watch is blank on iPhone

I had set all watch images in AppIcon, but still could no see the icon on iPhone.
xcode 7.1
ios9.1
Your project has 3 parts:
The Container App (running on the phone)
The Watch App (runs on the Watch and contains the UI)
The Watch Extension (runs in WatchKit 1 on the phone, in WatchKit 2 on the watch)
Looks like you've forgotten to add an App Icon in your container App

Resources