Post

Replies

Boosts

Views

Activity

WCSession transferFile Not Working in Simulator
We are attempting to transfer a file from watch to phone in the simulator using WCSession. Same code was working prior to latest xcode update. Any ideas why this has stopped working in the simulator after the xcode update? Configuration and approach is below...Configuration:Mojave 10.14.6, Xcode 11.3.1iOS target sdk 13.2, watchOS target sdk 6.1iOS Simulator 13.2.2, watchOS simulator 6.1.1iPhone 11 Pro Max, Apple Watch Series 5Approach:Establish WCSession from the watch app to transfer a file from the watch to the phone, session is supported and reachable.On the watch simulator:1. Call the transferFile method of WCSession without error. Invoked from the main thread.2. didFinish fileTransfer delegate invoked (background thread), error is nilOn the phone simulator:1. didReceive file delegate is never invoked - file is not received by the phoneSupplemental info:1. sendMessage of WCSession works successfully - phone receives message2. Used system console to monitor both phone and app, no suspicious errors or faults3. Fully uninstalled Xcode and Simulator, cleaned all detritus directories/files, restart MAC, reinstalled, same behavior4. Same code executes successfully on "real" iOS and watchOS devices5. Checked antivirus software, no quarantines or events interfering
11
0
3.8k
Jan ’20