Post

Replies

Boosts

Views

Activity

Complication works on watch, but not visible in watch app on phone
I have an iPhone app, and added watch support, including a simple launcher complication. I can add the complication using the edit UI on the watch, but the complication is not visible using the watch app on the iPhone. When I add my complication on the watch and then open the watch app on the iPhone, the complication slot shows as "Off". What could I be doing wrong?
2
0
1.2k
Jun ’24
NavigationTitle placement changed in watchOS
Prior to (I think) watchOS 10, my navigation title was at the top of the screen, vertically aligned with the time, to its left. At some point (I think in watchOS 10) the navigation title became right-aligned and just below the clock. (I'm hiding the back button). I've tried many variations in my SwiftUI code, but haven't been able to restore the original placement of the navigation title. This messed up the placement of my main content, so I've had to remove the navigation title on many of my app screens. Does anyone know how to place the navigation title in the upper left as it used to be? This is just wasted space now.
2
0
1.6k
Jan ’24
Xcode reports "could not locate installed application" when debugging watch app
Until recently, I was able to debug my watch app and complication, but now Xcode reports "Could not locate installed application" when I try to debug. The watch app is definitely installing correctly, because I can see the app behavior change when I make an update and then attempt to launch the debugger. Also, whenever the app fails to launch, I see a crash log for the DTServiceHub (screenshot is too large to upload here, unfortunately). I'm using automatic signing, and I don't think I've made any significant changes to the app or the project settings. I did upgrade Xcode a couple of days ago (to 13.3.1) and WatchOS (to 8.5.1), so either of those could have introduced the problem. I tried reporting this on the feedback site, but the web site hangs when I try to submit a bug report (on both Safari and Firefox).
0
0
727
Apr ’22
Automatic signing fails after adding watch app to project
I added a watch app to my existing iOS app project using the instructions found here. After adding the new watch target, and doing literally nothing else, my app now fails to build because automatic signing is failing. As instructed, I filed a bug report with the requested information, but the issue was resolved as "Investigation complete - Unable to diagnose with current information". I added a comment offering full access to my source code so they could reproduce the problem. No response... I've tried switching to manual signing, but couldn't get that to work either. I don't understand why they asked me to file a bug report but then refuse to follow through when provided with all of the information they requested (and more)!
1
0
886
Jan ’22
No console log from WatchOS10 in Xcode or console app
I'm trying to debug a problem that's affecting customers who have upgraded to WatchOS 10, and I'm unable to get any console output from the watch when I debug the watch app in Xcode, or from the console app connecting from my Mac. The other weird thing is that my watch shows up twice in the device list in the console app. Is this a known issue?
Replies
4
Boosts
2
Views
1.1k
Activity
Oct ’26
Complication works on watch, but not visible in watch app on phone
I have an iPhone app, and added watch support, including a simple launcher complication. I can add the complication using the edit UI on the watch, but the complication is not visible using the watch app on the iPhone. When I add my complication on the watch and then open the watch app on the iPhone, the complication slot shows as "Off". What could I be doing wrong?
Replies
2
Boosts
0
Views
1.2k
Activity
Jun ’24
containerBackground not working for horizontal TabView
I'm trying to use containerBackground to help distinguish between pages in a horizontal TabView, but all of the tab items get the background specified on the first item. I tried using containerBackground in another part of my app that uses a vertical TabView, and it works perfectly there. Does this just not work for horizontal tabs? That seems weird.
Replies
0
Boosts
0
Views
550
Activity
Jan ’24
NavigationTitle placement changed in watchOS
Prior to (I think) watchOS 10, my navigation title was at the top of the screen, vertically aligned with the time, to its left. At some point (I think in watchOS 10) the navigation title became right-aligned and just below the clock. (I'm hiding the back button). I've tried many variations in my SwiftUI code, but haven't been able to restore the original placement of the navigation title. This messed up the placement of my main content, so I've had to remove the navigation title on many of my app screens. Does anyone know how to place the navigation title in the upper left as it used to be? This is just wasted space now.
Replies
2
Boosts
0
Views
1.6k
Activity
Jan ’24
Xcode reports "could not locate installed application" when debugging watch app
Until recently, I was able to debug my watch app and complication, but now Xcode reports "Could not locate installed application" when I try to debug. The watch app is definitely installing correctly, because I can see the app behavior change when I make an update and then attempt to launch the debugger. Also, whenever the app fails to launch, I see a crash log for the DTServiceHub (screenshot is too large to upload here, unfortunately). I'm using automatic signing, and I don't think I've made any significant changes to the app or the project settings. I did upgrade Xcode a couple of days ago (to 13.3.1) and WatchOS (to 8.5.1), so either of those could have introduced the problem. I tried reporting this on the feedback site, but the web site hangs when I try to submit a bug report (on both Safari and Firefox).
Replies
0
Boosts
0
Views
727
Activity
Apr ’22
Automatic signing fails after adding watch app to project
I added a watch app to my existing iOS app project using the instructions found here. After adding the new watch target, and doing literally nothing else, my app now fails to build because automatic signing is failing. As instructed, I filed a bug report with the requested information, but the issue was resolved as "Investigation complete - Unable to diagnose with current information". I added a comment offering full access to my source code so they could reproduce the problem. No response... I've tried switching to manual signing, but couldn't get that to work either. I don't understand why they asked me to file a bug report but then refuse to follow through when provided with all of the information they requested (and more)!
Replies
1
Boosts
0
Views
886
Activity
Jan ’22