Follow-up on my previous comment (1)
I have added an available(iOS 17.0) condition to the progress observer. In order to validate whether the existing implementation with session:didFinishFileTransfer:error: still works for older iOS versions, I created a new Simulator pair in Xcode 15.4:
iPhone 11 with iOS 15.5
Watch Series 4 with watchOS 9.4
Although the Debug Console shows all expected NSLog() from the iPhone part, where file transfer works flawlessly via session:didFinishFileTransfer:error:, the files are never received on the Watch Simulator. Method session:didReceiveFile: of WCSessionDelegate is never called, despite the fact that the iOS part successfully called session:didFinishFileTransfer:error:. ❌
Even after removing the whole fix with the progress observer for iOS 17.5/watchOS 10.5, method session:didReceiveFile: of WCSessionDelegate is never called on the Watch Simulator. ❌
On a real Watch Series 6 with watchOS 10.6.1, method session:didReceiveFile: is called successfully. ✅
I'm extremely puzzled now. I hope this is an Xcode Simulator issue.
Next step: get an old iPhone 7 (iOS 15.8.3) and Watch Series 1 up-and-running, to validate on device...
@Apple, please clarify what's going on. And explain why your developers have to continually experience deteriorating quality of your tools and software.
(1) Seriously Apple, why is it not possible to edit an existing post within an hour?
Topic:
App & System Services
SubTopic:
General
Tags: