Post not yet marked as solved
Would apple ever make the Apple Watch app available on iPad???
I know the answer is probably: never. But it is possible and I don’t see why they haven’t done it yet.
If they want more money, make it only on iPad Pro. There are some exclusive software features to the iPad Pro.
Post not yet marked as solved
I am attempting to implement a refreshable list on the Apple Watch. It says it is supported in watchOS8. But I am unable to get this to work in the simulator. Is this not supported? Do I need to attempt to implement my own implementation?
thanks
Post not yet marked as solved
My watchOS app crashes when I accept/change the microphone or Bluetooth permission from its companion iOS app. It crashes with the following message in the console.
Message from debugger: Terminated due to signal 9
Please let me know a way to identify and fix the exact problem.
here are my device logs:
Device logs and crash report
Post not yet marked as solved
Hello,
I'm working on an Apple Watch/ iPhone/PC/Mac OS sport applications with different types of connectivity and i'm a bit stuck with the bellow issue.
I'm trying to Resolve a Bonjour that is using NWBrowser on WatchOS 8.6 on Apple Watch SE with LTE and i encounter strange issues:
First i'm setup a NWBrowser :
NWBrowser(for: .bonjourWithTXTRecord(type: "_angry._tcp", domain: nil), using: parameters)
Then, using :
browser?.browseResultsChangedHandler = { [weak self] results, changes in
Everything works well until here
I'm gathering info form name and txt of the service found and ask the client if i want's a connection to service found .
Using NWConnection to connecting to the found enpoint:
NWConnection(to: endpoint, using: params)
Here starts the issue
In the stateUpdateHandler :
connection?.stateUpdateHandler = { state in
switch state {
case .ready:
if let innerEndpoint = connection?.currentPath?.remoteEndpoint,
case .hostPort(let host, let port) = innerEndpoint {
i'm checking the port and host where i'm getting the wrong informations, an IPV6 and a port that don't exists on the target server and a log in the console :
2022-05-22 15:54:33.146148+0300 WatchKit Extension[956:609596] [] nw_endpoint_proxy_copy_synthesized_url Endpoint type is not an address or host, cannot synthesize URL
2022-05-22 15:54:33.319537+0300
WatchKit Extension[956:609596] [] nw_endpoint_proxy_match_exception_to_endpoint Invalid proxy endpoint type 3 for matching
2022-05-22 15:54:33.319604+0300
WatchKit Extension[956:609596] [] nw_endpoint_proxy_match_exception_to_endpoint Invalid proxy endpoint type 3 for matching
2022-05-22 15:54:33.319621+0300
WatchKit Extension[956:609596] [] nw_endpoint_proxy_match_exception_to_endpoint Invalid proxy endpoint type 3 for matching
2022-05-22 15:54:33.319636+0300
WatchKit Extension[956:609596] [] nw_endpoint_proxy_match_exception_to_endpoint Invalid proxy endpoint type 3 for matching
2022-05-22 15:54:33.319651+0300 WatchKit Extension[956:609596] [] nw_endpoint_proxy_match_exception_to_endpoint Invalid proxy endpoint type 3 for matching
2022-05-22 15:54:33.501821+0300 WatchKit Extension[956:609596] [] nw_endpoint_proxy_match_exception_to_endpoint Invalid proxy endpoint type 3 for matching
2022-05-22 15:54:33.501875+0300 WatchKit Extension[956:609596] [] nw_endpoint_proxy_match_exception_to_endpoint Invalid proxy endpoint type 3 for matching
2022-05-22 15:54:33.501892+0300 WatchKit Extension[956:609596] [] nw_endpoint_proxy_match_exception_to_endpoint Invalid proxy endpoint type 3 for matching
2022-05-22 15:54:33.501908+0300 WatchKit Extension[956:609596] [] nw_endpoint_proxy_match_exception_to_endpoint Invalid proxy endpoint type 3 for matching
2022-05-22 15:54:33.501923+0300 WatchKit Extension[956:609596] [] nw_endpoint_proxy_match_exception_to_endpoint Invalid proxy endpoint type 3 for matching
I tried this on an apple watch simulator and a couple of real iPhone devices and everything works well, i'm getting the good port and host and no console errors/warnings.
PS: All this are done during a running HKWorkoutSession to ensure that the app is kept active during different networking operations.
What i'm doing wrong since is working fine on iPhone and WatchOS Simulator?
Thanks ,
Angry Software
Post not yet marked as solved
When I run my watchOS app on a real device, It prints this in the console:
watchOS Extension[313:21609] [BTAudioSession] Activate failed: kParamErr (### BTSmartRoutingDaemon not running)
watchOS Extension[313:21609] [BTAudioSession] Error: kParamErr (### BTSmartRoutingDaemon not running)
What is this BTAudioSession and BTSmartRoutingDaemon? There's nothing available with this name on Apple Developer Documentation neither somewhere on the internet.
Note: I am not using any third party frameworks.
For iOS 14 and watchOS 7.0, I completely recoded and modernized my app using Swift (was Objective C). I am almost done and am most proud of the job, but I have this issue that I need to fix on the Apple Watch app. I am not able to transfer data to the Apple Watch from the iPhone and get the following console messages. (The [***:xxxxxx] are my modification of the console messages.). I am guessing that the first 2 messages are the thing I need to fix and I need to fix this issue before I submit the app.
2020-09-24 08:29:02.873423-0400 WatchApp Extension[***:xxxxxx] [default] lookupMainFuncAddressInMachHeader:71: Invalid Swift entry point data
2020-09-24 08:29:02.874413-0400 WatchApp Extension[***:xxxxxx] [default] lookupMainFuncAddressInMachHeader:77: Swift entry point addres could not be determined.
2020-09-24 08:29:04.001368-0400 WatchApp Extension[***:xxxxxx] [WC] denying activation due to missing delegate
ExtensionDelegate: your iphone is Reachable
ExtensionDelegate: Session activated
2020-09-24 08:29:10.884500-0400 WatchApp Extension[***:xxxxxx] [WC] already in progress or activated
2020-09-24 08:29:15.046379-0400 WatchApp Extension[***:xxxxxx] [WC] WCSession is missing its delegate
2020-09-24 08:29:15.047176-0400 WatchApp Extension[***:xxxxxx] [WC] WCSession is missing its delegate
2020-09-24 08:29:15.047860-0400 WatchApp Extension[***:xxxxxx] [WC] WCSession is missing its delegate
2020-09-24 08:29:15.782075-0400 WatchApp Extension[***:xxxxxx] [WC] already in progress or activated
2020-09-24 08:29:24.390293-0400 WatchApp Extension[***:xxxxxx] [WC] already in progress or activated
2020-09-24 08:31:57.059417-0400 WatchApp Extension[***:xxxxxx] [WC] already in progress or activated
2020-09-24 08:32:00.055282-0400 WatchApp Extension[***:xxxxxx] [WC] already in progress or activated
InterfaceController: your iphone is Reachable
2020-09-24 08:32:00.058230-0400 WatchApp Extension[***:xxxxxx] [WC] already in progress or activated
2020-09-24 08:32:08.427192-0400 WatchApp Extension[***:xxxxxx] [WC] already in progress or activated
2020-09-24 08:32:13.374677-0400 WatchApp Extension[***:xxxxxx] [WC] WCSession is missing its delegate
2020-09-24 08:32:13.375717-0400 WatchApp Extension[***:xxxxxx]] [WC] WCSession is missing its delegate
2020-09-24 08:32:13.376426-0400 WatchApp Extension[***:xxxxxx] [WC] WCSession is missing its delegate
2020-09-24 08:32:51.861915-0400 WatchApp Extension[***:xxxxxx] [WC] already in progress or activated
Post not yet marked as solved
I can report any other OS bug but when I try to submit one for WatchOS it sits and sits saying it is preparing to send it. How do I get around this?
Post not yet marked as solved
iPhone 11 15.3.1
Apple Watch 6 44m 8.6
Xcode 13.4
MacBook Pro (16-inch, 2019) 12.3.1
Console 1.1 (6.0.7)
I found this while I tried to use Logger API to debug the app for Apple Watch, that Mac's Console App does NOT stream Apple Watch, zero, nothing at all, even I check to including "Info" and "Debug" messages. However, streaming iPhone log in Mac's Console App has no issue. If I stream Apple Watch simulator though, the stream log information works. Is this normal?
Post not yet marked as solved
So I recently tried to update my watch. I have an iPhone X iOS 14 and a series 3 watch without cellular. At first it couldn’t download because it didn’t have enough space. I don’t have many apps if any on my watch, so I tried restarting it because I read in another help guide to do that. After I did that, the watch reverted to factory setting and there was no way for me to download the new update because I’m not “connected to the internet” despite having great service and WiFi. The app doesn’t let me use the watch without updating it of course, so now my beloved watch is now an expensive paper weight. Other websites load on my phone so the internet isn’t the problem. I’ve tried resetting everything and resetting the network settings and turning off cellular for the watch app and I can’t access anything on the watch and can’t access settings on the watch app because it only tells me to pair a watch. Please please help.
Post not yet marked as solved
Hello,
I would like to know if it is possible to create a table (WKInterfaceTable) that way, that it is possible to react on swipe gestures on specific elements of this table.
I can create a swipe gesture recognizer and if I swipe on a table element a function in the interface controller can be triggered:
@IBAction func Swipe(_ sender: Any) {
}
But I can not find the information from wich row index the event was send. Like in the function:
override func table(_ table: WKInterfaceTable, didSelectRowAt rowIndex: Int) {}
Is this possible?
Thanks!
Post not yet marked as solved
Hello,
After added 'Watch app for iOS app' template in my project app (it is working fine on iPhone Xcode simulator), I would like to test my original app using "My Mac (Designed for iPad)" simulator but I've got the following error:
The WKRunsIndependentlyOfCompanionApp key must be present in your WatchKit extension's Info.plist, not the WatchKit app's.
It was working before adding the iWatch extension.
So how to fix it ?
I have tried to toggle: 'App can run independently of Companion iPhone' without success
thanks for your help
Post not yet marked as solved
I'm trying to recreate the watchOS App Store layout however there are a few parts I am not how to recreate.
When scrolling an Elliptical Style List the cells will "snap" up if you are scrolling slowly. This effect works well with regular size cells with just a line of text but makes the List scrolling seem a glitchy when the cells are taller.
In the App Store app this "snap" effect is not there. When scrolling there is still a visible "Elliptical Scroll Style" but this effect is missing for the "See All" cells which scroll as if it were a "Plain Style List". How would you create this effect?
Also when using a Plain Style List and you scroll to the very top or bottom you get a "heavy" haptic feedback which is absent on Elliptical Style Lists. The App Store app still has this "heavy" haptic feedback when you get to the top or bottom yet it uses an Elliptical List style (or at least something in between as explained above.)
Post not yet marked as solved
I have a basic List made in SwiftUI. When I scroll with the Digital Crown I get the "light haptics" however when I get to the top or bottom of the list I don't get the more pronounced dent.
Update - If I use a plain list style then I get the haptics as expected. However it should work with the elliptical style as this is used in the system.
The console outputs the following
2022-05-19 23:32:53.782614+0200 WatchApp WatchKit Extension[326:41020] [default] Error: Error Domain=NSOSStatusErrorDomain Code=-536870187 "(null)"
2022-05-19 23:32:53.783181+0200 WatchApp WatchKit Extension[326:41020] [detents] could not play detent NO, 2, Error Domain=NSOSStatusErrorDomain Code=-536870187 "(null)", (
{
Gain = "0.01799999922513962";
OutputType = 0;
SlotIndex = 4;
},
{
Gain = "0.4900000095367432";
OutputType = 1;
SlotIndex = 5;
}
)
Here is my code
struct ContentView: View {
var body: some View {
List {
ForEach(0..<100) { i in
NavigationLink(destination: FeedView()) {
Text("Hello")
}
}
}.navigationTitle("Title")
}
}
Post not yet marked as solved
Is it possible to integrate a simple custom Bluetooth gaming controller such as a Arduino built joystick with my mini watchOS game I’m creating?
Post not yet marked as solved
I have a apple watch series 1 on watch os 6, and an iPhone 11 on ios 13
I was planning to upgrade my iPhone ios 14 but was fearing if my apple watch wont pair as it is now discontinued for support and will stay on watch os 6
please help
Post not yet marked as solved
Can we access HRV data in real time on watchos ?
Post not yet marked as solved
I'm building a standalone WatchOS app. I have tried implementing the .onDelete modifier to easily delete items in a list, and I get no warnings or errors in XCode. But swiping, both in the simulator and Live Preview, does not do anything.
This is tested both in XCode 11.6 with WatchOS 6.2, and XCode 12.0 beta 2 with WatchOS 7.
Am I missing something here?
Minimal example:
struct ContentView: View {
@State var names = ["Alpha", "Bravo", "Charlie", "Delta"]
var body: some View {
ScrollView {
ForEach(names, id: \.self) { name in
Button(action: {}) {
Text(name)
}
}.onDelete(perform: deleteItems)
}
}
private func deleteItems(at offsets: IndexSet) {
names.remove(atOffsets: offsets)
}
}
Goal: When user (patient) starts performing any test cycle on watchOS app (test can be anything user can interact with watchOS app). At the same time (Simultaneously) I wanted to record the audio in the background on the watchOS app. As soon as the test cycle is completed. I want to stop the audio recording & then sync the audio data with the backend.
I know we can do the audio recording on watchOS app using presentAudioRecorderController (using Voice memo) but it is not allowed to perform the test cycle at the same time.
Any help can be appreciated. Thanks in advance
Post not yet marked as solved
I used the function below.
The IOS feature works but does not work on WatchOS.
does not print an error but does not download data. it will not connect to the database either.
can you please help me with the modification?
func queryDatabaseDrive(){
let query = CKQuery(recordType: "Drive", predicate: NSPredicate(value: true))
database.perform(query,inZoneWith: nil){(records, error) in
guard let records = records else {
return
}
test = records
self.tableRefresh()
print("test (test.count)")
}
}
Post not yet marked as solved
Hello,
I was trying out the XCUI testing for watch OS with the new Xcode 12.5. However, I could not find any way to swipe left or right on a SwiftUI TabView. I tried swipeLeft() directly on the XCUIApplication, on the windows, on the TabView, but couldn't make it work. I also tried with the .fast option, but no difference.
My question is, is the swiping supported for watchOs on XCUI Test yet?
Thanks!